versions: Sonar Qube Developer Edition Version 7.7 (build 23042), Sonar maven plugin org.sonarsource.scanner.maven:sonar-maven-plugin:184.108.40.2068
We evaluated Sonar Qube Developer Edition, and found one blocker issue.
The problem is with the calculation of code coverage and coverage related quality gate for short-lived branches and pull requests.
When we run an analysis for short-lived branch with 54 new lines of code without any coverage, we receive the following stats:
So Coverage is not calculated, and the quality gate is considered as passed (which is wrong).
Exactly same build targeted to sonar cloud works correct (Coverage 0, quality gate failed as expected):
(can’t post image)
We noticed several topics on sonar source forum about similar issues but didn’t find a working solution for SonarQube Developer Edition.
Please provide feedback on what information should I provide to assist in the investigation of this issue.