Automatic mining of source code repositories to improve bug finding techniques

Automatic mining of source code repositories to improve bug finding techniques
复制标题

DOI:
10.1109/tse.2005.63
复制
发表时间:
2005-06
影响因子:
7.4
通讯作者:
Chadd C. Williams;J. Hollingsworth
Chadd C. Williams;J. Hollingsworth
中科院分区:
计算机科学1区
文献类型:
--
作者:
Chadd C. Williams;J. Hollingsworth

文献摘要

被引文献

相似文献

我们描述了一种使用软件项目的源代码更改历史来驱动和帮助改进缺陷搜索的方法。基于从源代码存储库中检索到的数据,我们实现了一个静态源代码检查器,该检查器搜索一个常见的已修复的错误,并使用从源代码存储库中自动挖掘的信息来改进其结果。通过应用我们的工具,我们已经确定了Apache Web服务器源代码中共有178个可能存在错误的警告,以及Windows API的开源实现Wine中共有546个可能存在错误的警告。我们表明,我们的技术是更有效的比相同的静态分析,不使用历史数据的源代码存储库。
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.