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
SonarCloud passes on low coverage - SonarQube - Sonar Community
CodeScene SonarQube plug-ins and code coverage metrics
SonarLint vs SonarQube - TatvaSoft Blog
maven - SonarQube not picking up Unit Test Coverage - Stack Overflow
Test Coverage Discrepancies Between Local Environment and SonarCloud - SonarCloud - Sonar Community
Fixing SonarCloud code coverage condition count with multiple .NET
unit testing - In SonarQube what is the difference in meaning
Reduced coverage but quality gate still passes - SonarCloud - Sonar Community
CodeScene SonarQube plug-ins and code coverage metrics