SonarCloud passes on low coverage - SonarQube - Sonar Community

$ 8.50 · 4.9 (742) · In stock

Hello! My sonar check passes on PRs, despite the low coverage on the new code. I’ve added two one-liners with no tests. Sonar was able to find the non-tested code and show that 2 new lines need to be covered. It correctly shows 0% coverage. However, the quality gate passes. The quality gate of the project is set to Sonar Way, which requires at least 80% of coverage. Version: org.sonarqube.sonar version 3.4.0.2513

Test Coverage Discrepancies Between Local Environment and

SonarQube not showing up the % of Coverage of New Code since

How to use Sonar in your project

Test Coverage Discrepancies Between Local Environment and

How to test sonar coverage percent on local - SonarCloud - Sonar Community

SonarCloud passes on low coverage - SonarQube - Sonar Community

Android - Code Coverage with JaCoCo and Sonar

Reduced coverage but quality gate still passes - SonarCloud

c# - Why my code coverage is zero percent even unit test all

Sonar Quality Gate Passes With 0% Code Coverage - SonarQube

SonarQube, Coverlet and .NET Core Code Analysis – programmium