Context:
- Enterprise Edition - Version 7.6 (build 21501)
SonarQube plugins:- License for SonarLint 7.6 (license)
- SonarJava 5.12.1.17771 (java)
Project server settings: - sonar.issue.ignore.block=1
- sonar.leak.period=14
Project scanner properties: - sonar.branch.name=feature/something
- sonar.branch.target=develop
- sonar.scanner.app=ScannerGradle
- sonar.scanner.appVersion=2.7-SNAPSHOT/5.3.1
- sonar.sourceEncoding=UTF-8
So i just did an analysis of my short lived branch and there are several problems that i can’t understand. They might be related.
- It shows me whole classes as if they are new, even though i’ve only modified a line in them.
- The QG hasn’t failed even though the coverage of new code is 64% and the project has it set up as “<70%” .
- When i look at the QG result, i don’t see the rules that are applied to the project. This makes me think that the QG is not doing anything against short-lived branches.
My branch is rebased and up to date with develop ( which is the long lived branch)
I’ll attach some screenshots.
Any ideas what’s going on?
Thank you.