CodeCoverage measures are wrong in the SonarQube after upgrade

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube 7.9.3
    Sonar Scanner
    Checkstyle 4.30 installed

  • what are you trying to achieve
    Real coverage is approx. 98%
    What I see in the SonarQube - 0 %.

  • what have you tried so far to achieve this

Not so far I upgraded SonarQube from 6.7 to 7.9 and all plugins. Before the upgrade code coverage worked as expected.

My project structure hasn’t been changed
Also, I checked External analyzer setting:

I don’t have any ideas why this happened, could somebody hint to me how can I debug it?


I guess you’ve been using JaCoCo with the .exec report format? That’s no longer supported. You’ll want to generate an XML report instead and pass it in using the sonar.coverage.jacoco.xmlReportPaths parameter.