首页> 外文会议>2018 IEEE/ACM 40th International Conference on Software Engineering >Journal First Towards Reusing Hints from Past Fixes: An Exploratory Study on Thousands of Real Samples
【24h】

Journal First Towards Reusing Hints from Past Fixes: An Exploratory Study on Thousands of Real Samples

机译:期刊第一重用过去修订中的提示:对数千个真实样本的探索性研究

获取原文
获取原文并翻译 | 示例

摘要

Researchers have recently proposed various automatic program repair (APR) approaches that reuse past fixes to fix new bugs. However, some fundamental questions, such as how new fixes overlap with old fixes, have not been investigated. Intuitively, the overlap between old and new fixes decides how APR approaches can construct new fixes with old ones. Based on this intuition, we systematically designed six overlap metrics, and performed an empirical study on 5,735 bug fixes to investigate the usefulness of past fixes when composing new fixes. For each bug fix, we created delta dependency graphs (i.e., program dependency graphs for code changes), and identified how bug fixes overlapped with each other in terms of the content, code structure, and identifier names of fixes. Our results show that if an APR approach composes new fixes by fully or partially reusing the content of past fixes, only 2.1% and 3.2% new fixes can be created from single or multiple past fixes in the same project, compared with 0.9% and 1.2% fixes created from past fixes across projects. However, if an APR approach composes new fixes by fully or partially reusing the code structure of past fixes, up to 41.3% and 29.7% new fixes can be created.
机译:研究人员最近提出了各种自动程序修复(APR)方法,这些方法可以重用以前的修复程序来修复新的错误。但是,尚未研究一些基本问题,例如新修订如何与旧修订重叠。直观上,新旧修复程序之间的重叠关系决定了APR方法如何用旧修复程序构建新修复程序。基于这种直觉,我们系统地设计了六个重叠度量,并对5,735个错误修复程序进行了实证研究,以调查过去的修复程序在组成新的修复程序时的有用性。对于每个错误修复程序,我们都创建了增量依赖关系图(即用于代码更改的程序依赖关系图),并确定了错误修复程序在内容,代码结构和修复程序标识符名称方面如何相互重叠。我们的结果表明,如果APR方法通过全部或部分重用过去的修订内容来构成新的修正,则同一项目中单个或多个过去的修正只能创建2.1%和3.2%的新修正,而0.9%和1.2从项目中过去的修订创建的修订的百分比。但是,如果APR方法通过完全或部分重用以前的修订的代码结构来构成新的修订,则最多可以创建41.3%和29.7%的新修订。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号