Title
The interpretation and utility of three cohesion metrics for object-oriented design
Abstract
The concept of cohesion in a class has been the subject of various recent empirical studies and has been measured using many different metrics. In the structured programming paradigm, the software engineering community has adopted an informal yet meaningful and understandable definition of cohesion based on the work of Yourdon and Constantine. The object-oriented (OO) paradigm has formalised various cohesion measures, but the argument over the most meaningful of those metrics continues to be debated. Yet achieving highly cohesive software is fundamental to its comprehension and thus its maintainability. In this article we subject two object-oriented cohesion metrics, CAMC and NHD, to a rigorous mathematical analysis in order to better understand and interpret them. This analysis enables us to offer substantial arguments for preferring the NHD metric to CAMC as a measure of cohesion. Furthermore, we provide a complete understanding of the behaviour of these metrics, enabling us to attach a meaning to the values calculated by the CAMC and NHD metrics. In addition, we introduce a variant of the NHD metric and demonstrate that it has several advantages over CAMC and NHD. While it may be true that a generally accepted formal and informal definition of cohesion continues to elude the OO software engineering community, there seems considerable value in being able to compare, contrast, and interpret metrics which attempt to measure the same features of software.
Year
DOI
Venue
2006
10.1145/1131421.1131422
ACM Trans. Softw. Eng. Methodol.
Keywords
DocType
Volume
object-oriented design,structured programming paradigm,different metrics,rigorous mathematical analysis,informal definition,cohesive software,software engineering community,object-oriented cohesion metrics,oo software engineering community,nhd metrics,cohesion,various cohesion measure,object oriented design,empirical study,mathematical analysis,object oriented,programming paradigm,software engineering
Journal
15
Issue
ISSN
Citations 
2
1049-331X
58
PageRank 
References 
Authors
1.62
19
3
Name
Order
Citations
PageRank
Steve Counsell11732117.90
Stephen Swift242731.32
Jason Crampton3107768.52