Description
Task Description
This is the master task for setting up code coverage and quality analysis using Sonarqube.
Tasks
The following tasks will need to be carried out:
Code coverage tasks:
- Get code coverage and code quality analysis to work with JaCoCo:
- Get unit tests executed with the
maven-surefire-plugin
to produce JaCoCo coverage. - Get integration tests executed with the
maven-failsage-plugin
to produce JaCoCo coverage. - Merge the reports and publish them to Sonarqube.
- Get unit tests executed with the
- The code coverage and quality analysis should be done in a Maven profile and not be .
- Code coverage in pull requests.
- PMD/CPD/Findbugs for code duplication and additional analysis.
Apply this to the following projects:
Useful links
Help
- Our chat
- Points of contact: