ABSTRACT
We define and apply two new measures of object-oriented class cohesion to a reasonably large C++ system. We find that most of the classes are quite cohesive, but that the classes that are reused more frequently via inheritance exhibit clearly lower cohesion.
- 1.J. Bieman. Deriving measures of software reuse in object-oriented systems. Proc. BCS-FACS Workshop on Formal Aspects of Measurement, pp. 79-82. Springer-Verlag, 1992. Google ScholarDigital Library
- 2.J. Bieman and L. Ott. Me~uring functional cohesion. IEEE Trans. Software Engineering, 20(8):644- 657, Aug. 1994. Google ScholarDigital Library
- 3.S. Chidamber and C. Kemerer. A metrics suite for object oriented design. IEEE Trans. Software Engineerina, 20(6):476-493, June 1994. Google ScholarDigital Library
- 4.P. Devanbu. G ENO A a customizable, language- and front-end independent code analyzer. Proc. iUSE- I4, pp. 307-317, 1992. Google ScholarDigital Library
- 5.N. Fenton. Software Metrics - A Rigorous Approach. Chapman and Hall, London, 1991. Google ScholarDigital Library
- 6.N. Fenton, S.L. Pfleeger, and R. Glass. Science and substance: a challenge to software engineers. IEEE Software, 11(4):86-95, July 1994. Google ScholarDigital Library
- 7.E. Yourdon and L. Constantine. Structured Design. Prentice-Hall, Englewood Cliffs~ NJ, 1979.Google Scholar
Index Terms
- Cohesion and reuse in an object-oriented system
Recommendations
Measuring the Discriminative Power of Object-Oriented Class Cohesion Metrics
Several object-oriented cohesion metrics have been proposed in the literature. These metrics aim to measure the relationship between class members, namely, methods and attributes. Different metrics use different models to represent the connectivity ...
Dynamic cohesion measures for object-oriented software
Most of the object-oriented cohesion metrics proposed in the literature define static cohesion at class level. Measurement of object-level dynamic cohesion however gives better insight into the behavioural aspects of the system. In this paper, dynamic ...
A Precise Method-Method Interaction-Based Cohesion Metric for Object-Oriented Classes
The building of highly cohesive classes is an important objective in object-oriented design. Class cohesion refers to the relatedness of the class members, and it indicates one important aspect of the class design quality. A meaningful class cohesion ...
Comments