Not logged in.

Contribution Details

Type Conference or Workshop Paper
Scope Discipline-based scholarship
Published in Proceedings Yes
Title Method-level bug prediction
Organization Unit
Authors
  • Emanuel Giger
  • Marco D'Ambros
  • Martin Pinzger
  • Harald C Gall
Presentation Type paper
Item Subtype Original Work
Refereed Yes
Status Published in final form
Language
  • English
ISBN 978-1-4503-1056-7
Page Range 171 - 180
Event Title International Symposium on Empirical Software Engineering and Measurement
Event Type conference
Event Location Lund, Sweden
Event Start Date September 19 - 2012
Event End Date September 20 - 2012
Publisher Association for Computing Machinery
Abstract Text Researchers proposed a wide range of approaches to build effective bug prediction models that take into account multiple aspects of the software development process. Such models achieved good prediction performance, guiding developers towards those parts of their system where a large share of bugs can be expected. However, most of those approaches predict bugs on file-level. This often leaves developers with a considerable amount of effort to examine all methods of a file until a bug is located. This particular problem is reinforced by the fact that large files are typically predicted as the most bug-prone. In this paper, we present bug prediction models at the level of individual methods rather than at file-level. This increases the granularity of the prediction and thus reduces manual inspection efforts for developers. The models are based on change metrics and source code metrics that are typically used in bug prediction. Our experiments---performed on 21 Java open-source (sub-)systems---show that our prediction models reach a precision and recall of 84% and 88%, respectively. Furthermore, the results indicate that change metrics significantly outperform source code metrics.
Digital Object Identifier 10.1145/2372251.2372285
Other Identification Number merlin-id:7102
PDF File Download from ZORA
Export BibTeX
EP3 XML (ZORA)
Additional Information © ACM, 2012. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in Proceedings of the ACM-IEEE international symposium on Empirical software engineering and measurement , Pages 171-180 (2012), http://doi.acm.org/10.1145/2372251.2372285