Uncovering Causal Relationships between Software Metrics and Bugs - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2012

Uncovering Causal Relationships between Software Metrics and Bugs

Résumé

Bug prediction is an important challenge for software engineering research. It consist in looking for possible early indicators of the presence of bugs in a software. However, despite the relevance of the issue, most experiments designed to evaluate bug prediction only investigate whether there is a linear relation between the predictor and the presence of bugs. However, it is well known that standard regression models can not filter out spurious relations. Therefore, in this paper we describe an experiment to discover more robust evidences towards causality between software metrics (as predictors) and the occurrence of bugs. For this purpose, we have relied on Granger Causality Test to evaluate whether past changes in a given time series are useful to forecast changes in another series. As its name suggests, Granger Test is a better indication of causality between two variables. We present and discuss the results of experiments on four real world systems evaluated over a time frame of almost four years. Particularly, we have been able to discover in the history of metrics the causes - in the terms of the Granger Test - for 64% to 93% of the defects reported for the systems considered in our experiment.
Fichier principal
Vignette du fichier
csmr2012.pdf (1.32 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00668151 , version 1 (09-02-2012)

Identifiants

  • HAL Id : hal-00668151 , version 1

Citer

Cesar Couto, Silva Christofer, Marco Tulio Valente, Roberto Bigonha, Nicolas Anquetil. Uncovering Causal Relationships between Software Metrics and Bugs. CSMR - European Conference on Software Maintenance and Reengineering - 2012, Mar 2012, Szeged, Hungary. ⟨hal-00668151⟩
272 Consultations
672 Téléchargements

Partager

Gmail Facebook X LinkedIn More