arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.06535cs.SEcs.HC
收藏

描述开发人员使用自动生成的修补程序的特征

Characterizing Developer Use of Automatically Generated Patches

José Pablo Cambronero, Jiasi Shen, Jürgen Cito, Elena Glassman, Martin Rinard

摘要:

我们提出了一项研究,开发人员使用自动生成的补丁修复软件缺陷时的特点。我们的研究要求两组开发人员修复C程序中的缺陷。两组都提供了有缺陷的代码行。其中一个还提供了五个自动生成和验证的补丁,所有这些补丁都修改了有缺陷的代码行,其中一个是正确的。与我们最初的预期相反,能够访问生成的补丁的小组没有生成更多正确的补丁,也没有在更短的时间内生成补丁。我们描述了实验对象中观察到的主要行为:专注于理解缺陷和补丁与原始源代码的关系。基于这种特性,我们强调各种潜在的生产方向为未来开发人员为中心的自动补丁生成系统。

英文摘要:

We present a study that characterizes the way developers use automatically generated patches when fixing software defects. Our study tasked two groups of developers with repairing defects in C programs. Both groups were provided with the defective line of code. One was also provided with five automatically generated and validated patches, all of which modified the defective line of code, and one of which was correct. Contrary to our initial expectations, the group with access to the generated patches did not produce more correct patches and did not produce patches in less time. We characterize the main behaviors observed in experimental subjects: a focus on understanding the defect and the relationship of the patches to the original source code. Based on this characterization, we highlight various potentially productive directions for future developer-centric automatic patch generation systems.

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

↑