A Novel Approach To Measuring Class Cohesion Based On Dependence Analysis

Zq Chen,Ym Zhou,Bw Xu,Jj Zhao,Hj Yang
DOI: https://doi.org/10.1109/ICSM.2002.1167794
2002-01-01
Abstract:Classes are the basic modules in object-oriented (00) software, which consist of attributes and methods. Thus, in 00 environment, the cohesion is mainly about how tightly the attributes and methods of classes. This paper discusses the relationships between attributes and attributes, attributes and methods, methods and methods of a class based on dependence analysis. Then we discuss the properties of these relationships. According to these properties, this paper proposes a novel approach to measuring the class cohesion. Our approach overcomes the limitations of previous class cohesion measures, which consider only one or two of the three relationships in a class. We also prove that this measure satisfies the properties that a good measurement should have.
What problem does this paper attempt to address?