debian-mirror-gitlab/doc/user/analytics/code_review_analytics.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.5 KiB
Markdown
Raw Normal View History

2020-03-13 15:44:24 +05:30
---
description: "Learn how long your open merge requests have spent in code review, and what distinguishes the longest-running." # Up to ~200 chars long. They will be displayed in Google Search snippets. It may help to write the page intro first, and then reuse it here.
2020-05-24 23:13:21 +05:30
stage: Manage
2021-02-22 17:27:13 +05:30
group: Optimize
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-03-13 15:44:24 +05:30
---
2020-05-24 23:13:21 +05:30
2022-10-11 01:57:18 +05:30
# Code review analytics **(PREMIUM)**
2020-03-13 15:44:24 +05:30
2022-10-11 01:57:18 +05:30
> Moved to GitLab Premium in 13.9.
2020-03-13 15:44:24 +05:30
2022-10-11 01:57:18 +05:30
Use code review analytics to view review metrics per merge request and
make improvements to your code review process:
2020-11-24 15:15:51 +05:30
2022-10-11 01:57:18 +05:30
- A high number of comments or commits may indicate:
- The code 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.
- Fewer comments and approvers may indicate staffing requirements.
2020-03-13 15:44:24 +05:30
2022-10-11 01:57:18 +05:30
Code review analytics displays a table of open merge requests that have at least one non-author comment.
The review time is measured from when the first non-author comment was submitted.
2020-03-13 15:44:24 +05:30
2022-10-11 01:57:18 +05:30
## View code review analytics
2020-03-13 15:44:24 +05:30
2022-10-11 01:57:18 +05:30
Prerequisite:
2020-03-13 15:44:24 +05:30
2022-10-11 01:57:18 +05:30
- You must have at least the Reporter role.
2020-11-24 15:15:51 +05:30
2022-10-11 01:57:18 +05:30
To view code review analytics:
2020-03-13 15:44:24 +05:30
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Projects** and find your project.
2022-03-02 08:16:31 +05:30
1. On the left sidebar, select **Analytics > Code Review**.
1. Filter merge requests by milestone and label.