Skip to content
프로젝트

소개

Git 저장소의 통계를 생성합니다. http://gitstats.sourceforge.net/ 의 포크입니다.

과학 및 공학

이 수치를 측정하는 방법

What you can do

  • General statistics: total files, lines, commits, authors.
  • Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year.
  • Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year.
  • Files: file count by date, extensions

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

About

gitstats is a statistics generator for git repositories. It is mostly intended for developers, as a way to check some development statistics for a project.

Currently it produces only HTML output with tables and graphs.

Features

Here is a list of some statistics generated currently:

  • General statistics: total files, lines, commits, authors.
  • Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year.
  • Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year.
  • Files: file count by date, extensions
  • Lines: Lines of Code by date

Demo

http://gitstats.sourceforge.net/examples/gitstats/

Requirements

  • Python (>= 2.4.4) (python3 is not supported)
  • Git (>= 1.5.2.4)
  • Gnuplot (>= 4.0.0)
  • a git repository (bare clone will work as well)

The above versions are not absolute requirements; older versions may work also.

Install

gitstats does not currently need to be installed; it's used right from the directory (it also assumes some files like the stylesheet are in .)

Suppose you have a git project at /mnt/src/git/project and you want to save the statistics to ~/public_html/project

You would run:

$ ./git-stats /mnt/src/git/project ~/public_html/project

or with git-stats executable in your PATH:

$ git stats /mnt/src/git/project ~/public_html/project

(go grab a cup of coffee if it's a large project :)

$ open ~/public_html/project/index.html

Install for windows 7

  1. Add variables to PATH

    • Add python to PATH following link(working with answer from Delicia Brummitt)
    • Add git to PATH following link
  2. Unzip GitStats in your favorite git working repo

  3. Open a terminal windows+r then write cmd

  4. Go in the repo where you unzip GitStats with cd

  5. Use command

    $ python git-stats input-file output-file

Recommended

  • Lots of memory and fast disk for large projects

Contributions

Patches should be sent under "GPLv2 or older" license - this will allow upgrading to newer GPL versions if they are sensible.

관련 프로젝트 살펴보기

불러오는 중…