Toward a theory of program repair

被引:2
|
作者
Khaireddine, Besma [1 ]
Zakharchenko, Aleksandr [2 ]
Martinez, Matias [3 ]
Mili, Ali [2 ]
机构
[1] Univ Tunis Manar, Tunis, Tunisia
[2] NJIT, Newark, NJ 07102 USA
[3] Univ Valenciennes, Valenciennes, France
关键词
FAULT; MUTATION;
D O I
10.1007/s00236-023-00438-4
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
To repair a program does not mean to make it (absolutely) correct; it only means to make it more-correct than it was originally. This is not a mundane academic distinction: given that programs typically have about a dozen faults per KLOC, it is important for program repair methods and tools to be designed in such a way that they map an incorrect program into a more-correct, albeit still potentially incorrect, program. Yet in the absence of a concept of relative correctness, many program repair methods and tools resort to approximations of absolute correctness; since these methods and tools are often validated against programs with a single fault, making them absolutely correct is indistinguishable from making them more-correct; this has contributed to conceal/obscure the absence of (and the need for) relative correctness. In this paper, we propose a theory of program repair based on a concept of relative correctness. We aspire to encourage researchers in program repair to explicitly specify what concept of relative correctness their method or tool is based upon; and to validate their method or tool by proving that it does enhance relative correctness, as defined.
引用
收藏
页码:209 / 255
页数:47
相关论文
共 50 条