Bug prediction based on fine-grained module histories
Authors:
- 1 June 2012
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 02705257,p. 200-210
Abstract
There have been many bug prediction models built with historical metrics, which are mined from version histories of software modules. Many studies have reported the effectiveness of these historical metrics. For prediction levels, most studies have targeted package and file levels. Prediction on a fine-grained level, which represents the method level, is required because there may be interesting results compared to coarse-grained (package and file levels) prediction. These results include good performance when considering quality assurance efforts, and new findings about the correlations between bugs and histories. However, fine-grained prediction has been a challenge because obtaining method histories from existing version control systems is a difficult problem. To tackle this problem, we have developed a fine-grained version control system for Java, Historage. With this system, we target Java software and conduct fine-grained prediction with well-known historical metrics. The results indicate that fine-grained (method-level) prediction outperforms coarse-grained (package and file levels) prediction when taking the efforts necessary to find bugs into account. Using a correlation analysis, we show that past bug information does not contribute to method-level bug prediction.Keywords
This publication has 41 references indexed in Scilit:
- BugCache for inspections2011
- Ownership, experience and defects2011
- CRANE: Failure Prediction, Change Analysis and Test Prioritization in Practice -- Experiences from Windows2011
- Revisiting common bug prediction findings using effort-aware models2010
- Defect prediction from static code features: current results, limitations, new approachesAutomated Software Engineering, 2010
- Does distributed development affect software quality?Communications of the ACM, 2009
- Theory of relative defect pronenessEmpirical Software Engineering, 2008
- A comparative analysis of the efficiency of change metrics and static code attributes for defect prediction2008
- Predicting defect densities in source code files with decision tree learners2006
- Fine-grained processing of CVS archives with APFEL2006