The Community for Technology Leaders
Green Image
Issue No. 04 - April (2013 vol. 39)
ISSN: 0098-5589
pp: 552-569
S. Shivaji , Dept. of Comput. Sci., Univ. of California, Santa Cruz, Santa Cruz, CA, USA
E. James Whitehead , Dept. of Comput. Sci., Univ. of California, Santa Cruz, Santa Cruz, CA, USA
R. Akella , Technol. & Inf. Manage. Program, Univ. of California, Santa Cruz, Santa Cruz, CA, USA
Sunghun Kim , Dept. of Comput. Sci. & Eng., Hong Kong Univ. of Sci. & Technol., Kowloon, China
Machine learning classifiers have recently emerged as a way to predict the introduction of bugs in changes made to source code files. The classifier is first trained on software history, and then used to predict if an impending change causes a bug. Drawbacks of existing classifier-based bug prediction techniques are insufficient performance for practical use and slow prediction times due to a large number of machine learned features. This paper investigates multiple feature selection techniques that are generally applicable to classification-based bug prediction methods. The techniques discard less important features until optimal classification performance is reached. The total number of features used for training is substantially reduced, often to less than 10 percent of the original. The performance of Naive Bayes and Support Vector Machine (SVM) classifiers when using this technique is characterized on 11 software projects. Naive Bayes using feature selection provides significant improvement in buggy F-measure (21 percent improvement) over prior change classification bug prediction results (by the second and fourth authors [28]). The SVM's improvement in buggy F-measure is 9 percent. Interestingly, an analysis of performance for varying numbers of features shows that strong performance is achieved at even 1 percent of the original number of features.
support vector machines, belief networks, learning (artificial intelligence), pattern classification, program debugging, buggy F-measure, code change-based bug prediction, machine learning classifier, source code file, software history, classifier-based bug prediction, machine learned feature reduction, feature selection technique, classification performance, naive Bayes classifier, support vector machine, SVM classifier, software project, Software, Support vector machines, History, Machine learning, Feature extraction, Measurement, Computer bugs, feature selection, Reliability, bug prediction, machine learning

Sunghun Kim, E. J. Whitehead, R. Akella and S. Shivaji, "Reducing Features to Improve Code Change-Based Bug Prediction," in IEEE Transactions on Software Engineering, vol. 39, no. , pp. 552-569, 2013.
167 ms
(Ver 3.3 (11022016))