summaryrefslogtreecommitdiff
path: root/doc/user/analytics/repository_analytics.md
blob: 3fc5478d466c7b263688119b356cadda972a69eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
stage: Manage
group: Value Stream Management
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/#designated-technical-writers
---

# Repository Analytics

Get high-level overview of the project's Git repository.

![Repository Analytics](img/repository_analytics_v13_0.png)

## Availability

Repository Analytics is part of [GitLab Community Edition](https://gitlab.com/gitlab-org/gitlab-foss). It's available to anyone who has permission to clone the repository.

The feature requires:

- An initialized Git repository.
- At least one commit in the default branch (`master` by default).

## Overview

You can find Repository Analytics in the project's sidebar. To access the page, go to **{chart}** **Analytics > Repository**.

NOTE: **Note:**
Without a Git commit in the default branch, the menu item won't be visible.

### Charts

The data in the charts are updated soon after each commit in the default branch.

Available charts:

- Programming languages used in the repository
- Code coverage history (last 3 months) ([Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/33743) in GitLab 13.1)
- Commit statistics (last month)
- Commits per day of month
- Commits per weekday
- Commits per day hour (UTC)