BugMaps-Granger: a tool for visualizing and predicting bugs using Granger causality tests - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Journal of Software Engineering Research and Development Année : 2014

BugMaps-Granger: a tool for visualizing and predicting bugs using Granger causality tests

Marco Tulio Valente
  • Fonction : Auteur
  • PersonId : 919868
Pedro Pires
  • Fonction : Auteur
  • PersonId : 957237
Nicolas Anquetil
Roberto Bigonha
  • Fonction : Auteur
  • PersonId : 919869

Résumé

Background
Despite the increasing number of bug analysis tools for exploring bugs in software systems, there are no tools supporting the investigation of causality relationships between internal quality metrics and bugs. In this paper, we propose an extension of the BugMaps tool called BugMaps-Granger that allows the analysis of source code properties that are more likely to cause bugs. For this purpose, we relied on the Granger Causality Test to evaluate whether past changes to a given time series of source code metrics can be used to forecast changes in a time series of defects. Our tool extracts source code versions from version control platforms, calculates source code metrics and defects time series, computes Granger Test results, and provides interactive visualizations for causal analysis of bugs.
Results
We provide an example of use of BugMaps-Granger involving data from the Equinox Framework and Eclipse JDT Core systems collected during three years. For these systems, the tool was able to identify the modules with more bugs, the average lifetime and complexity of the bugs, and the source code properties that are more likely to cause bugs.
Conclusions
With the results provided by the tool in hand, a maintainer can perform at least two main software quality assurance activities: (a) refactoring the source code properties that Granger-caused bugs and (b) improving unit tests coverage in classes with more bugs.
Fichier principal
Vignette du fichier
2195-1721-2-1.pdf (2.04 Mo) Télécharger le fichier
2195-1721-2-1.xml (44.37 Ko) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte
Format : Autre
Loading...

Dates et versions

hal-01003078 , version 1 (09-06-2014)

Identifiants

Citer

Cesar Couto, Marco Tulio Valente, Pedro Pires, Andre Hora, Nicolas Anquetil, et al.. BugMaps-Granger: a tool for visualizing and predicting bugs using Granger causality tests. Journal of Software Engineering Research and Development, 2014, 2 (1), pp.12. ⟨10.1186/2195-1721-2-1⟩. ⟨hal-01003078⟩
134 Consultations
134 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More