Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 8.9
-
Component/s: Quality Gate, Web, Web API
-
Labels:
-
Edition:Community
Description
With SONAR-9352 we began ignoring QG conditions on coverage and duplications on new code when there are fewer than 20 new lines. We did this because of our own experiences with "diminishing returns" situations where the cumulative change sets were small and one or two uncovered lines caused the project to fail the QG.
However, not everyone sees this as a good thing, and it makes sense that in some industries - safety-related, E.G. - covering that single line of code is not a situation of diminishing returns, but one of absolute necessity.
We'll introduce a setting to disable this feature.
The setting can be change at instance level by an Administrator in the "General" section of the instance settings:
Quality Gate > Ignore duplication and coverage on small changes.
It can also be overridden for each project in the project settings.
Attachments
Issue Links
- is related to
-
SONAR-10231 Refine metric used by Quality Gate fudge factor for coverage
-
- Closed
-
-
SCCOMM-41 Provide a way to configure the Quality Gate fudge factor
-
- Open
-
-
SUPPORT-21961 Loading...
-
SUPPORT-23581 Loading...
- relates to
-
SONAR-10228 Calculate "New Lines of Code" metric
-
- Closed
-
- links to