A Framework to Measure Class Cohesion

Xu Baowen,Chen Zhenqiang,Zhou Yuming
DOI: https://doi.org/10.1007/s11767-003-0090-y
2003-01-01
Abstract:Classes are the basic modules in Object-Oriented (OO) software, which consist ofattributes and methods. Thus, in OO environment, the cohesion is mainly about how tightly theattributes and methods of classes cohere with each other. This letter discusses the relationshipsbetween attributes and attributes, attributes and methods, methods and methods of a class,and the properties of these relationships. Based on these properties, the letter proposes a newframework to measure the cohesion of a class. The approach overcomes the limitations of previousclass cohesion measures, which consider only one or two of the three relationships in a class.
What problem does this paper attempt to address?