Litcius/Paper detail

Interpretable Software Defect Prediction from Project Effort and Static Code Metrics

Susmita Haldar, Luiz Fernando Capretz

2024Computers17 citationsDOIOpen Access PDF

Abstract

Software defect prediction models enable test managers to predict defect-prone modules and assist with delivering quality products. A test manager would be willing to identify the attributes that can influence defect prediction and should be able to trust the model outcomes. The objective of this research is to create software defect prediction models with a focus on interpretability. Additionally, it aims to investigate the impact of size, complexity, and other source code metrics on the prediction of software defects. This research also assesses the reliability of cross-project defect prediction. Well-known machine learning techniques, such as support vector machines, k-nearest neighbors, random forest classifiers, and artificial neural networks, were applied to publicly available PROMISE datasets. The interpretability of this approach was demonstrated by SHapley Additive exPlanations (SHAP) and local interpretable model-agnostic explanations (LIME) techniques. The developed interpretable software defect prediction models showed reliability on independent and cross-project data. Finally, the results demonstrate that static code metrics can contribute to the defect prediction models, and the inclusion of explainability assists in establishing trust in the developed models.

Topics & Concepts

InterpretabilityComputer sciencePredictive modellingMachine learningSoftware qualityReliability (semiconductor)SoftwareRandom forestSoftware bugArtificial intelligenceData miningSoftware metricSupport vector machineCode (set theory)Source codeQuality (philosophy)Reliability engineeringSoftware developmentSet (abstract data type)EngineeringProgramming languagePhilosophyPower (physics)Quantum mechanicsPhysicsEpistemologySoftware Engineering ResearchSoftware Reliability and Analysis ResearchSoftware System Performance and Reliability
Interpretable Software Defect Prediction from Project Effort and Static Code Metrics | Litcius