Repository analytics for groups
- Tier: Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Repository analytics for groups provides test coverage data for all projects in a group.
You can use group repository analytics to:
- Monitor code coverage trends across all projects in a group.
- Track the total number of projects and jobs that generate coverage reports.
- Download historical coverage data for analysis.
Support for subgroups is proposed in issue 273527.
View group repository analytics
Prerequisites:
- Projects within the group must be configured to collect test coverage data.
To view repository analytics for a group:
- On the left sidebar, select Search or go to and find your group.
- Select Analyze > Repository analytics.
Coverage metrics
The group Repository analytics page displays:
Current group code coverage:
- Number of projects with coverage reports.
- Average coverage percentage across all projects.
- Total number of pipeline jobs that produce coverage reports.
Average test coverage: A graph that shows the average test coverage across all projects in your group for the last 30 days.
Latest test coverage results: A list of the most recent coverage data for each project in your group. Select projects from the dropdown list to filter the results.
Download coverage data
You can download a CSV file containing historical coverage data for projects in your group.
The CSV report:
- Contains up to 1000 records.
- Includes data from the default branch of each project.
- Shows one row per day when coverage was reported.
- Uses the last value of the day if multiple coverage reports were generated.
- Contains the following information for each coverage report:
- Date the coverage job ran
- Name of the job that generated the report
- Project name
- Coverage percentage
To download the coverage data:
- On the group Repository analytics page, select Download historic test coverage data (.csv).
- Select the projects to include:
- From the Projects dropdown list, choose specific projects. The projects dropdown list shows up to 100 projects.
- Optional. Select Select all to include all projects in your group.
- From the Date range dropdown list, select the time period to include.
- Select Download test coverage data (.csv).
Related topics
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support