> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-cloud/quickstart-guides/project-coverage.md). Agents can also search and read this documentation through its [MCP server](https://docs.sonarsource.com/~gitbook/mcp).

# Project coverage

Project coverage helps SonarQube Cloud organization admins bind their organization, import repositories, and analyze projects, and tracks that progress over time.

Project coverage shows whether every repository in your organization is connected, imported, and actually being scanned. Gaps at any step mean that code is not getting analyzed for quality or security issues. Close those gaps by working through three steps: bind your organization to its DevOps organization, import your repositories, and get your projects analyzed. Go to *Your organization* > **Project coverage** to access the page. A progress chart tracks how far you've gotten along the way, and a full project list at the bottom of the page lets you act on individual projects directly.

<figure><img src="https://2223713658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB4UT2GNiZKjtxFtcFAL7%2Fuploads%2Fgit-blob-8ee9b95941f6cf4759554a8bbb43579e4b691983%2Fsonarqube-cloud-product-coverage-page.png?alt=media" alt="The Project coverage page showing Organization binding, Repositories imported, and Projects analyzed."><figcaption></figcaption></figure>

## Required permissions

You need the **Administer** permission to view Project coverage. With this permission, the page shows all projects in your organization, regardless of your project-level permissions.

To import repositories or configure a project from the **Project coverage** page, you also need the **Create projects** permission. See the [Managing organization permissions](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/managing-organization/users-and-permissions/organization-permissions.md) page for more information.

If you do not have access to a linked DevOps platform or its repository, selecting it shows an error. This happens because of your access level on the DevOps platform itself, not a permissions problem with your SonarQube Cloud organization.

## Organization binding

Binding your organization to its DevOps organization is the foundation every other step depends on. Until your organization is bound, the **Repositories imported** and **Projects analyzed** cards stay locked, and there's nothing to import repositories from.

Select **Organization binding** to see whether your organization is bound. If it shows **Unbound**, select **Bind organization**. See the [Binding an unbound organization](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/managing-organization/creating-organization/binding-unbound-organization.md) page for more information.

A bound organization shows **Bound** on the card, and the panel displays the current binding between your SonarQube Cloud organization and its DevOps organization. Select **View binding** to see the binding details. See the [Changing organization binding](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/managing-organization/creating-organization/changing-organization-binding.md#viewing-organization-binding-details) section for more information.

After you bind your organization, you're ready to import its repositories.

## Repositories imported

Importing a repository is what turns it into a SonarQube Cloud project that can actually be analyzed. Repositories left un-imported never get scanned.

Select **Repositories imported** to see how many repositories you've imported from your DevOps organization. Then select **Import** to open the **Import repositories** dialog, which lists the repositories of that organization with their visibility and import status (**Imported** or **Not imported**). Use **Search repositories** or **Visibility** to narrow the list.

To import every eligible repository, including repositories on other pages and repositories hidden by the search and visibility filters, select **Select all**, and then select **Import all repositories**. Keep the browser tab open until the import finishes.

### Importing from the command line

Use the SonarQube CLI to import repositories without opening the dashboard. The `sonar import` command is Beta.

Before you start:

* Make sure you are an administrator of your organization.
* Make sure your organization is bound to a DevOps platform that the command supports.
* [Install the SonarQube CLI](https://docs.sonarsource.com/sonarqube-cli/quickstart-guide.md) and [authenticate](https://docs.sonarsource.com/sonarqube-cli/quickstart-guide.md#step-2-authenticate).

Run `sonar import` and choose how to select repositories, or pass one of these options:

* `--all` imports every eligible repository.
* `--repo` imports the repositories you name, for example `my-org/my-repo`.
* `--regex` imports repositories whose name matches a regular expression.

A repository is eligible when it has not already been imported and your organization's project visibility settings allow it. When the command finishes, it prints how many repositories it imported and a link to the **Project coverage** page of your organization. Open it to configure analysis for the imported projects.

For the supported DevOps platforms, all options, and examples of this command, see the [sonar import](https://docs.sonarsource.com/sonarqube-cli/using-sonarqube-cli/commands.md#sonar-import) section of the SonarQube CLI commands page.

With your repositories imported, the next step is getting them analyzed.

## Projects analyzed

Analysis is where coverage becomes real value: an imported project that's never analyzed is still not producing the quality or security results that a SonarQube Cloud analysis can provide.

Select **Projects analyzed** to check how many of your imported projects have been analyzed. To configure a project, select **Configure scanners**, then select **Configure** next to the project to go to its **Analysis method** page; there, you choose how to run the analysis:

* [Automatic analysis](https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/automatic-analysis.md)
* [Github Actions](https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/ci-based-analysis/github-actions-for-sonarcloud.md)
* [CircleCI](https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/ci-based-analysis/circleci.md)
* [Other CIs](https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/ci-based-analysis/other-cis.md)
* Manually, for testing

Projects that come from a monorepo show a `Monorepo project: <parent-repo>` label under the project name, identifying which projects share a single repository source. Because a single monorepo repository can contain multiple SonarQube Cloud projects, templating and scripting your configuration at scale needs to account for each project's path within the repository individually. See the [Monorepo support](https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/monorepo-support.md) page for more information.

## Project coverage timeline

Binding your organization, importing repositories, and analyzing projects give you a quick snapshot of where you stand right now. The **Project coverage timeline** complements that snapshot by tracking your progress over time, charting your projects analyzed and repositories imported. The graph appears when you bind your organization and builds from there.

<figure><img src="https://2223713658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB4UT2GNiZKjtxFtcFAL7%2Fuploads%2Fgit-blob-9a2277bbb7212f38b83d720e63d00fe09d0b1c39%2Fsonarqube-cloud-project-coverage-timeline.png?alt=media" alt="The Project coverage page&#x27;s Project coverage timeline, a line chart showing two upward trends over time: projects analyzed and repositories imported."><figcaption></figcaption></figure>

Additional statistics below the chart stay locked until you import your first repository.

## All projects

Organization binding, Repositories imported, Projects analyzed, and the Project coverage timeline track your aggregated progress and provide metrics to help you gain an overview. The **All projects** list helps you filter, find, and act on that progress, project by project.

This section shows a complete overview of every project in your organization. Use **Search projects** to find a specific project, or filter the list by **Analysis status** (All, Analyzed, or Not analyzed) and **Analysis mode** (All, CI-based analysis, Automatic analysis, or None).

Each row lists the repository name, its analysis status, its analysis mode, and the date of its last analysis.

Select the **⋮** menu next to a project to see **Configure CI analysis**, **Restore access**, or **View project**. Projects with a last analysis date also show **Re-run automatic analysis**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sonarsource.com/sonarqube-cloud/quickstart-guides/project-coverage.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
