The confounding effect of class size on the validity of object-oriented metrics
K El Emam, S Benlarbi, N Goel… - IEEE Transactions on …, 2001 - ieeexplore.ieee.org
IEEE Transactions on Software Engineering, 2001•ieeexplore.ieee.org
Much effort has been devoted to the development and empirical validation of object-oriented
metrics. The empirical validations performed thus far would suggest that a core set of
validated metrics is close to being identified. However, none of these studies allow for the
potentially confounding effect of class size. We demonstrate a strong size confounding effect
and question the results of previous object-oriented metrics validation studies. We first
investigated whether there is a confounding effect of class size in validation studies of object …
metrics. The empirical validations performed thus far would suggest that a core set of
validated metrics is close to being identified. However, none of these studies allow for the
potentially confounding effect of class size. We demonstrate a strong size confounding effect
and question the results of previous object-oriented metrics validation studies. We first
investigated whether there is a confounding effect of class size in validation studies of object …
Much effort has been devoted to the development and empirical validation of object-oriented metrics. The empirical validations performed thus far would suggest that a core set of validated metrics is close to being identified. However, none of these studies allow for the potentially confounding effect of class size. We demonstrate a strong size confounding effect and question the results of previous object-oriented metrics validation studies. We first investigated whether there is a confounding effect of class size in validation studies of object-oriented metrics and show that, based on previous work, there is reason to believe that such an effect exists. We then describe a detailed empirical methodology for identifying those effects. Finally, we perform a study on a large C++ telecommunications framework to examine if size is really a confounder. This study considered the Chidamber and Kemerer metrics and a subset of the Lorenz and Kidd metrics. The dependent variable was the incidence of a fault attributable to a field failure (fault-proneness of a class). Our findings indicate that, before controlling for size, the results are very similar to previous studies. The metrics that are expected to be validated are indeed associated with fault-proneness.
ieeexplore.ieee.org