Using Sonar Quality Gates
Blocker Issues
No
is greater than
10
20
Coverage
No
is less than
50%
40%
Coverage on New Code
Always
is less than
60%
50%
Critical Issues
No
is greater than
40
60
Duplicated Lines (%)
No
is greater than
30%
40%
Duplicated Lines on New Code (%)
Always
is greater than
20%
30%
Maintainability Rating
Never
is worse than
C
D
Maintainability Rating on New Code
Always
is worse than
C
D
New Blocker Issues
Always
is greater than
0
10
New Critical Issues
Always
is greater than
10
20
Reliability Rating
Never
is worse than
C
D
Reliability Rating on New Code
Always
is worse than
C
D
Security Rating
Never
is worse than
C
D
Security Rating on New Code
Always
is worse than
C
D
No
is greater than
10
20
Coverage
No
is less than
50%
40%
Coverage on New Code
Always
is less than
60%
50%
Critical Issues
No
is greater than
40
60
Duplicated Lines (%)
No
is greater than
30%
40%
Duplicated Lines on New Code (%)
Always
is greater than
20%
30%
Maintainability Rating
Never
is worse than
C
D
Maintainability Rating on New Code
Always
is worse than
C
D
New Blocker Issues
Always
is greater than
0
10
New Critical Issues
Always
is greater than
10
20
Reliability Rating
Never
is worse than
C
D
Reliability Rating on New Code
Always
is worse than
C
D
Security Rating
Never
is worse than
C
D
Security Rating on New Code
Always
is worse than
C
D