Difference in the codecoverage 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

I did not manage to find the repo you are talking about, but my initial guess is that you have some files not included in the report you are providing to SonarCloud. This can happen if you have code with another language, or if you set up file exclusion in your coverage tool. You should make sure to exclude the files or provide coverage information for them.

Hope it helps,
Quentin

Hi @Quentin , Thanks and let me have a look, But FYI, I got the information from one of member from the support team as below, Could you please let me know if that still valid.

Thanks,
ManiDeepu

Yes, it is still valid.