Enhancing software defect prediction: a framework with improved feature selection and ensemble machine learning
PeerJ Computer Science · 28.02.2024 · 10 · e1860
DOI: 10.7717/peerj-cs.1860 ↗Kurz gefasst
Fachartikel in der Zeitschrift PeerJ Computer Science, online erschienen am 28.02.2024. Verfasst von Misbah Ali und 5 weiteren Autor:innen. Beteiligte Einrichtung: Department of Computer Science & Information Technology, Virtual University of Pakistan, Lahore, Pakistan. Die Arbeit wurde bisher 61-mal zitiert (Crossref) und nennt 76 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Princess Nourah bint Abdulrahman University Researchers Supporting Project number, Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.
Abstract (Originalsprache)
Effective software defect prediction is a crucial aspect of software quality assurance, enabling the identification of defective modules before the testing phase. This study aims to propose a comprehensive five-stage framework for software defect prediction, addressing the current challenges in the field. The first stage involves selecting a cleaned version of NASA’s defect datasets, including CM1, JM1, MC2, MW1, PC1, PC3, and PC4, ensuring the data’s integrity. In the second stage, a feature selection technique based on the genetic algorithm is applied to identify the optimal subset of features. In the third stage, three heterogeneous binary classifiers, namely random forest, support vector machine, and naïve Bayes, are implemented as base classifiers. Through iterative tuning, the classifiers are optimized to achieve the highest level of accuracy individually. In the fourth stage, an ensemble machine-learning technique known as voting is applied as a master classifier, leveraging the collective decision-making power of the base classifiers. The final stage evaluates the performance of the proposed framework using five widely recognized performance evaluation measures: precision, recall, accuracy, F-measure, and area under the curve. Experimental results demonstrate that the proposed framework outperforms state-of-the-art ensemble and base classifiers employed in software defect prediction and achieves a maximum accuracy of 95.1%, showing its effectiveness in accurately identifying software defects. The framework also evaluates its efficiency by calculating execution times. Notably, it exhibits enhanced efficiency, significantly reducing the execution times during the training and testing phases by an average of 51.52% and 52.31%, respectively. This reduction contributes to a more computationally economical solution for accurate software defect prediction.
Schlagwörter
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Department of Computer Science & Information Technology, Virtual University of Pakistan, Lahore, Pakistan.
- Department of Information Systems, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.
- Department of Computer Sciences, COMSATS University Islamabad, Sahiwal Campus, Sahiwal, Pakistan.
- Department of Computer Science and Software Engineering, Al Ain University, Abu Dhabi, UAE.
- School of Computing Sciences, College of Computing, Informatics and Mathematics, Universiti Teknologi MARA, Shah Alam, Selangor, Malaysia.
Förderung
- Princess Nourah bint Abdulrahman University Researchers Supporting Project number
- Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia
Zitieren
APA
Ali, M., Mazhar, T., Al-Rasheed, A., Shahzad, T., Yasin Ghadi, Y., & Amir Khan, M. (2024). Enhancing software defect prediction: a framework with improved feature selection and ensemble machine learning. PeerJ Computer Science, 10, e1860. https://doi.org/10.7717/peerj-cs.1860
Vancouver
Ali M, Mazhar T, Al-Rasheed A, Shahzad T, Yasin Ghadi Y, Amir Khan M. Enhancing software defect prediction: a framework with improved feature selection and ensemble machine learning. PeerJ Computer Science. 2024;10:e1860. doi:10.7717/peerj-cs.1860
BibTeX
@article{Ali2024,
author = {Ali, Misbah and Mazhar, Tehseen and Al-Rasheed, Amal and Shahzad, Tariq and Yasin Ghadi, Yazeed and Amir Khan, Muhammad},
title = {Enhancing software defect prediction: a framework with improved feature selection and ensemble machine learning},
journal = {PeerJ Computer Science},
year = {2024},
volume = {10},
pages = {e1860},
doi = {10.7717/peerj-cs.1860}
}
EUVIMED