从Git存储库生成统计信息

编程入门 行业动态 更新时间:2024-10-28 18:22:18
本文介绍了从Git存储库生成统计信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在寻找一些好的工具/脚本,这些工具/脚本允许我从一个git仓库中生成一些统计数据。我已经在一些代码托管网站上看到了这个功能,并且它们包含了诸如...

  • 每个作者的提交次数
  • 每天/每周/每年/每次提交
  • 一行代码
  • ...更多

基本上我只是想知道我的项目随着时间的推移而增长多少,开发人员提交大部分代码,等等。

解决方案

在 GitStats ( git history statistics generator ) xyld ,用Python编写,并要求使用Gnuplot进行图表处理,还有

  • gitstat ( SourceForge )项目( web-based git statistics interface ),用PHP和Perl编写, Git Statistics ,又名gitstats(用于收集git存储库统计信息的度量框架),用Python编写, Google Summer of Code 2008中的git-statistics项目这不是一个web应用程序
  • gitinspector 是一种相当新的基于CLI的Python工具,用于生成漂亮的报告 li>

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...

  • commits per author
  • commits per day/week/year/etc.
  • lines of code over time
  • graphs
  • ... much more

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 statistics generator) mentioned by xyld, written in Python and requiring Gnuplot for graphs, there is also

  • 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

更多推荐

从Git存储库生成统计信息

本文发布于:2023-06-04 21:17:40,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:统计信息   Git

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!