3.8 Proceedings Paper

TBar: Revisiting Template-Based Automated Program Repair

出版社

ASSOC COMPUTING MACHINERY
DOI: 10.1145/3293882.3330577

关键词

Automated program repair; fix pattern; empirical assessment

资金

  1. Fonds National de la Recherche (FNR), Luxembourg, through RECOMMEND [15/IS/10449467]
  2. Fonds National de la Recherche (FNR), Luxembourg, through FIXPATTERN [C15/IS/9964569]

向作者/读者索取更多资源

We revisit the performance of template-based APR to build comprehensive knowledge about the effectiveness of fix patterns, and to highlight the importance of complementary steps such as fault localization or donor code retrieval. To that end, we first investigate the literature to collect, summarize and label recurrently-used fix patterns. Based on the investigation, we build TBar, a straight-forward APR tool that systematically attempts to apply these fix patterns to program bugs. We thoroughly evaluate TBar on the Defects4J benchmark. In particular, we assess the actual qualitative and quantitative diversity of fix patterns, as well as their effectiveness in yielding plausible or correct patches. Eventually, we find that, assuming a perfect fault localization, TBar correctly/plausibly fixes 74/101 bugs. Replicating a standard and practical pipeline of APR assessment, we demonstrate that TBar correctly fixes 43 bugs from Defects4J, an unprecedented performance in the literature (including all approaches, i.e., template-based, stochastic mutation-based or synthesis-based APR).

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

3.8
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据