Not check coverage on new code


We have a new PR that doesn’t show the code coverage on Sonar. Even though we set the quality gate with coverage = 50%, the PR still passed without coverage.

As per the screenshot, you can see there is 0% coverage on 9 new lines to cover, and none of them are excluded from the exclusion list.

@Colin Could you pls take a look at this? we got a lot of PRs which is passed the Sonar gate without matching the gate condition.
Is there any change in SonarCloud that could lead to this issue?

Hey there.

Please don’t tag individuals not already involved in the thread. You might think it bumps it to the top of our list, but it actually puts it on the bottom.

Take a look at our FAQ

Sorry @Colin, but our issue is quite urgent. It breaks our quality control.

Thank you.

Please have a look at this post:

1 Like

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