A trustworthy hybrid model for transparent software defect prediction: SPAM-XAI.

PLoS One

Department of Computer Science, College of Engineering and Computer Science, Jazan University, Jazan, Saudi Arabia.

Published: July 2024

Maintaining quality in software development projects is becoming very difficult because the complexity of modules in the software is growing exponentially. Software defects are the primary concern, and software defect prediction (SDP) plays a crucial role in detecting faulty modules early and planning effective testing to reduce maintenance costs. However, SDP faces challenges like imbalanced data, high-dimensional features, model overfitting, and outliers. Moreover, traditional SDP models lack transparency and interpretability, which impacts stakeholder confidence in the Software Development Life Cycle (SDLC). We propose SPAM-XAI, a hybrid model integrating novel sampling, feature selection, and eXplainable-AI (XAI) algorithms to address these challenges. The SPAM-XAI model reduces features, optimizes the model, and reduces time and space complexity, enhancing its robustness. The SPAM-XAI model exhibited improved performance after experimenting with the NASA PROMISE repository's datasets. It achieved an accuracy of 98.13% on CM1, 96.00% on PC1, and 98.65% on PC2, surpassing previous state-of-the-art and baseline models with other evaluation matrices enhancement compared to existing methods. The SPAM-XAI model increases transparency and facilitates understanding of the interaction between features and error status, enabling coherent and comprehensible predictions. This enhancement optimizes the decision-making process and enhances the model's trustworthiness in the SDLC.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11239108PMC
http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0307112PLOS

Publication Analysis

Top Keywords

spam-xai model
12
hybrid model
8
software defect
8
defect prediction
8
software development
8
model reduces
8
model
7
software
6
spam-xai
5
trustworthy hybrid
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!