Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using Sonar Embedded Engine

Java Project

Maven supports this mode with the following code coverage tools: JaCoCo, Cobertura, Emma and Clover.

...

Sample projects are available on github that can be browsed or downloaded: projects/code-coverage/combined ut-it/maven/combined-ut-it-multimodule-maven-jacoco

Non-Java Project

The following languages support running unit tests and code coverage tool:

For more details, browse the documentation of the plugin.

Reusing Existing Reports

Java Project

Every analyzer supports this reusing reports mode.

...

Depending on the code coverage tool you used to generate your report, replace jacoco by emmacobertura or clover in the property name.

Non-Java Project

The following languages support reusing generated unit tests execution and code coverage reports:

For more details, browse the documentation of the plugin.