Automatic mining of source code repositories to improve bug finding techniques |
| |
Authors: | Williams C.C. Hollingsworth J.K. |
| |
Affiliation: | Maryland Univ., College Park, MD, USA; |
| |
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. |
| |
Keywords: | |
|
|