# Analysis scope

{% content-ref url="/pages/klgrrreFtQbUOFro51DJ" %}
[Introduction](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/introduction.md)
{% endcontent-ref %}

{% content-ref url="/pages/eTNZxJDBPo27XiU5kwkE" %}
[Setting initial scope](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/setting-initial-scope.md)
{% endcontent-ref %}

{% content-ref url="/pages/d3d3uQfsCRlOoDfA67MP" %}
[Excluding based on path-matching patterns](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/excluding-files-based-on-patterns.md)
{% endcontent-ref %}

{% content-ref url="/pages/ATNSn6llzGTentFKTroM" %}
[Excluding based on file extension](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/excluding-based-on-file-extension.md)
{% endcontent-ref %}

{% content-ref url="/pages/HZVZaVzY5xL3n2ryq8cK" %}
[Excluding from coverage or duplication](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/exclude-from-coverage-duplication.md)
{% endcontent-ref %}

{% content-ref url="/pages/aqJ4jb24eKpqXZhyuTJf" %}
[Advanced exclusions](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/advanced-exclusions.md)
{% endcontent-ref %}

{% content-ref url="/pages/9UAiuLxL3w9Zw9mijGd7" %}
[Other analysis scope adjustments](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/other-adjustments.md)
{% endcontent-ref %}

{% content-ref url="/pages/wrauTE3qoShOOxCSPoPX" %}
[Verifying analysis scope](/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/verifying-analysis-scope.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
