arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1505.01286cs.SE
收藏

使用单次执行本地化真实世界的回归Bug

Localization of real world regression Bugs using single execution

Dekel Cohen, Amiram Yehudai

摘要:

当以前按预期工作的软件功能停止工作或不再按预期工作时,就会出现回归错误。代码更改,例如bug修复或新功能工作,可能会导致回归bug。回归bug是软件开发过程中令人烦恼和痛苦的现象,需要大量的努力来本地化,有效地阻碍了团队的进步。在本文中,我们提出了回归检测,一种方法,它有助于开发人员定位源代码段,导致给定的回归错误。与现有的一些工具不同,我们的方法不需要自动化测试套件或执行系统的过去版本。它是高度可扩展到数百万的锁定系统。开发人员对代码或bug没有先验知识,根据bug数据库中描述的步骤重现bug。我们用来自领先的开源项目(Eclipse、Tomcat、Ant)的bug评估了我们的方法。在超过90%的情况下,开发人员只需要检查10 - 20行代码就可以找到bug,而不管代码库的大小。

英文摘要:

Regression bugs occur whenever software functionality that previously worked as desired stops working, or no longer works as expected. Code changes, such as bug fixes or new feature work, may result in a regression bug. Regression bugs are an annoying and painful phenomena in the software development process, requiring a great deal of effort to localize, effectively hindering team progress. In this paper we present Regression Detective, a method which assists the developer locating source code segments that caused a given regression bug. Unlike some of the existing tools, our approach doesn't require an automated test suite or executing past versions of the system. It is highly scalable to millions of loc systems. The developer, who has no prior knowledge of the code or the bug, reproduces the bug according to the steps described in the bug database. We evaluated our approach with bugs from leading open source projects (Eclipse, Tomcat, Ant). In over 90% of the cases, the developer only has to examine 10-20 lines of code in order to locate the bug, regardless of the code base size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑