Title :
Can Lexicon Bad Smells Improve Fault Prediction?
Author :
Abebe, Surafel Lemma ; Arnaoudova, Venera ; Tonella, Paolo ; Antoniol, Giuliano ; Guéhéneuc, Yann-Gaël
Author_Institution :
Fondazione Bruno Kessler (FBK), Trento, Italy
Abstract :
In software development, early identification of fault-prone classes can save a considerable amount of resources. In the literature, source code structural metrics have been widely investigated as one of the factors that can be used to identify faulty classes. Structural metrics measure code complexity, one aspect of the source code quality. Complexity might affect program understanding and hence increase the likelihood of inserting errors in a class. Besides the structural metrics, we believe that the quality of the identifiers used in the code may also affect program understanding and thus increase the likelihood of error insertion. In this study, we measure the quality of identifiers using the number of Lexicon Bad Smells (LBS) they contain. We investigate whether using LBS in addition to structural metrics improves fault prediction. To conduct the investigation, we assess the prediction capability of a model while using i) only structural metrics, and ii) structural metrics and LBS. The results on three open source systems, ArgoUML, Rhino, and Eclipse, indicate that there is an improvement in the majority of the cases.
Keywords :
Unified Modeling Language; computational complexity; public domain software; software fault tolerance; software metrics; ArgoUML; Eclipse; LBS; Rhino; code complexity; error insertion likelihood; fault prediction; fault-prone classes; faulty classes; lexicon bad smells; open source systems; software development; source code quality; source code structural metrics; structural metrics; Computational modeling; Fault diagnosis; Logistics; Measurement; Predictive models; Principal component analysis; Support vector machines; Fault prediction; lexicon bad smells; program understanding; structural metrics;
Conference_Titel :
Reverse Engineering (WCRE), 2012 19th Working Conference on
Conference_Location :
Kingston, ON
Print_ISBN :
978-1-4673-4536-1
DOI :
10.1109/WCRE.2012.33