| Code coverage | Maintainability - Universal | The proportion of the application code which is executed (in this context: during testing) | The higher the code coverage, the more thorough the testing, and therefore the higher the likelihood of detecting functional issues early | Must use SonarQube's default [rules, profiles and gateways](tools/sonarqube.md#default-quality-gates) <br/><br/> Build pipeline must fail if gateway test coverage is not met <br/><br/> For [new code](tools/sonarqube.md#definition-of-new-code), must meet coverage specified in default Sonarqube gateway. <br/> For legacy code, coverage amount can be initially lowered to deal with historic tech debt. But must have a plan for increasing coverage over time. | Current coverage is understood and checks can be conducted manually. Criteria exists for thresholds (should account for meaningful coverage, and may also account for legacy code) | [SonarQube](tools/sonarqube.md) (in conjunction with testing frameworks) | |
0 commit comments