2021 · 19 citations · 10 references
ComputingComputer EngineeringComputer ScienceMachine LearningPredictive AnalyticsSoftware EngineeringChange MetricsDefect DetectionSoftware EvolutionSoftware MaintenanceSoftware MetricsSoftware TestingBug TrackingChange Request MetricsDefect PredictionOpen Source Software MaintenanceOpen-source Software DevelopmentRandom Forest ClassificationSoftware Evolution MetricsSoftware Fault Prediction
Identifying defective software components as early as their commit helps to reduce significant software development and maintenance costs. In recent years, several studies propose to use just-in-time (JIT) defect prediction techniques to identify changes that could introduce defects at check-in time. To predict defect introducing changes, JIT defect prediction approaches use change metrics collected from software repositories. These change metrics, however, capture code and code change related information. Information related to the change requests (e.g., clarity of change request and difficulty to implement the change) that could determine the change’s proneness to introducing new defects are not studied. In this study, we propose to augment the publicly available change metrics dataset with six change request- based metrics collected from issue tracking systems. To build the prediction model, we used five machine learning algorithms: AdaBoost, XGBoost, Deep Neural Network, Random Forest and Logistic Regression. The proposed approach is evaluated using a dataset collected from four open source software systems, i.e., Eclipse platform, Eclipse JDT, Bugzilla and Mozilla. The results show that the augmented dataset improves the performance of JIT defect prediction in 19 out of 20 cases. F1-score of JIT defect prediction in the four systems is improved by an average of 4.8%, 3.4%, 1.7%, 1.1% and 1.1% while using AdaBoost, XGBoost, Deep Neural Network, Random Forest and Logistic Regression, respectively.
10
SMOTE: Synthetic Minority Over-sampling Technique
Nitesh V. Chawla, Kevin W. Bowyer, Lawrence Hall et al. · Journal of Artificial Intelligence Research · 2002 · 31.2K citations · Full text
Deep Learning for Just-in-Time Defect Prediction
Xinli Yang, David Lo, Xin Xia et al. · 2015 · 350 citations
Deep learning based software defect prediction
Lei Qiao, Xuesong Li, Qasim Umer et al. · Neurocomputing · 2019 · 210 citations