Code coverage on Sonarcloud doesn't match Visual Studion code coverage

Hi

Our code coverage % doesn’t match the cloud coverage on Visual Studio. The line numbers does match.

Please assist.

Regards
Rudolph

Hi Rudolph,

Welcome to the community!

Do you have in-file annotations to exclude some files from coverage? If so, that could be what’s going on. This blog post explains why.

 
HTH,
Ann