Difference in the code coverage from local to sonar board

Hi Team

We are pushing the code coverage report from our local to sonar board, there is a minute difference in the coverage report, Could you please check and let me know whey there is a difference, For example we have a repo called Asgard, Local percentage - 79 and in sonar board it was 77.1.

Thanks,
ManiDeepu

Hello @Mani_Deepu,

There is no guarantee that the SonarCloud code coverage will be the same as in your local code coverage provider. You can find out information on how SonarCloud is counting the coverage here: https://sonarcloud.io/documentation/user-guide/metric-definitions/#tests

Best,
Marcin

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.