EUVIMEDObjevte EUVIMED
Open access · CC BY 4.0

Interpretable Software Defect Prediction from Project Effort and Static Code Metrics

Susmita Haldar, Luiz Fernando Capretz

Computers · 2024-02-16 · 13 (2) · 52

DOI: 10.3390/computers13020052 ↗

At a glance

Journal article in Computers, published online on 2024-02-16. Written by Susmita Haldar and 1 co-authors. Cited 22 times so far (Crossref); 56 references. The full text is freely available (open access, CC BY 4.0).

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

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.

Cite

APA

Haldar, S., & Capretz, L. F. (2024). Interpretable Software Defect Prediction from Project Effort and Static Code Metrics. Computers, 13(2), 52. https://doi.org/10.3390/computers13020052

Vancouver

Haldar S, Capretz LF. Interpretable Software Defect Prediction from Project Effort and Static Code Metrics. Computers. 2024;13(2):52. doi:10.3390/computers13020052

BibTeX
@article{Haldar2024,
  author = {Haldar, Susmita and Capretz, Luiz Fernando},
  title = {Interpretable Software Defect Prediction from Project Effort and Static Code Metrics},
  journal = {Computers},
  year = {2024},
  volume = {13},
  number = {2},
  pages = {52},
  doi = {10.3390/computers13020052}
}
Start for free →