Defect Prediction Using Stylistic Metrics
Authors:
Preprint
Abstract
Defect prediction is one of the most popular research topics due to its potential to minimize software quality assurance efforts. Existing approaches have examined defect prediction from various perspectives such as complexity and developer metrics. However, none of these consider programming style for defect prediction. This paper aims at analyzing the impact of stylistic metrics on both within-project and crossproject defect prediction. For prediction, 4 widely used machine learning algorithms namely Naive Bayes, Support Vector Machine, Decision Tree and Logistic Regression are used. The experiment is conducted on 14 releases of 5 popular, open source projects. F1, Precision and Recall are inspected to evaluate the results. Results reveal that stylistic metrics are a good predictor of defects.Keywords
All Related Versions
This publication has 4 references indexed in Scilit:
- The Impact of Correlated Metrics on the Interpretation of Defect ModelsIEEE Transactions on Software Engineering, 2019
- Progress on approaches to software defect predictionIET Software, 2018
- A Comprehensive Investigation of the Role of Imbalanced Learning for Software Defect PredictionIEEE Transactions on Software Engineering, 2018
- An investigation on the feasibility of cross-project defect predictionAutomated Software Engineering, 2011