Language: Deutsch · English
Code coverage with JaCoCo – offline weaving, coverage profile and report generation.
HOW-TO DEVELOPER STAND: JUL 2026 GILT FUER NUCLOS 4.2026.X
Auf dieser Seite
Code coverage of the Nuclos build and the integration tests is measured with JaCoCo (from v4.2024.13).
jacoco-maven-plugin after javac but before the AspectJ bytecode manipulation (runtime online weaving did not work for Nuclos due to AspectJ/Spring weaving).$NUCLOS_GIT_ROOT/target/jacoco.exec.Activation via the Maven profile coverage, e.g. for the Tomcat server integration tests:
mvn clean verify -Dlocale=de_DE -Dtest.webclient.skip=true -P coverage,test,test-tomcat
Create a report per module:
mvn jacoco:report@coverage-report
Sonar integration
The Sonar code analysis automatically uses the JaCoCo reports if present.