Hi,
I’m using SonarQube Developer Edition 8.4.1
and running the analysis using the mvn sonar:sonar command and integrated code coverage with Jacoco plugin. SonarQube reports % code coverage for unit tests but doesn’t show Unit tests counts.
This was working when we specifying the Jacoco.exe and path for the maven plugin and its broken after SonarQube upgraded to 8.2 and later with Jacoco integration using XML
I’m no JaCoCo expert so I can’t tell you how to (or even whether you can) add those numbers to the file. I can only tell you that if they’re not there, SonarQube can’t/won’t calculate them on its own. I suspect this is a separate report. In fact, from the docs it looks like you need a Surefire report.