Class Balancing Approaches to Improve for Software Defect Prediction Estimations: A Comparative Study

Addressing software defects is an ongoing challenge in software development, and effectively managing and resolving defects is vital for ensuring software reliability, which is in turn a crucial quality attribute of any software system. Software defect prediction supported by machine learning (ML) methods offers a promising approach to address the problem of software defects. However, one common challenge in ML-based software defect prediction is the issue of data imbalance. In this paper, we present an empirical study aimed at assessing the impact of various class balancing methods on the issue of class imbalance in software defect prediction. We conducted a set of experiments that involved nine distinct class balancing methods across seven different classifiers. We used datasets from the PROMISE repository, provided by the NASA software project. We also employed various metrics including AUC, Accuracy, Precision, Recall, and the F1 measure to gauge the effectiveness of the different class balancing methods. Furthermore, we applied hypothesis testing to determine any significant differences in metric results between datasets with balanced and unbalanced classes. Based on our findings, we conclude that balancing the classes in software defect prediction yields significant improvements in overall performance. Therefore, we strongly advocate for the inclusion of class balancing as a preprocessing step in this domain.

Authors

Institutions

Publication Details

Journal
Programming and Computer Software
Published
2024-12-01
DOI
https://doi.org/10.1134/s036176882470066x
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Class Balancing Approaches to Improve for Software Defect Prediction Estimations: A Comparative Study

Juan Carlos Pérez-Arriaga, Xavier Limón, Ángel J. Sánchez-García, Saúl Domínguez-Isidro et al.
Programming and Computer Software
Software Engineering Research
article

Class Balancing Approaches to Improve for Software Defect Prediction Estimations: A Comparative Study

Juan Carlos Pérez-Arriaga, Xavier Limón, Ángel J. Sánchez-García, Saúl Domínguez-Isidro, Dan Javier Olvera-Villeda
article en

Abstract

Addressing software defects is an ongoing challenge in software development, and effectively managing and resolving defects is vital for ensuring software reliability, which is in turn a crucial quality attribute of any software system. Software defect prediction supported by machine learning (ML) methods offers a promising approach to address the problem of software defects. However, one common challenge in ML-based software defect prediction is the issue of data imbalance. In this paper, we present an empirical study aimed at assessing the impact of various class balancing methods on the issue of class imbalance in software defect prediction. We conducted a set of experiments that involved nine distinct class balancing methods across seven different classifiers. We used datasets from the PROMISE repository, provided by the NASA software project. We also employed various metrics including AUC, Accuracy, Precision, Recall, and the F1 measure to gauge the effectiveness of the different class balancing methods. Furthermore, we applied hypothesis testing to determine any significant differences in metric results between datasets with balanced and unbalanced classes. Based on our findings, we conclude that balancing the classes in software defect prediction yields significant improvements in overall performance. Therefore, we strongly advocate for the inclusion of class balancing as a preprocessing step in this domain.

Programming and Computer SoftwareVol. 50(8)
Universidad Veracruzana (MX)
Openalex Percentile: Top 60%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Class Balancing Approaches to Improve for Software Defect Prediction Estimations: A Comparative Study — Juan Carlos Pérez-Arriaga, Xavier Limón, et al. · Programming and Computer Software (2024) | TGRS Research Map | TGRS