flacoco is a robust fault localization tool for Java based on Jacoco and test-runner.
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},
}
- 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 17 bytecode.
- Runs on Java 8 to Java 17.
- Runs on Linux, MacOS and Windows.
- Stability: Tests are executed in an isolated JVM.
flacoco is currently available through Maven Central and as a SNAPSHOT
You can use it by installing locally yourself (if you do so, the install version will be 1.0.7-SNAPSHOT
), or by adding flacoco as a maven dependency:
$ mvn install -DskipTests
<dependency>
<groupId>com.github.spoonlabs</groupId>
<artifactId>flacoco</artifactId>
<version>1.0.6</version>
</dependency>
The documentation lives in the Github wiki at https://github.com/SpoonLabs/flacoco/wiki
External contributions are welcome.