• DocumentCode
    2443416
  • Title

    Bug prediction based on fine-grained module histories

  • Author

    Hata, Hideaki ; Mizuno, Osamu ; Kikuno, Tohru

  • Author_Institution
    Osaka Univ., Osaka, Japan
  • fYear
    2012
  • fDate
    2-9 June 2012
  • Firstpage
    200
  • Lastpage
    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
    Java; correlation methods; program debugging; quality assurance; software quality; Historage; Java software; bug information; bug prediction models; coarse-grained prediction; correlation analysis; file levels; fine-grained level; fine-grained module histories; fine-grained prediction; fine-grained version control system; historical metrics; method-level bug prediction; method-level prediction; prediction levels; quality assurance efforts; software modules; version control systems; version history; Complexity theory; Computer bugs; History; Java; Measurement; Predictive models; Software; bug prediction; effort-based evaluation; fine-grained prediction; finegrained histories; historical metrics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2012 34th International Conference on
  • Conference_Location
    Zurich
  • ISSN
    0270-5257
  • Print_ISBN
    978-1-4673-1066-6
  • Electronic_ISBN
    0270-5257
  • Type

    conf

  • DOI
    10.1109/ICSE.2012.6227193
  • Filename
    6227193