Predicting Software Defects with Causality Tests - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2016

Predicting Software Defects with Causality Tests

Résumé

In this paper, we propose a defect prediction approach centered on more robust evidences towards causality between source code metrics (as predictors) and the occurrence of defects. More specifically, we rely on the Granger Causality Test to evaluate whether past variations in source code metrics values can be used to forecast changes in a time series of defects. Our approach triggers alarms when changes made to the source code of a target system have a high chance of producing defects. We evaluated our approach in several life stages of four Java-based systems. We reached an average precision of 50% in three out of the four systems we evaluated. Moreover, by comparing our approach with baselines that are not based on causality tests, it achieved a better precision.
Fichier principal
Vignette du fichier
2013_jss.pdf (1.6 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01086783 , version 1 (14-10-2016)

Identifiants

Citer

Cesar S Couto, Pedro S Pires, Marco S Valente, Roberto S Bigonha, Nicolas Anquetil. Predicting Software Defects with Causality Tests. 2016. ⟨hal-01086783⟩
107 Consultations
435 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More