EMPIRICAL EVALUATION OF A NEW COUPLING METRIC: COMBINING STRUCTURAL AND SEMANTIC COUPLING

Mamdouh Alenezi and Kenneth Magel

Keywords

Coupling, metrics, impact analysis, fault proneness, maintainability

Abstract

Coupling, a measure of the interdependence among software entities, is an important property for which many software metrics have been defined. It is widely agreed that the extent of coupling in an object-oriented system has implications for its external quality. Structural and semantic relations between classes can be measured directly from static source code. However, both have limitations. In order to understand which aspects of coupling affect quality or other external attributes of software, this paper presents a new coupling metric for object-oriented systems that analyze structural and semantic relationships between methods and classes. The paper investigates the use of the new proposed coupling metric during change impact analysis, predicting fault-prone and maintainable classes. By comparing the new metric to other coupling metrics, we show that the new metric is a better predictor for classes impacted by changes. The new metric also shows good promise in predicting both external qualities (fault proneness and maintainability).

Important Links:

Go Back