diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 03:08:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 03:08:46 +0300 |
commit | 6755df108b123ecc8ae330d7c7bf2f04fbf36a81 (patch) | |
tree | 7609bd6c0a9ac607d8f57737a2c27a460b7fcfdd /doc/user/analytics | |
parent | ee7fba4b844935437233f6c5b74545a28bac4298 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/analytics')
-rw-r--r-- | doc/user/analytics/code_review_analytics.md | 43 | ||||
-rw-r--r-- | doc/user/analytics/index.md | 6 |
2 files changed, 37 insertions, 12 deletions
diff --git a/doc/user/analytics/code_review_analytics.md b/doc/user/analytics/code_review_analytics.md index 87c29c265bf..513201e639d 100644 --- a/doc/user/analytics/code_review_analytics.md +++ b/doc/user/analytics/code_review_analytics.md @@ -4,31 +4,56 @@ description: "Learn how long your open merge requests have spent in code review, # Code Review Analytics **(STARTER)** -> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/38062) in GitLab ([Starter](https://about.gitlab.com/pricing/)) 12.7. +> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/38062) in [GitLab Starter](https://about.gitlab.com/pricing/) 12.7. -Want to learn how long your open merge requests have spent in code review? Or what distinguishes your longest-running code reviews? These are some of the questions Code Review Analytics is designed to answer. +Code Review Analytics can be used to answer questions like: + +- How long do open merge requests spend in code review? +- What distinguishes your longest-running code reviews? NOTE: **Note:** -Initially no data will appear. Data will populate as users comment on open merge requests. +Initially no data will appear. Data is populated as users comment on open merge requests. ## Overview -Code Review Analytics displays a collection of merge requests in a table. These are all the open merge requests that are considered to be in code review. This feature considers code review to begin when a merge request receives its first comment from someone other than the author. The rows of the table are sorted by review time so the longest reviews appear at the top. There are also columns to display the author, approvers, comment count, and line -/+ counts. +Code Review Analytics displays a table of open merge requests, which are considered to be in code review. +Code review starts when a merge request receives its first comment from someone other than the author. + +The Code Review Analytics table: + +- Is sorted by review time, so the longest reviews appear at the top. +- Has columns to display the author, approvers, comment count, and line -/+ counts. + +This feature is designed for [development team leaders](https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/#delaney-development-team-lead) +and others who want to understand broad code review dynamics, and identify patterns to help explain them. -This feature is designed for [development team leaders](https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/#delaney-development-team-lead) and others who want to understand broad code review dynamics, and identify patterns to help explain them. You can use Code Review Analytics to expose your team's unique challenges with code review, and identify improvements that might substantially accelerate your development cycle. +You can use Code Review Analytics to expose your team's unique challenges with code review, and +identify improvements that might substantially accelerate your development cycle. ## Use cases -Perhaps your team agrees that code review is moving too slow, or the [Cycle Analytics feature](https://docs.gitlab.com/ee/user/analytics/cycle_analytics.html) shows that "Review" is your team's most time-consuming step. You can use Code Review Analytics to see what is currently moving slowest, and analyze the patterns and trends between them. Lots of comments or commits? Maybe the code is too complex. A particular author is involved? Maybe more training is advisable. Few comments and approvers? Maybe your team is understaffed. +Code Review Analytics can be used when: + +- Your team agrees that code review is moving too slow. +- The [Cycle Analytics feature](cycle_analytics.md) shows that reviews are your team's most time-consuming step. + +You can use Code Review Analytics to see what is currently moving slowest, and analyze the patterns +and trends between them. For example: + +- Lots of comments or commits? Maybe the code is too complex. +- A particular author is involved? Maybe more training is required. +- Few comments and approvers? Maybe your team is understaffed. ## Permissions - On [Starter or Bronze tier](https://about.gitlab.com/pricing/) and above. -- By users with [Reporter access] and above. +- By users with Reporter access and above. -## Feature flag +## Disable with feature flag -Code Review Analytics is [currently protected by a feature flag](https://gitlab.com/gitlab-org/gitlab/issues/194165) that defaults to "enabled" - meaning the feature is available. If you experience performance problems or otherwise wish to disable the feature, a GitLab administrator can execute a command in a Rails console: +Code Review Analytics is [currently enabled by a feature flag](https://gitlab.com/gitlab-org/gitlab/issues/194165) +that defaults to ON, meaning the feature is available. If you experience performance problems or +otherwise wish to disable the feature, a GitLab administrator can execute a command in a Rails console: ```ruby Feature.disable(:code_review_analytics) diff --git a/doc/user/analytics/index.md b/doc/user/analytics/index.md index 707ba01eb79..07d756af582 100644 --- a/doc/user/analytics/index.md +++ b/doc/user/analytics/index.md @@ -16,11 +16,11 @@ Once enabled, click on **Analytics** from the top navigation bar. From the centralized analytics workspace, the following analytics are available: - [Code Review Analytics](code_review_analytics.md), enabled with the `code_review_analytics` - [feature flag](../../development/feature_flags/development.html#enabling-a-feature-flag-in-development). **(STARTER)** + [feature flag](../../development/feature_flags/development.md#enabling-a-feature-flag-in-development). **(STARTER)** - [Cycle Analytics](cycle_analytics.md), enabled with the `cycle_analytics` - [feature flag](../../development/feature_flags/development.html#enabling-a-feature-flag-in-development). **(PREMIUM)** + [feature flag](../../development/feature_flags/development.md#enabling-a-feature-flag-in-development). **(PREMIUM)** - [Productivity Analytics](productivity_analytics.md), enabled with the `productivity_analytics` - [feature flag](../../development/feature_flags/development.html#enabling-a-feature-flag-in-development). **(PREMIUM)** + [feature flag](../../development/feature_flags/development.md#enabling-a-feature-flag-in-development). **(PREMIUM)** NOTE: **Note:** Project-level Cycle Analytics are still available at a project's **Project > Cycle Analytics**. |