Title :
Empirical study of fault prediction for open-source systems using the Chidamber and Kemerer metrics
Author_Institution :
Software Eng. Dept., Jordan Univ. of Sci. & Technol., Irbid, Jordan
Abstract :
Software testers are usually provoked with projects that have faults. Predicting a class´s fault-proneness is vital for minimising cost and improving the effectiveness of the software testing. Previous research on software metrics has shown strong relationships between software metrics and faults in object-oriented systems using a binary variable. However, these models do not consider the history of faults in classes. In this work, a dependent variable is proposed that uses fault history to rate classes into four categories (none, low risk, medium risk and high risk) and to improve the predictive capability of fault models. The study is conducted on many releases of four open-source systems. The study tests the statistical differences in seven machine learning algorithms to find whether the proposed variable can be used to build better prediction models. The performance of the classifiers using the four categories is significantly better than the binary variable. In addition, the results show improvements on the reliability of the prediction models as the software matures. Therefore the fault history improves the prediction of fault-proneness of classes in open-source systems.
Keywords :
learning (artificial intelligence); object-oriented methods; program testing; public domain software; software metrics; Chidamber metrics; Kemerer metrics; binary variable; fault prediction; machine learning algorithms; object-oriented systems; open-source systems; software metrics; software testers; software testing; statistical differences;
Journal_Title :
Software, IET
DOI :
10.1049/iet-sen.2013.0008