Repositories Analytics (PREMIUM)
Introduced in GitLab Premium 13.4.
WARNING: This feature might not be available to you. Check the version history note above for details.
Latest project test coverage list
- Introduced in GitLab Premium 13.6.
To see the latest code coverage for each project in your group:
- Go to Analytics > Repositories in the group (not from a project).
- In the Latest test coverage results section, use the Select projects dropdown to choose the projects you want to check.
Download historic test coverage data
Introduced in GitLab Premium 13.4.
You can get a CSV of the code coverage data for all of the projects in your group. This report has a maximum of 1000 records. The code coverage data is from the default branch in each project.
To get the report:
- Go to your group's Analytics > Repositories page
- Click Download historic test coverage data (.csv),
- In the popup, select the projects you want to include in the report.
- Select the date range for the report from the preset options.
- Click Download test coverage data (.csv).
The projects dropdown shows up to 100 projects from your group. If the project you want to check is not in the dropdown list, you can select All projects to download the report for all projects in your group, including any projects that are not listed. There is a plan to improve this behavior in this related issue.
For each day that a coverage report was generated by a job in a project's pipeline, there will be a row in the CSV which includes:
- The date when the coverage job ran
- The name of the job that generated the coverage report
- The name of the project
- The coverage value
If the project's code coverage was calculated more than once in a day, we will take the last value from that day.
NOTE:
In GitLab 13.7 and later, group code coverage data is taken from the configured default branch. In earlier versions, it is taken from the master
branch.