We use cookies to improve your experience with our site.
Zhen-Qiang Chen, Bao-Wen Xu, Yu-Ming Zhou. Measuring Class Cohesion Based on Dependence Analysis[J]. Journal of Computer Science and Technology, 2004, 19(6).
Citation: Zhen-Qiang Chen, Bao-Wen Xu, Yu-Ming Zhou. Measuring Class Cohesion Based on Dependence Analysis[J]. Journal of Computer Science and Technology, 2004, 19(6).

Measuring Class Cohesion Based on Dependence Analysis

  • Classes are the basic modules in object-oriented (OO) software, which consist of attributes and methods. Thus, in OO environment, the cohesion is mainly about the tightness of 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 the paper presents methods to compute these dependencies. Based on these, the paper proposes a method to measure the class cohesion, which satisfies the properties that a good measurement should have. The approach overcomes the limitations of previous class cohesion measures, which consider only one or two of the three relationships in a class.
  • loading

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return