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

André Silva, Matias Martinez, Benjamin Danglot, Davide Ginelli, Martin Monperrus
11/24/2021
cs.SE

Official code: ASSERT-KTH/flacoco (38 stars, Java, MIT, last commit 2026-10-26).

Abstract

Fault localization is an essential step in the debugging process. Spectrum-Based Fault Localization (SBFL) is a popular fault localization family of techniques, utilizing code-coverage to predict suspicious lines of code.

Show full abstract

In this paper, we present FLACOCO, a new fault localization tool for Java. The key novelty of FLACOCO is that it is built on top of one of the most used and most reliable coverage libraries for Java, JaCoCo. FLACOCO is made available through a well-designed command-line interface and Java API and supports all Java versions. We validate FLACOCO on two use-cases from the automatic program repair domain by reproducing previous scientific experiments. We find it is capable of effectively replacing the state-of-the-art FL library. Overall, we hope that FLACOCO will help research in fault localization as well as industry adoption thanks to being founded on industry-grade code coverage. An introductory video is available at https://youtu.be/RFRyvQuwRYA

View on arXivView PDF

Code Implementations(1)

ASSERT-KTH/flacocoOfficial100%
MIT

FLACOCO: Fault Localization for Java based on Industry-grade Coverage http://arxiv.org/pdf/2111.12513

3815JavaSep 11, 20201 months agoMIT
coveragefault-localizationhacktoberfestjavalocalization-tool

Similar Papers

Cite this paper

@article{silva2021flacoco,
  title  = {FLACOCO: Fault Localization for Java based on Industry-grade Coverage},
  author = {André Silva and Matias Martinez and Benjamin Danglot and Davide Ginelli and Martin Monperrus},
  year   = {2021},
  eprint = {2111.12513},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12513}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.12513.svg)](https://codeofpaper.com/paper/2111.12513)

Discussion