Since we moved to Java 8, it seems that coverage is not properly reported for some of our classes in SonarQube anymore after jacoco analysis. I retrieved the generated jacaco.exec file and ran the following command:
java -jar org.jacoco.cli-0.8.1-nodeps.jar execinfo jacoco.exec
In the output, I can find the following:
bd50a72c341d08f8 85 of 152 com/smartplanet/api/reporting/SmartReportingHelper
Which makes me think that this class is (at least partly) covered. But SonarQube reports 0% coverage on this class (whereas for other classes of the same project, coverage seems to be correct).
Any clue? Is there a way to activate more logs in order to understand this issue?
Thanks a lot!