Rule Definition
Cohesiveness of Methods within a Class is desirable, since it promotes encapsulation. Low cohesion increases complexity, thereby increasing the likelihood of errors during the development process.
Remediation
Lack of cohesion implies Classes should probably be split into two or more sub/classes.
Reference
A Metrics Suite for Object Oriented Design, Chidamber, S.R. and C.F. Kemerer, IEEE Transactions on Software Engineering, 1994
Comparison of Various Lacks of Cohesion Metrics, Taranjeet Kaur and Rupinder Kaur, International Journal of Engineering and Advanced Technology (IJEAT), February 2013
Related Technologies
Technical Criterion
Programming Practices - Modularity and OO Encapsulation Conformity
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.