Skip to main content

Explorando os resultados da Qualidade do Código do GitHub em sua organização

Entenda a saúde do código da sua organização rapidamente com o painel de nível organizacional para Code Quality.

Quem pode usar esse recurso?

Organization members

Observação

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

Viewing code quality insights for your organization

  1. On GitHub, navigate to the main page of your organization. For example, from https://github.com/settings/organizations.

  2. Under your organization name, click Security.

    Screenshot of the horizontal navigation bar for an organization. A tab, labeled with a shield icon and "Security," is outlined in dark orange.

  3. In the "Metrics" section of the sidebar, click Code quality.

Observação

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

  1. To filter the dashboard data for the lowest-performing repositories, on the score distribution chart, click the bubble with the lowest combined scores.
  2. 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.
  3. Optionally, to prioritize repositories with the highest number of CodeQL findings, click Standard Findings twice.
  4. 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.