sonar-scoverage-plugin icon indicating copy to clipboard operation
sonar-scoverage-plugin copied to clipboard

Provide branch coverage information to Sonar

Open orium opened this issue 9 years ago • 2 comments

The current version does not seem to give Sonar branch coverage information. This is an important metric that would be nice to have available.

orium avatar Jan 08 '16 16:01 orium

This plugin does not actually compute any coverage. It uses the https://github.com/scoverage/scalac-scoverage-plugin to do the job and then only uploads the results to Sonar. Scoverage is meant to compute statement coverage by definition. For branch coverage you can try use a tool for Java which uses bytecode as the source.

RadoBuransky avatar Jan 10 '16 06:01 RadoBuransky

I believe scoverage computes the branch coverage already.

orium avatar Jan 10 '16 22:01 orium