Code review analytics
- Tier: Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Code review analytics displays a table of open merge requests that have at least one non-author comment. The review time is the amount of time since the first comment by a non-author in a merge request.
You can use code review analytics to view review metrics per merge request and improve your code review process.
- A high number of comments or commits may indicate:
- Code that is too complex.
- Authors who require more training.
- A long review time may indicate:
- Types of work that move slower than other types.
- Opportunities to accelerate your development cycle.
- Few comments and approvers may indicate a lack of available team members.
For a video explanation, see Code review analytics: Faster code review.
View code review analytics
Prerequisites:
- You must have at least the Reporter role.
To view code review analytics:
- On the left sidebar, select Search or go to and find your project.
- Select Analyze > Code review analytics.
- Optional. Filter results:
- Select the filter bar.
- Select a parameter. You can filter merge requests by milestone and label.
- Select a value for the selected parameter.
The table shows up to 20 merge requests in review per page, and includes the following information about each merge request:
- Merge request title
- Review time
- Author
- Approvers
- Comments
- Commits
- Line changes
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