By A Mystery Man Writer
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
Implementing SonarQube code coverage in a simple JavaScript
Sonar guidance for coverage in GitHub Actions builds - SonarCloud
Improving Code Quality with SonarCloud, by Nicola Feltrin
SonarCloud coverage changes every time - SonarCloud - Sonar Community
How to use Sonar in your project
Elevating Code Quality: The Power of Static Code Analysis in Modern Software Development, by Moataz Nabil, AVIV Product & Tech Blog
SonarQube Tutorials – Step by Step Guide - DevOps Courses and
Sonar Cloud FINOS Community
How to use Sonar in your project
Reduced coverage but quality gate still passes - Sonar Community
Code coverage not being displayed on SonarCloud even with all
How to Add SonarQube to the Continuous Integration Process