JOURNAL ARTICLE

Ensemble learning based software defect prediction

Xin DongYan LiangShoichiro MiyamotoShingo Yamaguchi

Year: 2023 Journal:   Journal of Engineering Research Vol: 11 (4)Pages: 377-391   Publisher: Elsevier BV

Abstract

Currently, the cost to detect and solve software defects is a heavy burden on software projects. So, it is significant to predict software defects at the earlier stages of the software development lifecycle. In this study, seven commonly-used machine learning and deep learning algorithms were studied and the performance of defect classification on 4 representative public datasets from NASA and the PROMISE repository was demonstrated. Furthermore, three classical ensemble learning methods (bagging, boosting, and stacking) were used to improve the prediction performance. Six metrics, including accuracy, precision, f1-score, recall, the area under the receiver operating characteristic curve (AUC), and G-Mean were utilized to evaluate the performance. It was noted that ensemble learning exceeded all the other seven algorithms. Ensemble learning achieved the highest AUC of 0.99, the highest G-Mean of 0.96, and an average F1-score of 0.97. Under a time-sensitive scenario, the boosting method was a good choice as it spent less runtime and had a similar performance to the other two ensemble learning methods in most cases.

Keywords:
Boosting (machine learning) Ensemble learning Machine learning Artificial intelligence Computer science Gradient boosting Receiver operating characteristic AdaBoost Software Software bug Ensemble forecasting Random forest Learning curve Deep learning Precision and recall Support vector machine

Metrics

26
Cited By
16.08
FWCI (Field Weighted Citation Impact)
44
Refs
0.99
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Imbalanced Data Classification Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

© 2026 ScienceGate Book Chapters — All rights reserved.