从 Git 存储库生成统计信息 [英] Generating statistics from Git repository

查看:25
本文介绍了从 Git 存储库生成统计信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些好的工具/脚本,让我能够从 git 存储库生成一些统计信息.我在一些代码托管网站上看到过此功能,其中包含诸如...

I'm looking for some good tools/scripts that allow me to generate a few statistics from a git repository. I've seen this feature on some code hosting sites, and they contained information like...

  • 每位作者的提交次数
  • 每天/每周/每年/等等的提交次数.
  • 随时间推移的代码行
  • 图表
  • ...更多

基本上,我只想了解我的项目随着时间的推移增长了多少,哪个开发人员提交的代码最多,等等.

Basically I just want to get an idea how much my project grows over time, which developer commits most code, and so on.

推荐答案

Beside GitStats (git history统计生成器)由 xyld 提及,用 Python 编写并且需要 Gnuplot 来绘制图形,还有

Beside GitStats (git history statistics generator) mentioned by xyld, written in Python and requiring Gnuplot for graphs, there is also

  • gitstat (SourceForge) 项目(基于网络的 git 统计界面),用 PHP 和 Perl 编写,
  • Git Statistics,又名 gitstats(指标框架旨在收集git 存储库的统计数据),用 Python 编写,是 Google Summer 的 git-statistics 项目的结果代码 2008 这不是网络应用程序
  • gitinspector 是一个相当新的、基于 CLI 的 Python 工具,用于生成漂亮的报告
  • Hercules - 没有依赖项的原生应用,用 Go 编写,专门用于高级分析类型.
  • gitstat (SourceForge) project (web-based git statistics interface), written in PHP and Perl,
  • Git Statistics, aka gitstats (metrics framework designed to gather statistics on git repositories), written in Python, result of git-statistics project at Google Summer of Code 2008 This is not a web app
  • gitinspector Is a rather new, CLI based Python tool for generating nice reports
  • Hercules - native app without dependencies, written in Go, which specializes in advanced analysis types.

这篇关于从 Git 存储库生成统计信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆