Empirical validation of object-oriented metrics on open source software for fault prediction

TitleEmpirical validation of object-oriented metrics on open source software for fault prediction
Publication TypeJournal Article
Year of Publication2005
AuthorsGyimothy, T, Ferenc, R, Siket, I
Secondary TitleIEEE Transactions on Software Engineering
Volume31
Number10
Pagination897-910
Accession NumberWOS:000233015300008
Keywordsbugs, bugzilla, cbo, defects, dit, fault-prone modules, faults, lcom, lcomn, loc, metrics, mozilla, noc, object-oriented, rfc, source code, wmc
Abstract

Open source software systems are becoming increasingly important these days. Many companies are investing in open source projects and lots of them are also using such software in their own work. But, because open source software is often developed with a different management style than the industrial ones, the quality and reliability of the code needs to be studied. Hence, the characteristics of the source code of these projects need to be measured to obtain more information about it. This paper describes how we calculated the object-oriented metrics given by Chidamber and Kemerer to illustrate how fault-proneness detection of the source code of the open source Web and e-mail suite called Mozilla can be carried out. We checked the values obtained against the number of bugs found in its bug database - called Bugzilla - using regression and machine learning methods to validate the usefulness of these metrics for fault-proneness prediction. We also compared the metrics of several versions of Mozilla to see how the predicted fault-proneness of the software system changed during its development cycle.

Notes

"This paper describes how we calculated the object-oriented metrics given by Chidamber and Kemerer to illustrate how fault-proneness detection of the source code of the open source Web and e-mail suite called Mozilla can be carried out. We checked the values obtained against the number of bugs found in its bug database - called Bugzilla - using regression and machine learning methods to validate the usefulness of these metrics for fault-proneness prediction. We also compared the metrics of several versions of Mozilla to see how the predicted fault-proneness of the software system changed during its development cycle."
metrics,
wmc weighted methods per class,
dit depth of inheritance,
rfc response for a class,
noc number of children,
cbo coupling between object classes,
cohesion,
lines of code, loc, sloc
chidamber and kemerer metrics

URLhttp://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.115.8372&rep=rep1&type=pdf
Full Text
AttachmentSize
PDF icon Gyimothy.pdf1.59 MB