How can I configure SonarQube quality gates to block pull requests based on cyclomatic complexity and duplicate code metrics in our enterprise pipeline?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
How can I configure SonarQube quality gates to block pull requests based on cyclomatic complexity and duplicate code metrics in our enterprise pipeline?
2 real searches · 1 real-search pass
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
Classifying 2 queries…
Searches and sources
ChatGPT2 real searches · gpt-6
site:docs.sonarsource.com sonarqube quality gate conditions complexity duplicated lines pull request new code Google ↗
site:docs.sonarsource.com sonarqube metric complexity cognitive_complexity duplicated_lines_density metric keys Google ↗
- Understanding quality gates | SonarQube Server 2026.1 LTA · docs.sonarsource.com
- Understanding quality gates | SonarQube Community Build · docs.sonarsource.com
- Understanding measures and metrics | SonarQube Server · docs.sonarsource.com
- Managing your project's quality gate | SonarQube Server 2026.1 LTA · docs.sonarsource.com
Queries
2 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
site:docs.sonarsource.com sonarqube quality gate conditions complexity duplicated lines pull request new code OBSERVED | Google ↗ AI Mode ↗ | — | — | — | — | 1x of 1 | |
site:docs.sonarsource.com sonarqube metric complexity cognitive_complexity duplicated_lines_density metric keys OBSERVED | Google ↗ AI Mode ↗ | — | — | — | — | 1x of 1 |