Quality Gate check passed with No coverage information

Hi!

  • We’re using SonarQube Developer Edition Version 8.7 (build 41497)
  • Recently we have enabled “Sonar way” quality gate by default where the coverage is expected to be not less than 80%.
  • Why then is the gate status indicated as passed, for PR analysis, in the case the condition hasn’t been met, namely No coverage information provided?

Hi,

Thanks for providing the screenshot. As you can see, it indicates that no coverage reports were provided to analysis. IIRC, we assume that if you don’t provide coverage reports then you obviously don’t care about coverage.

 
HTH,
Ann

1 Like