# Introduction

The project team sets the initial analysis scope of their project and may adjust it by using exclusion features (for more information, see [setting-analysis-scope](https://docs.sonarsource.com/sonarqube-community-build/project-administration/adjusting-analysis/setting-analysis-scope "mention")). As a system administrator, you can define an analysis scope adjustment at the global level in the UI. These settings apply by default to all projects and can be overridden at the project level.

To adjust the analysis scope at the global level, you can:

* Exclude specific files from:
  * The duplication check
  * The code coverage analysis
* Exclude files based on path-matching patterns.

In very few situations, you may have to use the advanced exclusion features.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [exclude-from-coverage-duplication](https://docs.sonarsource.com/sonarqube-community-build/instance-administration/analysis-functions/analysis-scope/exclude-from-coverage-duplication "mention")
* [excluding-files-based-on-file-paths](https://docs.sonarsource.com/sonarqube-community-build/instance-administration/analysis-functions/analysis-scope/excluding-files-based-on-file-paths "mention")
* [advanced-exclusion-features](https://docs.sonarsource.com/sonarqube-community-build/instance-administration/analysis-functions/analysis-scope/advanced-exclusion-features "mention")
* [setting-analysis-scope](https://docs.sonarsource.com/sonarqube-community-build/project-administration/adjusting-analysis/setting-analysis-scope "mention")


---

# 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-community-build/instance-administration/analysis-functions/analysis-scope/introduction.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.
