基于偏好的集成策略的实用程序修复
Practical Program Repair via Preference-based Ensemble Strategy
AI总结:
针对集成多种自动程序修复(APR)工具成本过高的问题,提出非学习型集成框架P-EPR,利用修复模式动态排名APR工具,显著提升了修复的灵活性和有效性。
摘要:
迄今为止,已设计了超过40种自动程序修复(APR)工具,它们具有不同的缺陷修复策略,并已被证明在处理不同缺陷类别时具有互补的性能。直觉上,通过集成现有工具来提高APR的整体缺陷修复性能应该是可行的。遗憾的是,对于给定的缺陷,简单地调用所有可用的APR工具可能会导致APR执行和补丁验证(通过昂贵的测试)的不可接受成本。因此,尽管集成现有工具很有吸引力,但它需要一种高效的策略来协调修复更多缺陷的需求与实用性要求。针对这一问题,我们提出了一种基于偏好的集成程序修复框架(P-EPR),旨在有效地对修复不同缺陷的APR工具进行排名。P-EPR是第一个非基于学习的APR集成方法,其新颖之处在于利用修复模式作为对APR工具进行排名的主要知识来源,并依赖于动态更新策略,使其能够立即利用新得出的修复结果并从中受益。实验结果表明,P-EPR在灵活性和有效性方面均显著优于现有策略。
英文摘要:
To date, over 40 Automated Program Repair (APR) tools have been designed with varying bug-fixing strategies, which have been demonstrated to have complementary performance in terms of being effective for different bug classes. Intuitively, it should be feasible to improve the overall bug-fixing performance of APR via assembling existing tools. Unfortunately, simply invoking all available APR tools for a given bug can result in unacceptable costs on APR execution as well as on patch validation (via expensive testing). Therefore, while assembling existing tools is appealing, it requires an efficient strategy to reconcile the need to fix more bugs and the requirements for practicality. In light of this problem, we propose a Preference-based Ensemble Program Repair framework (P-EPR), which seeks to effectively rank APR tools for repairing different bugs. P-EPR is the first non-learning-based APR ensemble method that is novel in its exploitation of repair patterns as a major source of knowledge for ranking APR tools and its reliance on a dynamic update strategy that enables it to immediately exploit and benefit from newly derived repair results. Experimental results show that P-EPR outperforms existing strategies significantly both in flexibility and effectiveness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。