Accelerating Redundancy-Based Program Repair via Code Representation Learning and Adaptive Patch Filtering

被引:4
|
作者
Yang, Chen [1 ]
机构
[1] Tianjin Univ, Coll Intelligence & Comp, Tianjin, Peoples R China
来源
PROCEEDINGS OF THE 29TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '21) | 2021年
关键词
representation learning; patch filtering; automated program repair;
D O I
10.1145/3468264.3473496
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Automated program repair (APR) has attracted extensive attention and many APR techniques have been proposed recently, in which redundancy-based techniques have achieved great success. However, they still suffer from the efficiency issue mainly caused by the inaccuracy of measuring code similarity, which may produce meaningless patches that hinder the generation and validation of correct patches. To solve this issue, we propose a novel method AccPR, which leverages code representation to measure code similarity and employs adaptive patch filtering to accelerate redundancy-based APR. We have implemented a prototype of AccPR and integrated it with a SOTA APR tool, SimFix, where the average improvement of efficiency is 47.85%, indicating AccPR is promising.
引用
收藏
页码:1672 / 1674
页数:3
相关论文
共 3 条
  • [1] Accelerating Patch Validation for Program Repair With Interception-Based Execution Scheduling
    Xiao, Yuan-An
    Yang, Chenyang
    Wang, Bo
    Xiong, Yingfei
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (03) : 618 - 635
  • [2] 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
  • [3] An Extensive Study on Model Architecture and Program Representation in the Domain of Learning-based Automated Program Repair
    Horvath, Daniel
    Csuvik, Viktor
    Gyimothy, Tibor
    Vidacs, Laszlo
    2023 IEEE/ACM INTERNATIONAL WORKSHOP ON AUTOMATED PROGRAM REPAIR, APR, 2023, : 31 - 38