2007-07-30 17:54:43 +03:00
|
|
|
- development statistics generator for git
|
|
|
|
- should be as versatile as statcvs / statsvn
|
|
|
|
|
2007-07-30 18:22:57 +03:00
|
|
|
[Information]
|
|
|
|
- git-log
|
|
|
|
- git-ls-files
|
|
|
|
- Current list of files
|
|
|
|
- git-log --stat or --shortstat - N files changed, N insertions, N deletions
|
|
|
|
- git-log --name-status - svn-like list of modifications for each commit
|
|
|
|
- git-rev-list --all
|
|
|
|
- first and last commit
|
|
|
|
- git-show-ref --tags
|
2007-08-02 15:07:18 +03:00
|
|
|
- not all tags are tags on refs?
|
2007-07-30 18:22:57 +03:00
|
|
|
- git-log |git-shortlog -s
|
|
|
|
- author: number of commits
|
|
|
|
- git-what-changed
|
2007-08-02 20:23:24 +03:00
|
|
|
- XXX git-log --pretty=oneline |wc -l != git-rev-list --all |wc -l
|
|
|
|
- git-rev-list HEAD == git-log --pretty=oneline
|
2007-07-30 18:22:57 +03:00
|
|
|
|
|
|
|
[Stats]
|
|
|
|
- General
|
|
|
|
- Report Period (git-log)
|
2007-07-31 17:14:07 +03:00
|
|
|
- DONE Total Files (git-ls-files)
|
|
|
|
- WIP Total LOC?
|
|
|
|
- DONE Total Commits
|
|
|
|
- DONE Authors
|
2007-07-30 18:22:57 +03:00
|
|
|
|
|
|
|
- Authors
|
2007-07-31 16:47:39 +03:00
|
|
|
- List of authors
|
2007-08-02 15:07:18 +03:00
|
|
|
- show only first 10 and rest on separate page?
|
2007-07-31 17:58:15 +03:00
|
|
|
- DONE (T): author, commits (%), LOC?, first commit, last commit
|
2007-07-30 18:22:57 +03:00
|
|
|
- (T): Developer of the Month: month, author, commits, LOC?
|
2007-07-30 17:54:43 +03:00
|
|
|
|
2007-08-02 15:07:18 +03:00
|
|
|
- Files
|
|
|
|
- Total Files
|
|
|
|
- Average file size
|
|
|
|
- Average revisions per file
|
|
|
|
- (G) File Count: x = date, y = files
|
|
|
|
- (G) Average file size: x = date, y = lines/file
|
|
|
|
- (T) File Extensions (or mime types from "file"?): extension, files (%), lines (%), lines/file
|
|
|
|
- (T) Largest Files?
|
|
|
|
- (T) Files With Most Revisions?
|
|
|
|
|
|
|
|
- Activity by Time?
|
2007-08-02 20:23:24 +03:00
|
|
|
- DONE Hour of Day
|
|
|
|
- DONE Day of Week
|
|
|
|
- Hour of weekday -> 7x25?
|
2007-08-02 15:07:18 +03:00
|
|
|
- Month of Year
|
|
|
|
- (G?) Last 30 days
|
|
|
|
- (G?) Last 12 months
|
|
|
|
|
2007-07-31 17:14:07 +03:00
|
|
|
- (G) Lines of Code: x = date, y = lines
|
|
|
|
|
2007-07-31 16:47:39 +03:00
|
|
|
- Tags
|
|
|
|
- (T): Name, Date, LOC?, Developers
|
|
|
|
|
|
|
|
- Author page for each author
|
|
|
|
- Name, mail
|
|
|
|
- Total commits (%)
|
|
|
|
- LOC (%)
|
|
|
|
- Last commit: date
|
|
|
|
- First commit: date
|
|
|
|
- Activity by Clock Time
|
|
|
|
- (G) Hour of Day
|
|
|
|
- (G) Day of Week
|
|
|
|
- (T) Activity in Directories: Directory, Changes, LOC, LOC/change
|
|
|
|
- (Most Recent Commits?)
|
|
|
|
|
2007-07-30 17:54:43 +03:00
|
|
|
[Stats in StatSVN]
|
|
|
|
- General
|
|
|
|
- Report Period (first/last date of commits)
|
|
|
|
- Total files?
|
|
|
|
- Total LOC?
|
|
|
|
- Developers
|
|
|
|
|
|
|
|
- Main stats
|
|
|
|
- Lines of Code: x = date, y = lines, releases/tags as vertical lines
|
|
|
|
- Table: Top 10 Authors: author, LOC (%)
|
|
|
|
- Table: Repository tags: name, date, lines, LOC Churn, Developers
|
|
|
|
- Tree: Directories: dir (N files, N lines)
|
|
|
|
|
|
|
|
- Developers
|
|
|
|
- Number of developers
|
|
|
|
- Table: author, changes (%), LOC (%), LOC/change
|
|
|
|
- Graph: Lines of Code: x = date, y = lines, colored lines for each author
|
|
|
|
- Table: Developer of the Month: month, author, lines
|
|
|
|
- Graph: Developer Activity
|
|
|
|
- Graph: Author Activity (bar for each author, showing modifying/adding percentages) (could be table)
|
|
|
|
- Graphs: Activity by Clock Time
|
|
|
|
- Hour of Day
|
|
|
|
- Day of Week
|
|
|
|
|
|
|
|
- Commit logs
|
|
|
|
- Lines of Code (same as main graph)
|
|
|
|
|
|
|
|
- File Statistics
|
|
|
|
- Graph: File Sizes and File Counts: x = date, y = files
|
|
|
|
- Graph: Average File Size (x = date, y = LOC/file)
|
|
|
|
- Table: File Types
|
|
|
|
- Table: Largest Files
|
|
|
|
- Table: Files With Most Revisions
|
|
|
|
|
|
|
|
- Directory sizes
|
|
|
|
- "Repo heatmap"?
|
|
|
|
- LOC and Churn
|
|
|
|
|
|
|
|
[Graphics]
|
|
|
|
- Use gnuplot, graphviz etc ?
|
|
|
|
|
2007-07-31 16:47:39 +03:00
|
|
|
[Usage]
|
|
|
|
- $ statgit [-o html] /path/to/git /output/dir
|
|
|
|
|
|
|
|
[name]
|
|
|
|
- statgit or gitstats (no google hits for either)
|
|
|
|
|
|
|
|
[Misc]
|
|
|
|
- use sortable.js ?
|
2007-08-02 15:07:18 +03:00
|
|
|
- could show some statistics from last year, month, etc... pisg-like?
|
2007-08-02 20:23:24 +03:00
|
|
|
- style: tabs at top for different pages
|