flacoco is a fault localization tool for Java based on Jacoco and test-runner that aims at encompassing several fault localization techniques.
- Ease of use: With an intuitive, reliable and stable API, flacoco can be easily used in other projects such as automated program repair tools.
- Compatibility:
- Supports JUnit3, Junit4 and JUnit5.
- Supports Java 1 to Java 16 bytecode.
- Runs on Java 8 to Java 16.
- Runs on Linux, MacOS and Windows.
- Stability: Tests are executed in an isolated JVM.
If you use flacoco in academic research, please cite "FLACOCO: Fault Localization for Java based on Industry-grade Coverage", Technical report, arXiv 2111.12513, 2021.
@techreport{flacoco2021,
title = {FLACOCO: Fault Localization for Java based on Industry-grade Coverage},
year = {2021},
author = {André Silva and Matias Martinez and Benjamin Danglot and Davide Ginelli and Martin Monperrus},
url = {http://arxiv.org/pdf/2111.12513},
number = {2111.12513},
institution = {arXiv},
}flacoco is currently only available as a SNAPSHOT.
You can use it by installing locally yourself, or by adding flacoco as a maven dependency:
$ mvn install -DskipTests<dependency>
<groupId>com.github.spoonlabs</groupId>
<artifactId>flacoco</artifactId>
<version>1.0.2</version>
</dependency>The documentation lives in the Github wiki at https://github.com/SpoonLabs/flacoco/wiki
External contributions are welcome.