Recommender Systems Approaches for Software Defect Prediction: A Comparative Study
Ahmed-Reda Rhazi, Oumayma Banouar, Fadel Toure, Said Raghay
2025
Abstract
Defects prediction is an important step in the software development life cycle. Projects involving thousands of classes require the writing of unit tests for a significant number of classes, which is a costly and time-consuming process. Some research projects in this area have tried to predict defect-prone classes in order to better allocate testing effort in the relevant components. Algorithms such as neural networks and ensemble learning have been used to classify the project classes. Based on similarities, Recommender systems (RS) allow users to have customized recommendations in different domains, such as social media and e-commerce. This paper explores the usage of recommender systems in the prediction of software defects. Using a dataset of 14 open source systems containing 5883 Java classes, we compared the performance of content-based RS approaches applied to software defect prediction using software metrics as features, with classic classification algorithms such as SVM, KNN, and ensemble learning algorithms. For the Content-based approach, the similarities are computed between software classes first with the standard software metrics and then with PCA (principal component analysis) extracted components. Finally, by aggregating the top-N most similar classes, the approach is capable of predicting whether the current class is defect-prone or not. The comparison is made using the Accuracy, Precision, and F-1 Score. The results show that the recommender systems approach can be a viable alternative to traditional machine learning methods in the classification and prediction of software defect classes.
DownloadPaper Citation
in Harvard Style
Rhazi A., Banouar O., Toure F. and Raghay S. (2025). Recommender Systems Approaches for Software Defect Prediction: A Comparative Study. In Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE; ISBN 978-989-758-742-9, SciTePress, pages 414-424. DOI: 10.5220/0013211700003928
in Bibtex Style
@conference{enase25,
author={Ahmed-Reda Rhazi and Oumayma Banouar and Fadel Toure and Said Raghay},
title={Recommender Systems Approaches for Software Defect Prediction: A Comparative Study},
booktitle={Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE},
year={2025},
pages={414-424},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013211700003928},
isbn={978-989-758-742-9},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE
TI - Recommender Systems Approaches for Software Defect Prediction: A Comparative Study
SN - 978-989-758-742-9
AU - Rhazi A.
AU - Banouar O.
AU - Toure F.
AU - Raghay S.
PY - 2025
SP - 414
EP - 424
DO - 10.5220/0013211700003928
PB - SciTePress