Code Quality Specs

Code quality specifications enforce maintainability metrics: complexity limits, duplication thresholds, and test coverage minimums. These rules keep the codebase healthy over time.

Specs in this category

ID Spec Enforcement Severity
CQ-001 Cyclomatic Complexity Limit SonarQube major
CQ-002 No Code Duplication SonarQube major
CQ-003 Test Coverage Minimum SonarQube major

How These Are Enforced

Code quality specs are enforced via SonarQube quality gates. These metrics are evaluated on every PR and block merge if thresholds are not met.