Fault Localization for Declarative Models in Alloy
Fault Localization for Declarative Models in Alloy
复制标题
DOI:
10.1109/issre5003.2020.00044
复制
发表时间:
2018-07
期刊:
影响因子:
--
通讯作者:
Kaiyuan Wang;Allison Sullivan;D. Marinov;S. Khurshid
中科院分区:
文献类型:
--
作者:
Kaiyuan Wang;Allison Sullivan;D. Marinov;S. Khurshid
Fault localization is a popular research topic and many techniques have been proposed to locate faults in imperative code, e.g. C and Java. In this paper, we focus on the problem of fault localization for declarative models in Alloy – a first order relational logic with transitive closure. We introduce AlloyFLhy, the first fault localization technique for faulty Alloy models which leverages multiple test formulas. AlloyFLhy brings the traditional spectrum-based and mutation-based fault localization techniques to Alloy and combines both techniques to locate faults. To measure the effectiveness of AlloyFLhy, we define three distance metrics and use both distance-based and top-k metrics to measure the effectiveness of AlloyFLhy on 90 real faulty models. The results show that AlloyFLhy is substantially more effective than Alloy’s built-in unsat core.