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.
|Number of pages||8|
|Publication status||Published - 2002|
|Event||2002 IEEE International Conference on Software Maintenance - Montreal, Canada|
Duration: Oct 3 2002 → Oct 6 2002
|Other||2002 IEEE International Conference on Software Maintenance|
|Period||10/3/02 → 10/6/02|
All Science Journal Classification (ASJC) codes