Fault Localization for Declarative Models in Alloy

07/23/2018
by   Kaiyuan Wang, et al.
0

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 AlloyFL, the first set of fault localization techniques for faulty Alloy models which leverages multiple test formulas. AlloyFL is also the first set of fault localization techniques at the AST node granularity. We implements in AlloyFL both spectrum-based and mutation-based fault localization techniques, as well as techniques that are based on Alloy's built-in unsat core. We introduce new metrics to measure the accuracy of AlloyFL and systematically evaluate AlloyFL on 38 real faulty models and 9000 mutant models. The results show that the mutation-based fault localization techniques are significantly more accurate than other types of techniques.

READ FULL TEXT

page 7

page 9

research
11/24/2021

FLACOCO: Fault Localization for Java based on Industry-grade Coverage

Fault localization is an essential step in the debugging process. Spectr...
research
09/23/2021

Fault Localization in Cloud using Centrality Measures

Fault localization is an imperative method in fault tolerance in a distr...
research
03/27/2018

An Empirical Study of Fault Localization Families and Their Combinations

The performance of fault localization techniques is critical to their ad...
research
05/05/2023

Flock: Accurate network fault localization at scale

Inferring the root cause of failures among thousands of components in a ...
research
02/19/2021

FLACK: Counterexample-Guided Fault Localization for Alloy Models

Fault localization is a practical research topic that helps developers i...
research
04/25/2021

Mutant Density: A Measure of Fault-Sensitive Complexity

Software code complexity is a well-studied property to determine softwar...
research
05/08/2023

Debugging Flaky Tests using Spectrum-based Fault Localization

Non-deterministically behaving (i.e., flaky) tests hamper regression tes...

Please sign up or login with your details

Forgot password? Click here to reset