Predicting Software Perfection Through Advanced Models to Uncover and Prevent Defects
Software defect prediction is a critical task in software engineering, enabling organizations to proactively identify and address potential issues in software systems, thereby improving quality and reducing costs. In this study, we evaluated and compared various machine learning models, including logistic regression (LR), random forest (RF), support vector machines (SVMs), convolutional neural networks (CNNs), and eXtreme Gradient Boosting (XGBoost), for software defect prediction using a combination of diverse datasets. The models were trained and tested on preprocessed and feature‐selected data, followed by optimization through hyperparameter tuning. Performance evaluation metrics were employed to analyze the results comprehensively, including classification reports, confusion matrices, receiver operating characteristic–area under the curve (ROC‐AUC) curves, precision–recall curves, and cumulative gain charts. The results revealed that XGBoost consistently outperformed other models, achieving the highest accuracy, precision, recall, and AUC scores across all metrics. This indicates its robustness and suitability for predicting software defects in real‐world applications.
Authors
- Tehseen Mazhar (ORCID: https://orcid.org/0000-0002-4649-2376)
- Tariq Shahzad (ORCID: https://orcid.org/0000-0001-5718-5585)
- Sunawar Khan
- Khmaies Ouahada
- Habib Hamam (ORCID: https://orcid.org/0000-0002-5320-1012)
- Wasim Ahmad (ORCID: https://orcid.org/0000-0002-0879-0145)
Institutions
- Université de Moncton (CA)
- Islamia University of Bahawalpur (PK)
- University of Johannesburg (ZA)
- Government of Pakistan (PK)
- University of Manchester (GB)
- Omar Bongo University (GA)
- Spectrum Research (United States) (US)
- National College of Business Administration and Economics (PK)
- Government College of Science (PK)
Publication Details
- Journal
- IET Software
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1049/sfw2/8832164
- Citations
- 2
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 6.49
Funders
- University of Johannesburg