arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1812.07416cs.SE
收藏

工具支持对补丁构建的影响

Impact of Tool Support in Patch Construction

Anil Koyuncu, Tegawendé F. Bissyandé, Dongsun Kim, Jacques Klein, Martin Monperrus, Yves Le Traon

摘要:

在这项工作中,我们调查了Linux内核开发中补丁构建的实践,重点是三个补丁过程之间的差异:(1)完全手工制作的补丁来修复错误,(2)来自错误检测工具的警告,(3)那些自动生成的修复模式。通过这项研究,我们为研究界提供了关于修补实践的具体见解,以及开发界目前如何采用研究和商业修补工具来提高修复工作效率。我们的研究结果表明,工具支持的补丁越来越多地被开发人员社区采用,而手动编写的补丁更快地被接受。补丁应用程序工具使开发人员能够继续致力于为代码库提供补丁。我们的研究结果还包括,在实际的开发过程中,补丁通常实现几个更改操作分布在代码中,即使是补丁修复错误检测工具的警告。最后,这项研究表明,有机会直接利用错误检测工具的输出,轻松生成适合修复问题的补丁,并且与手动编写的补丁一致。

英文摘要:

In this work, we investigate the practice of patch construction in the Linux kernel development, focusing on the differences between three patching processes: (1) patches crafted entirely manually to fix bugs, (2) those that are derived from warnings of bug detection tools, and (3) those that are automatically generated based on fix patterns. With this study, we provide to the research community concrete insights on the practice of patching as well as how the development community is currently embracing research and commercial patching tools to improve productivity in repair. The result of our study shows that tool-supported patches are increasingly adopted by the developer community while manually-written patches are accepted more quickly. Patch application tools enable developers to remain committed to contributing patches to the code base. Our findings also include that, in actual development processes, patches generally implement several change operations spread over the code, even for patches fixing warnings by bug detection tools. Finally, this study has shown that there is an opportunity to directly leverage the output of bug detection tools to readily generate patches that are appropriate for fixing the problem, and that are consistent with manually-written patches.

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

↑