Updated on 2025-07-24 GMT+08:00

Viewing Repository Statistics

Constraints

  • Due to resource restrictions, statistics can be collected for each repository ten times a day.
  • Each user can collect statistics for 1000 times a day.
  • Commits (an operation that combines two or more historical development records) of the merge node are not counted.

Viewing Repository Statistics

On the Repository Statistics tab page in the repository details, you can view the following repository statistics:

  • Overview: Repo Used, LFS used, Members, Commits, Branches, Tags, Merge Requests, and Review Comments.
  • Languages: displays the distribution of each language in the current branch of the repository. Repository members can trigger code contribution statistics and language ratio statistics. The language distribution of the repository is calculated based on the number of code lines in the file of the default branch. Hidden files and README.md files are not counted. CodeArts Repo collects statistics on more than 100 languages.
  • Commit Trend: You can select the branch to be collected in Branch. The statistics can be displayed in Line Chart or Bar Chart.
  • Contributors: Statistics on the contribution of code committers in a branch (number of commits and number of code lines). After the statistics are complete, the number of added and deleted code lines of each user is displayed before the deadline ("+" indicates the added code lines and "-" indicates the deleted code lines). As shown in the following figure, the committer test added one line of code to the master branch and didn't delete any line of code.

  • Commits Overview: Statistics on the code commit frequency and number of contributors by week, day, and hour in either Line Chart or Bar Chart.