A novel approach to measuring class cohesion based on dependence analysis

Zhenqiang Chen, Yuming Zhou, Baowen Xu, Jianjun Zhao, Hongji Yang

Research output: Contribution to conferencePaperpeer-review

51 Citations (Scopus)

Abstract

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 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.

Original languageEnglish
Pages377-384
Number of pages8
Publication statusPublished - 2002
Externally publishedYes
Event2002 IEEE International Conference on Software Maintenance - Montreal, Canada
Duration: Oct 3 2002Oct 6 2002

Other

Other2002 IEEE International Conference on Software Maintenance
CountryCanada
CityMontreal
Period10/3/0210/6/02

All Science Journal Classification (ASJC) codes

  • Software

Cite this