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 条
  • [1] Automated patch assessment for program repair at scale
    He Ye
    Matias Martinez
    Martin Monperrus
    Empirical Software Engineering, 2021, 26
  • [2] Shibboleth: Hybrid Patch Correctness Assessment in Automated Program Repair
    Ghanbari, Ali
    Marcus, Andrian
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [3] Adversarial patch generation for automated program repair
    Alhefdhi, Abdulaziz
    Dam, Hoa Khanh
    Le-Cong, Thanh
    Le, Bach
    Ghose, Aditya
    SOFTWARE QUALITY JOURNAL, 2025, 33 (01)
  • [4] Patch Correctness Assessment in Automated Program Repair Based on the Impact of Patches on Production and Test Code
    Ghanbari, Ali
    Marcus, Andrian
    PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 654 - 665
  • [5] An Assessment of the Quality of Automated Program Operator Repair
    Assiri, Fatmah Yousef
    Bieman, James M.
    2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, : 273 - 282
  • [6] Context-Aware Patch Generation for Better Automated Program Repair
    Wen, Ming
    Chen, Junjie
    Wu, Rongxin
    Hao, Dan
    Cheung, Shing-Chi
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 1 - 11
  • [7] Impact Analysis of Syntactic and Semantic Similarities on Patch Prioritization in Automated Program Repair
    Asad, Moumita
    Ganguly, Kishan Kumar
    Sakib, Kazi
    Proceedings - 2019 IEEE International Conference on Software Maintenance and Evolution, ICSME 2019, 2019, : 328 - 332
  • [8] ExpressAPR: Efficient Patch Validation for Java']Java Automated Program Repair Systems
    Xiao, Yuan-An
    Yang, Chenyang
    Wang, Bo
    Xiong, Yingfei
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 2038 - 2041
  • [9] Towards Efficiently Parallelizing Patch-Space Exploration in Automated Program Repair
    Al-Bataineh, Omar, I
    ENGINEERING OF COMPLEX COMPUTER SYSTEMS, ICECCS 2024, 2025, 14784 : 409 - 419
  • [10] Impact Analysis of Syntactic and Semantic Similarities on Patch Prioritization in Automated Program Repair
    Asad, Moumita
    Ganguly, Kishan Kumar
    Sakib, Kazi
    2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2019), 2019, : 328 - 332