Software Defect Prediction Using an Intelligent Ensemble-Based Model
Open Access
- 24 January 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 20376-20395
Abstract
Software defect prediction plays a crucial role in enhancing software quality while achieving cost savings in testing. Its primary objective is to identify and send only defective modules to the testing stage. This research introduces an intelligent ensemble-based software defect prediction model that combines diverse classifiers. The proposed model employs a two-stage prediction process to detect defective modules. In the first stage, four supervised machine learning algorithms are employed: Random Forest, Support Vector Machine, Naïve Bayes, and Artificial Neural Network. These algorithms are optimized through iterative parameter optimization to achieve the highest accuracy possible. In the second stage, the predictive accuracy of the individual classifiers is integrated into a voting ensemble to make the final predictions. This ensemble approach further improves the accuracy and reliability of the defect predictions. Seven historical defect datasets from the NASA MDP repository, namely CM1, JM1, MC2, MW1, PC1, PC3, and PC4, were utilized to implement and evaluate the proposed defect prediction system. The results demonstrate that each dataset’s proposed intelligent system achieved remarkable accuracy, outperforming twenty state-of-the-art defect prediction techniques, including base classifiers and ensemble methods.Keywords
Funding Information
- Princess Nourah Bint Abdulrahman University, Riyadh, Saudi Arabia, through the Princess Nourah Bint Abdulrahman University Researchers Supporting Project (PNURSP2024R136)
This publication has 60 references indexed in Scilit:
- FENSE: A feature-based ensemble modeling approach to cross-project just-in-time defect predictionEmpirical Software Engineering, 2022
- An Empirical Study on Data Sampling Methods in Addressing Class Imbalance Problem in Software Defect Prediction2022
- Supervised Classification Techniques2022
- Stacking Based Ensemble Learning for Improved Software Defect Prediction2021
- Handling Class-Imbalance with KNN (Neighbourhood) Under-Sampling for Software Defect PredictionArtificial Intelligence Review, 2021
- Improved prediction of software defects using ensemble machine learning techniquesNeural Computing and Applications, 2021
- SMOTE-Based Homogeneous Ensemble Methods for Software Defect Prediction2020
- Search-Based Wrapper Feature Selection Methods in Software Defect Prediction: An Empirical Analysis2020
- Software defect prediction model based on LASSO–SVMNeural Computing and Applications, 2020
- Software fault prediction using particle swarm algorithm with genetic algorithm and support vector machine classifierSoftware: Practice and Experience, 2020