[1]韩俊璇、孙伟峰、赵瑞莲、王微微.基于模板挖掘的程序自动修复方法[J].郑州大学学报(工学版),2021,42(02):62-67.[doi:10.13705/j.issn.1671-6833.2021.02.009]
 Han Junxuan,Sun Weifeng,Zhao Ruilian,et al.CCF_CTC2020_paper_55:Automatic Program Repair Method ba<x>sed on Template[J].Journal of Zhengzhou University (Engineering Science),2021,42(02):62-67.[doi:10.13705/j.issn.1671-6833.2021.02.009]
点击复制

基于模板挖掘的程序自动修复方法()
分享到:

《郑州大学学报(工学版)》[ISSN:1671-6833/CN:41-1339/T]

卷:
42
期数:
2021年02期
页码:
62-67
栏目:
出版日期:
2021-04-12

文章信息/Info

Title:
CCF_CTC2020_paper_55:Automatic Program Repair Method ba<x>sed on Template
作者:
韩俊璇、孙伟峰、赵瑞莲、王微微
北京化工大学信息科学与技术学院;

Author(s):
Han Junxuan; Sun Weifeng; Zhao Ruilian; Wang Weiwei;
School of Information Science and Technology, Beijing University of Chemical Technology;

关键词:
Keywords:
DOI:
10.13705/j.issn.1671-6833.2021.02.009
文献标志码:
A
摘要:
基于模板挖掘的程序自动修复是近年来的研究热点,然而,由于修复信息存在一定的干扰,导致挖掘出的修复模板可用性不强,程序修复效果不佳。再者,如何利用修复模板对程序进行修复是程序自动修复的关键,但目前对此问题的研究较少。因此,本文从修复模板挖掘和程序自动修复两方面出发,提出了一种改进的程序自动修复方法,称为APRMT(Automatic Program Repair Method ba<x>sed on Template mining)。APRMT通过正则匹配消除修复信息中的无用信息,提高修复模板的准确性;依据程序缺陷代码位置与类型,采用最近最相关策略搜索针对程序缺陷的修复信息,利用修复模板对程序缺陷进行修复。实验表明:相较于现有的程序修复工具,APRMT能在更短时间内修复更多的程序缺陷,提升了程序自动修复的效果及效率。
Abstract:
In recent years, automatic repair of programs ba<x>sed on repair templates has been a research hotspot. However, because of the low accuracy of the repair information and the low availability of the repair template, the repair effect is not perfect. In order to improve the efficiency of automatic repair, how to use repair templates to repair the program is an important means, but there is little research on this issue at present. Therefore, from the perspective of repair template mining and automatic program repair, an improved program automatic repair method is proposed, called APRMT (Automatic Program Repair Method ba<x>sed on Template mining). APRMT can eliminate the noise of repair information through regular matching, and the accuracy of repair information is improved. According to the location and type of the program defect code to search and repair the information of the defect, the most recent strategy is proposed, which can efficiently use the repair template to repair the program defect. Experimental results show that: compared with existing program repair tools, APRMT can repair more program defects and improve the effect of automatic program repair.

相似文献/References:

[1]王华、马亚丹、李绅绅、徐静、徐明亮、张旭、金保华.三维场景中基于模板的个性化蒙版擦除动画[J].郑州大学学报(工学版),2021,42(02):75.[doi:10.13705/j.issn.1671-6833.2020.01.010]
 Wang Hua,Ma Yadan,Li Shenli,et al.A template-based 3D personalized erasure animation[J].Journal of Zhengzhou University (Engineering Science),2021,42(02):75.[doi:10.13705/j.issn.1671-6833.2020.01.010]
[2]肖永庆.叶轮渐开线外型几何尺寸计算[J].郑州大学学报(工学版),1995,16(01):98.
 Xiao Yongqing.Leaf wheel gradually opens the shape of geometric size calculation[J].Journal of Zhengzhou University (Engineering Science),1995,16(02):98.

更新日期/Last Update: 2021-05-30