Explainable AI Framework for Software Defect Prediction

dc.contributor.authorGecer, Bahar Gezici
dc.contributor.authorTarhan, Ayca Kolukisa
dc.date.accessioned2025-08-12T08:28:39Z
dc.date.issued2025
dc.departmentOsmaniye Korkut Ata Üniversitesi
dc.description.abstractSoftware engineering plays a critical role in improving the quality of software systems, because identifying and correcting defects is one of the most expensive tasks in software development life cycle. For instance, determining whether a software product still has defects before distributing it is crucial. The customer's confidence in the software product will decline if the defects are discovered after it has been deployed. Machine learning-based techniques for predicting software defects have lately started to yield encouraging results. The software defect prediction system's prediction results are raised by machine learning models. More accurate models tend to be more complicated, which makes them harder to interpret. As the rationale behind machine learning models' decisions are obscure, it is challenging to employ them in actual production. In this study, we employ five different machine learning models which are random forest (RF), gradient boosting (GB), naive Bayes (NB), multilayer perceptron (MLP), and neural network (NN) to predict software defects and also provide an explainable artificial intelligence (XAI) framework to both locally and globally increase openness throughout the machine learning pipeline. While global explanations identify general trends and feature importance, local explanations provide insights into individual instances, and their combination allows for a holistic understanding of the model. This is accomplished through the utilization of Explainable AI algorithms, which aim to reduce the black-boxiness of ML models by explaining the reasoning behind a prediction. The explanations provide quantifiable information about the characteristics that affect defect prediction. These justifications are produced using six XAI methods, namely, SHAP, anchor, ELI5, LIME, partial dependence plot (PDP), and ProtoDash. We use the KC2 dataset to apply these methods to the software defect prediction (SDP) system, and provide and discuss the results.
dc.identifier.doi10.1002/smr.70018
dc.identifier.issn2047-7473
dc.identifier.issn2047-7481
dc.identifier.issue4
dc.identifier.scopus2-s2.0-105002463201
dc.identifier.scopusqualityQ2
dc.identifier.urihttps://doi.org/10.1002/smr.70018
dc.identifier.urihttps://hdl.handle.net/20.500.12502/5574
dc.identifier.volume37
dc.identifier.wosWOS:001473651700003
dc.identifier.wosqualityQ3
dc.indekslendigikaynakWeb of Science
dc.indekslendigikaynakScopus
dc.language.isoen
dc.publisherWiley
dc.relation.ispartofJournal of Software-Evolution and Process
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
dc.rightsinfo:eu-repo/semantics/closedAccess
dc.snmzKA_WOS_20250812
dc.subjectanchor
dc.subjectartificial intelligence
dc.subjectdefect prediction
dc.subjectELI5
dc.subjectexplainable AI
dc.subjectLIME
dc.subjectmachine learning
dc.subjectProtoDash
dc.subjectSHAP
dc.subjectXAI
dc.titleExplainable AI Framework for Software Defect Prediction
dc.typeArticle

Dosyalar