Reducing Features to Improve Code Change-Based Bug Prediction 论文

2012IEEE Transactions on Software Engineering引用 247
Software Engineering ResearchSoftware Reliability and Analysis ResearchSoftware Testing and Debugging Techniques

详细信息

发表期刊/会议
IEEE Transactions on Software Engineering
发表日期
2012-06-27
发表年份
2012

关键词

Software Engineering ResearchSoftware Reliability and Analysis ResearchSoftware Testing and Debugging Techniques

摘要

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.

相关技术

暂无数据

相关事件

暂无数据

相关文章

暂无数据