Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate stats for a GitHub project?

Is there an easy/efficient way to generate some high-level reports for a particular GitHub project?

e.g. lines of code committed over time, top contributors, etc

like image 787
user217562 Avatar asked Jul 07 '11 12:07

user217562


People also ask

How do I add stats to GitHub?

Add dynamically generating GitHub statsCreate a new repository. The repository name needs to be the same as your GitHub account name. Create a README.md file in this repo. The contents of this file will be on your GitHub overview page.

How do I see stats on GitHub?

You can find the link to the left of the nav bar. You should have a look to repoXplorer, an open source project I develop. It is able to compute stats for a project (a group of git repositories) as well as for a contributor and a group of contributors. It provides a REST interface and a web UI.


1 Answers

You can try applying gitstats to a cloned repo of your GitHub repo.

See for example the activity of the Git repo itself, with many data like the commits per year/month:

Commits by year/month


See also "Looking at Git Statistics", with the GitHub 'yearly_stats' for a simple little script.


Update April 2013 ("Get up to speed with Pulse"):

Check out Pulse

Pulse is a great way to discover recent activity on projects.
Maybe you haven't checked on your favorite repository in a while or you just discovered a project that looks interesting to you. Pulse will show you who has been actively committing and what has changed in a project's default branch:

Pulse

You can find the link to the left of the nav bar.

Link

like image 66
VonC Avatar answered Sep 24 '22 00:09

VonC