Remarque
GitHub Code Quality is currently in public preview and subject to change. During public preview, Code Quality will not be billed, although Code Quality scans will consume GitHub Actions minutes.
Prerequisites
- If your organization belongs to an enterprise, an enterprise owner must enable Code Quality for your organization. See Allowing use of GitHub Code Quality in your enterprise.
- Your organization must have repositories with Code Quality enabled. See Enabling GitHub Code Quality.
Viewing code quality insights for your organization
-
On GitHub, navigate to the main page of your organization. For example, from https://github.com/settings/organizations.
-
Under your organization name, click Security.

-
In the "Metrics" section of the sidebar, click Code quality.
Remarque
The dashboard only displays data for repositories where the viewer can see code quality findings.
Interpreting the score distribution chart
The score distribution chart provides a visual overview of the code health of your organization. Each bubble represents a collection of repositories with the same maintainability and reliability scores.
- The position of each bubble demonstrates the overall health of those repositories. Higher bubbles represent higher maintainability scores, while bubbles further to the right represent higher reliability scores.
- The color and border pattern of a bubble indicate the severity of the lower score for those repositories. For example, a bubble with a "Needs improvement" score in either category will always be red with a dashed border.
- The size of each bubble represents the number of repositories with that particular score combination.
To view the maintainability score, reliability score, and number of repositories represented by a particular bubble, hover over the bubble.
Exploring the repository table
Below the bubble chart, there is a table that lists all repositories in your organization. Here, you can view code quality findings, along with more detailed information about those findings.
You can sort the repository table in ascending or descending order for any column by clicking the column header.
Investigating low-scoring repositories
- To filter the dashboard data for the lowest-performing repositories, on the score distribution chart, click the bubble with the lowest combined scores.
- Scroll down to the repository table. By default, the table is sorted from most to least recent repository scan, helping you prioritize current quality issues.
- Optionally, to prioritize repositories with the highest number of CodeQL findings, click Standard Findings twice.
- To view the repository-level dashboard for a specific repository, click the repository's name.
Next steps
To understand the code health information available on the repository-level dashboard, see Interpreting the code quality results for your repository.