| Info | ||
|---|---|---|
| ||
Cxx Plugin does not run any tests or produce coverage results, reports thus test and coverage reports must be created before running the analysis |
...
| Code Block |
|---|
gcovr -x -r . > report.xml |
Bullseye
...
Bullseye coverage tool is now supported, the command 'covxml' can be used to create the XML report. Once xml reports is available it can be imported using the properties sonar.cxx.coverage.reportPath, sonar.cxx.coverage.itReportPath and sonar.cxx.coverage.overallReportPath
(from 0.2)
- Create xml coverage report
| Code Block |
|---|
covxml -f -r UTCoverage.cov > report-o bullseyecoverage-result-0.xml |
Merging coverage results to obtain global coverage
- Merging coverage reports for overall coverage
| Code Block |
|---|
covmerge -c ITCoverage.cov UTCoverage.cov -f ALLCOVERAGE.cov |
Notes about coverage display in sonar:
...

