Skip to content

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

License

Notifications You must be signed in to change notification settings

ASSERT-KTH/flacoco

Folders and files

NameName
Last commit message
Last commit date
Feb 27, 2025
Dec 11, 2024
Dec 11, 2024
Jul 16, 2021
Jun 16, 2021
Apr 5, 2023
Feb 22, 2024
Mar 31, 2025
Jul 22, 2024

Repository files navigation

flacoco · tests codecov Supported Platforms Maven Central

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.

Installation

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>

Documentation

The documentation lives in the Github wiki at https://github.com/SpoonLabs/flacoco/wiki

Contributing

License

MIT License

Pull requests

External contributions are welcome.

Related tools