Automated patch assessment for program repair at scale

被引:46
|
作者
Ye, He [1 ]
Martinez, Matias [2 ]
Monperrus, Martin [1 ]
机构
[1] KTH Royal Inst Technol, Stockholm, Sweden
[2] Univ Valenciennes, Valenciennes, France
关键词
Automatic program repair; Automatic patch assessment;
D O I
10.1007/s10664-020-09920-w
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we do automatic correctness assessment for patches generated by program repair systems. We consider the human-written patch as ground truth oracle and randomly generate tests based on it, a technique proposed by Shamshiri et al., called Random testing with Ground Truth (RGT) in this paper. We build a curated dataset of 638 patches for Defects4J generated by 14 state-of-the-art repair systems, we evaluate automated patch assessment on this dataset. The results of this study are novel and significant: First, we improve the state of the art performance of automatic patch assessment with RGT by 190% by improving the oracle; Second, we show that RGT is reliable enough to help scientists to do overfitting analysis when they evaluate program repair systems; Third, we improve the external validity of the program repair knowledge with the largest study ever.
引用
收藏
页数:38
相关论文
共 50 条
  • [22] Advancements in automated program repair: a comprehensive review
    Dikici, Sena
    Bilgin, Turgay Tugay
    KNOWLEDGE AND INFORMATION SYSTEMS, 2025,
  • [23] Enhancing Automated Program Repair with Deductive Verification
    Le, Xuan-Bach D.
    Le, Quang Loc
    Lo, David
    Le Goues, Claire
    32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 428 - 432
  • [24] Automated Program Repair in an Integrated Development Environment
    Pei, Yu
    Furia, Carlo A.
    Nordio, Martin
    Meyer, Bertrand
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 2, 2015, : 681 - 684
  • [25] Large Language Models for Automated Program Repair
    Ribeiro, Francisco
    COMPANION PROCEEDINGS OF THE 2023 ACM SIGPLAN INTERNATIONAL CONFERENCE ON SYSTEMS, PROGRAMMING, LANGUAGES, AND APPLICATIONS: SOFTWARE FOR HUMANITY, SPLASH COMPANION 2023, 2023, : 7 - 9
  • [26] How to Measure the Performance of Automated Program Repair?
    Qi, Yuhua
    Liu, Wenhong
    Zhang, Weixiang
    Yang, Deheng
    2018 5TH INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND CONTROL ENGINEERING (ICISCE 2018), 2018, : 246 - 250
  • [27] The Impact of Search Algorithms in Automated Program Repair
    Assiri, Fatmah Yousef
    Bieman, James M.
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON SOFT COMPUTING AND SOFTWARE ENGINEERING (SCSE'15), 2015, 62 : 65 - 72
  • [28] High-Quality Automated Program Repair
    Motwani, Manish
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 309 - 314
  • [29] Static Automated Program Repair for Heap Properties
    van Tonder, Rijnard
    Le Goues, Claire
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 151 - 162
  • [30] BugsPHP: A dataset for Automated Program Repair in PHP
    Pramod, K.D.
    De Silva, W.T.N.
    Thabrew, W.U.K.
    Shariffdeen, Ridwan
    Wickramanayake, Sandareka
    arXiv,