DynaMine: Finding Common Error Patterns by Mining Software Revision Histories - ESEC/SIGSOFT FSE 2005
by V. Benjamin Livshits, Thomas Zimmermann

Proceedings of the 10th European Software Engineering Conference held jointly with 13th ACM SIGSOFT International Symposium on Foundations of Software Engineering, Pages 296-305, ACM, September 2005.

ISBN: 1595930140

Digital Library via DOI: 10.1145/1081706.1081754 - Local copy: Download as PDF file.

See also

More information is available at http://www.st.cs.uni-saarland.de/softevo/.

Abstract

A great deal of attention has lately been given to addressing software bugs such as errors in operating system drivers or security bugs. However, there are many other lesser known errors specific to individual applications or APIs and these violations of application-specific coding rules are responsible for a multitude of errors. In this paper we propose DynaMine, a tool that analyzes source code check-ins to find highly correlated method calls as well as common bug fixes in order to automatically discover application-specific coding patterns. Potential patterns discovered through mining are passed to a dynamic analysis tool for validation; finally, the results of dynamic analysis are presented to the user.The combination of revision history mining and dynamic analysis techniques leveraged in DynaMine proves effective for both discovering new application-specific patterns and for finding errors when applied to very large applications with many man-years of development and debugging effort behind them. We have analyzed Eclipse and jEdit, two widely-used, mature, highly extensible applications consisting of more than 3,600,000 lines of code combined. By mining revision histories, we have discovered 56 previously unknown, highly application-specific patterns. Out of these, 21 were dynamically confirmed as very likely valid patterns and a total of 263 pattern violations were found.

BibTeX Entry

@inproceedings{livshits-fse-2005,
    title = "DynaMine: Finding Common Error Patterns by Mining Software Revision Histories",
    author = "V. Benjamin Livshits and Thomas Zimmermann",
    year = "2005",
    month = sep,
    booktitle = "Proceedings of the 10th European Software Engineering Conference held jointly with 13th ACM SIGSOFT
International Symposium on Foundations of Software Engineering",
    location = "Lisbon, Portugal",
    pages = "296--305",
    publisher = "ACM",
    ISBN = "1595930140",
    doi = "10.1145/1081706.1081754",
}

Show all publications of the Software Engineering Chair.