Start FreeLog in
SonarQube Cloud | Managing your project | Setting up project analysis | Quality gate

Changing the quality gate and fugde factor of your project

On this page

The organization's default quality gate is applied by default to your project. As a project administrator, you can apply other standards to your project. In addition, you can change the fudge factor used for quality gate computation for your project.

Changing the quality gate applied to your project

  1. Retrieve your project.
  2. In the left navigation bar, select Administration > Quality Gate.
  3. Select Use a specific quality gate, and select the quality gate in the list.
  4. Select Save.

Changing the quality gate fudge factor of your project

The quality gate fudge factor refers to a mechanism where conditions on duplication and coverage are ignored until the number of new lines is at least 20. This is used to avoid overly strict enforcement when dealing with small changes, as minor issues might disproportionately impact the overall quality gate status. 

The fudge factor is enabled by default in your organization. This organization's setting is applied to all new projects. Project administrators can override it for their project.

To enable or disable the fudge factor for your project:

  1. Retrieve your project.
  2. In the left navigation bar, select Administration > Quality Gate.
  3. Unselect or select Ignore duplication and coverage on small changes.
  4. Select Save.

Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License