Automatic Mining of Source Code Repositories to Improve Bug Finding Techniques

TitleAutomatic Mining of Source Code Repositories to Improve Bug Finding Techniques
Publication TypeJournal Articles
Year of Publication2005
AuthorsWilliams CC, Hollingsworth J
JournalIEEE Transactions on Software Engineering
Volume31
Issue6
Pagination466 - 480
Date Published2005///
ISBN Number0098-5589
Keywordsconfiguration control, debugging aids., index terms- testing tools, version control
Abstract

We describe a method to use the source code change history of a software project to drive and help to refine the search for bugs. Based on the data retrieved from the source code repository, we implement a static source code checker that searches for a commonly fixed bug and uses information automatically mined from the source code repository to refine its results. By applying our tool, we have identified a total of 178 warnings that are likely bugs in the Apache Web server source code and a total of 546 warnings that are likely bugs in Wine, an open-source implementation of the Windows API. We show that our technique is more effective than the same static analysis that does not use historical data from the source code repository.

DOI10.1109/TSE.2005.63