"New Code" in PR and Banch

We are using Sonarqube developer edition for both PR and Branch. The quality gate is defined on “new code” as we want to start to focus on new added code. Here we want to know is there any difference of scope for New Code in PR and Branch. We found, in some case, the PR passed our quality gate but branch fails. thanks


New Code and New Added Code should be the same thing.

Were the failures about coverage or duplications? If so, this may be relevant:

SONAR-10485 - Provide a way to configure the Quality Gate fudge factor


Yes. should be relevant. Vote for this issue.

1 Like