Skip to content
André Silva edited this page Jul 5, 2021 · 15 revisions

Displayed below is the full reference of flacoco CLI. You can always obtain this information by running flacoco with the option --help.

Usage: FlacocoMain [-hVv] [--coverTest] [--testRunnerVerbose] [-c=<classpath>]
                   [-f=<spectrumFormula>] [--format=<format>]
                   [--jacocoClasspath=<customJacocoClasspath>]
                   [--junitClasspath=<customJUnitClasspath>]
                   [--mavenHome=<mavenHome>] [-o=<output>] [-p=<projectPath>]
                   [--testRunnerJVMArgs=<testRunnerJVMArgs>]
                   [--testRunnerTimeoutInMs=<testRunnerTimeoutInMs>]
                   [-w=<workspace>]
Flacoco: fault localization
  -c, --classpath=<classpath>
                            Classpath of the project under analyzis.
      --coverTest           Indicates if coverage must also cover the tests.
  -f, --formula=<spectrumFormula>
                            Spectrum formula to use. Valid values: OCHIAI
      --format=<format>     Format of the output. Valid values: CSV, JSON
  -h, --help                Show this help message and exit.
      --jacocoClasspath=<customJacocoClasspath>
                            Classpath to jacoco dependencies
      --junitClasspath=<customJUnitClasspath>
                            Classpath to junit dependencies
      --mavenHome=<mavenHome>
                            Path to maven home
  -o, --output=<output>     Path to the output file. If nothing is specified,
                              output will be printed to stdout.
  -p, --projectpath=<projectPath>
                            Path to the project to analyze.
      --testRunnerJVMArgs=<testRunnerJVMArgs>
                            JVM args for test-runner's test execution VMs
      --testRunnerTimeoutInMs=<testRunnerTimeoutInMs>
                            Timeout for each test execution with test-runner.
      --testRunnerVerbose   Test-runner verbose mode.
  -v                        Verbose mode.
  -V, --version             Print version information and exit.
  -w, --workspace=<workspace>
                            Path to the workspace directory of flacoco.

Clone this wiki locally