Title :
New Conceptual Coupling and Cohesion Metrics for Object-Oriented Systems
Author :
Újházi, Béla ; Ferenc, Rudolf ; Poshyvanyk, Denys ; Gyimóthy, Tibor
Author_Institution :
Dept. of Software Eng., Univ. of Szeged, Szeged, Hungary
Abstract :
The paper presents two novel conceptual metrics for measuring coupling and cohesion in software systems. Our first metric, Conceptual Coupling between Object classes (CCBO), is based on the well-known CBO coupling metric, while the other metric, Conceptual Lack of Cohesion on Methods (CLCOM5), is based on the LCOM5 cohesion metric. One advantage of the proposed conceptual metrics is that they can be computed in a simpler (and in many cases, programming language independent) way as compared to some of the structural metrics. We empirically studied CCBO and CLCOM5 for predicting fault-proneness of classes in a large open source system and compared these metrics with a host of existing structural and conceptual metrics for the same task. As the result, we found that the proposed conceptual metrics, when used in conjunction, can predict bugs nearly as precisely as the 58 structural metrics available in the Columbus source code quality framework and can be effectively combined with these metrics to improve bug prediction.
Keywords :
object-oriented methods; program debugging; public domain software; software fault tolerance; software metrics; Columbus source code quality framework; bug prediction; cohesion metrices; conceptual coupling; fault proneness; object oriented system; open source system; programming language; software metrics system; Classification algorithms; Couplings; Large scale integration; Software measurement; Software systems;
Conference_Titel :
Source Code Analysis and Manipulation (SCAM), 2010 10th IEEE Working Conference on
Conference_Location :
Timisoara
Print_ISBN :
978-1-4244-8655-7
DOI :
10.1109/SCAM.2010.14