Deleted code coverage condition from quality gate, but still coverage is showing as 0.0%


We have deleted the code coverage condition from quality gate for an project in sonar cloud where test cases doesn’t exists after latest analysis also we see the coverage is showing as 0.0%.

Any help/suggestion for the existing issue.


Hey there.

Removing a condition from your Quality Gate doesn’t mean that SonarCloud will stop calculating a metric, just that it will no longer be used to decide if your Quality Gate passes or fails.

You can however set your analysis scope to exclude al files (**/*) from code coverage calculation.

Hi @Colin ,

Thanks for the suggestion provided this resolved the issue. Hence we are good to close the thread.


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