DocumentCode :
1683499
Title :
Uncovering Causal Relationships between Software Metrics and Bugs
Author :
Couto, Cesar ; Silva, Christofer ; Valente, Marco Tulio ; Bigonha, Roberto ; Anquetil, Nicolas
Author_Institution :
Dept. of Comput., CEFET-MG, Belo Horizonte, Brazil
fYear :
2012
Firstpage :
223
Lastpage :
232
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 cannot 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.
Keywords :
causality; program debugging; regression analysis; software metrics; software performance evaluation; statistical testing; Granger causality test; bug prediction evaluation; causal relationships; software bugs; software engineering research; software metrics; spurious relations; standard regression models; Computer bugs; Mathematical model; Reliability; Software; Software metrics; Time series analysis; Bug Prediction; Causality; Granger Test; Software Metrics;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance and Reengineering (CSMR), 2012 16th European Conference on
Conference_Location :
Szeged
ISSN :
1534-5351
Print_ISBN :
978-1-4673-0984-4
Type :
conf
DOI :
10.1109/CSMR.2012.31
Filename :
6178869
Link To Document :
بازگشت