Uncovering Causal Relationships between Software Metrics and Bugs

Abstract : 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.
Type de document :
Communication dans un congrès
CSMR - European Conference on Software Maintenance and Reengineering - 2012, Mar 2012, Szeged, Hungary. IEEE Comp. Soc., 2012, European Conference on Software Maintenance and Reengineering
Liste complète des métadonnées

Littérature citée [24 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-00668151
Contributeur : Lse Lse <>
Soumis le : jeudi 9 février 2012 - 11:14:33
Dernière modification le : jeudi 11 janvier 2018 - 06:22:25
Document(s) archivé(s) le : jeudi 10 mai 2012 - 02:30:32

Fichier

csmr2012.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-00668151, version 1

Citation

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. IEEE Comp. Soc., 2012, European Conference on Software Maintenance and Reengineering. 〈hal-00668151〉

Partager

Métriques

Consultations de la notice

411

Téléchargements de fichiers

677