Is our code Cohesive
LCOM(Lack of cohesion in methods) measures cohesion of a class. It’s the sum of set of methods not shared via sharing fields and the formula is Consider a class with private fields PF1 , PF2 , PF3 and methods M1() , M2 () , M3 () and the dependenc...
May 20, 20221 min read54