An in-depth study of the potentially confounding effect of class size in fault prediction

An in-depth study of the potentially confounding effect of class size in fault prediction
复制标题

DOI:
10.1145/2556777
复制
发表时间:
2014-02
期刊:
ACM Trans. Softw. Eng. Methodol.
影响因子:
--
通讯作者:
Yuming Zhou;Baowen Xu;Hareton K. N. Leung;Lin Chen
Yuming Zhou;Baowen Xu;Hareton K. N. Leung;Lin Chen
中科院分区:
其他
文献类型:
--
作者:
Yuming Zhou;Baowen Xu;Hareton K. N. Leung;Lin Chen

文献摘要

被引文献

相似文献

Background. The extent of the potentially confounding effect of class size in the fault prediction context is not clear, nor is the method to remove the potentially confounding effect, or the influence of this removal on the performance of fault-proneness prediction models. Objective. We aim to provide an in-depth understanding of the effect of class size on the true associations between object-oriented metrics and fault-proneness. Method. We first employ statistical methods to examine the extent of the potentially confounding effect of class size in the fault prediction context. After that, we propose a linear regression-based method to remove the potentially confounding effect. Finally, we empirically investigate whether this removal could improve the prediction performance of fault-proneness prediction models. Results. Based on open-source software systems, we found: (a) the confounding effect of class size on the associations between object-oriented metrics and fault-proneness in general exists; (b) the proposed linear regression-based method can effectively remove the confounding effect; and (c) after removing the confounding effect, the prediction performance of fault prediction models with respect to both ranking and classification can in general be significantly improved. Conclusion. We should remove the confounding effect of class size when building fault prediction models.