Predicting Software Defects with Causality Tests
Document type :
Pré-publication ou Document de travail
Title :
Predicting Software Defects with Causality Tests
Author(s) :
Couto, Cesar [Auteur]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Pires, Pedro [Auteur]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Valente, Marco [Auteur]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Bigonha, Roberto [Auteur]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Anquetil, Nicolas [Auteur]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 [CRIStAL]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Pires, Pedro [Auteur]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Valente, Marco [Auteur]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Bigonha, Roberto [Auteur]
Departamento de Ciência da Computação [Minas Gerais] [DCC - UFMG]
Anquetil, Nicolas [Auteur]

Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 [CRIStAL]
English keyword(s) :
Granger causality test
software metrics
software evolution
prediction model
software metrics
software evolution
prediction model
HAL domain(s) :
Informatique [cs]/Génie logiciel [cs.SE]
English abstract : [en]
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 ...
Show more >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.Show less >
Show more >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.Show less >
Language :
Anglais
Collections :
Source :
Files
- https://hal.inria.fr/hal-01086783/document
- Open access
- Access the document
- https://hal.inria.fr/hal-01086783/document
- Open access
- Access the document
- https://hal.inria.fr/hal-01086783/document
- Open access
- Access the document