METARO3: Metamorphic Relation Group for Automatic Program Repair

CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES(2019)

引用 0|浏览26
暂无评分
摘要
The application of metamorphic testing (MT) on automatic program repair (APR-MT) is used to generate a patch without test oracles by examining whether the input metamorphic relation (MR) is satisfied or not. However, the delivered patch is plausible since it may satisfy the input MR but violate other MRs. This inspires us to propose an improved approach to enhance the effectiveness of APR-MT with metamorphic relation group. Our approach involves three major steps. First, we formally define the repair process of APR-MT by building the model of automatic program repair and metamorphic testing separately. Then, we propose the advanced model of automatic program repair based on metamorphic relation group, named METARO(3), which takes several MRs as input while only one MR is used in APR-MT. We additionally present two kinds of selection strategies to rank MRs in descending order of the fault detection capability, which helps shorten the repair time of finding a patch. To demonstrate the feasibility and procedure of our approach, an illustration example was conducted. The results show that METARO(3) can improve the effectiveness of APR-MT significantly.
更多
查看译文
关键词
Automatic program repair,metamorphic testing,metamorphic relation,formal modeling
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要