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 条
  • [31] Toward Improving Graftability on Automated Program Repair
    Sumi, Soichi
    Higo, Yoshiki
    Hotta, Keisuke
    Kusumoto, Shinji
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 511 - 515
  • [32] Improving Automated Program Repair with Domain Adaptation
    Zirak, Armin
    Hemmati, Hadi
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (03)
  • [33] Large Language Models for Automated Program Repair
    Ribeiro, Francisco
    SPLASH Companion 2023 - Companion Proceedings of the 2023 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity, 2023, : 7 - 9
  • [34] The Strength of Random Search on Automated Program Repair
    Qi, Yuhua
    Mao, Xiaoguang
    Lei, Yan
    Dai, Ziying
    Wang, Chengsong
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, : 254 - 265
  • [35] Automated Program Repair from Fuzzing Perspective
    Kim, YoungJae
    Han, Seungheon
    Khamit, Askar Yeltayuly
    Yi, Jooyong
    PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 854 - 866
  • [36] On the Impact of Flaky Tests in Automated Program Repair
    Qin, Yihao
    Wang, Shangwen
    Liu, Kui
    Mao, Xiaoguang
    Bissyande, Tegawende F.
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 295 - 306
  • [37] Scaling Genetic Improvement and Automated Program Repair
    Harman, Mark
    INTERNATIONAL WORKSHOP ON AUTOMATED PROGRAM REPAIR (APR 2022), 2022, : 1 - 7
  • [38] 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
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 128 - 132
  • [39] On the Efficiency of Test Suite based Program Repair A Systematic Assessment of 16 Automated Repair Systems for Java']Java Programs
    Liu, Kui
    Wang, Shangwen
    Koyuncu, Anil
    Kim, Kisub
    Bissyande, Tegawende F.
    Kim, Dongsun
    Wu, Peng
    Klein, Jacques
    Mao, Xiaoguang
    Le Traon, Yves
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 615 - 627
  • [40] Fault localization for automated program repair: effectiveness, performance, repair correctness
    Assiri, Fatmah Yousef
    Bieman, James M.
    SOFTWARE QUALITY JOURNAL, 2017, 25 (01) : 171 - 199