Title :
A Large-Scale Empirical Comparison of Object-Oriented Cohesion Metrics
Author :
Barker, Richard ; Tempero, Ewan
Author_Institution :
Univ. of Auckland, Auckland
Abstract :
Cohesion is an attribute of software design quality for which many metrics have been proposed. The different proposals have been made largely on theoretical grounds, with little evidence of actual use. This makes it difficult to provide advice to software developers as to how to interpret the measurements any given metric produces. This paper presents the first large-scale empirical study of object- oriented cohesion metrics. We apply 16 metrics from the literature, as well as a number of variations, to 92 open source and industry Java applications ranging in size from a few classes to several thousand, over 100,000 classes in all. Our results show that by and large applications have similar distributions of measurements according to any given metric, but that the distributions can be quite different across metrics. This provides useful information for the ongoing empirical validation efforts for cohesion metrics.
Keywords :
object-oriented programming; software metrics; software quality; large-scale empirical comparison; object-oriented cohesion metrics; software design quality; Application software; Computer science; Fault detection; Java; Large-scale systems; Object oriented modeling; Open source software; Proposals; Software design; Software engineering;
Conference_Titel :
Software Engineering Conference, 2007. APSEC 2007. 14th Asia-Pacific
Conference_Location :
Aichi
Print_ISBN :
0-7695-3057-5
DOI :
10.1109/ASPEC.2007.49