Skip to content

Code Coverage is falsely calculated in deploy command reportsΒ #2

@xL3o

Description

@xL3o

I first wanted to thank you for providing this plugin! It does exactly what it should.

However, once I import the code coverage report to SonarQube's generic test coverage report path (sonar.coverageReportPaths), it shows the uncovered lines but the code coverage stays at 0%.

Example:
image

The apex unit tests cover all lines of the SP_Access...cls file except 70-75. This is also shown in SonarQube:
image

Nevertheless, the Code Coverage for that class is 0%.
image

Is it a SonarQube configuration issue, or does the code coverage report need to contain all covered lines also?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions