Skip to content

A python script for computing lines of code by author from a git repository.

License

Notifications You must be signed in to change notification settings

msimms/GitStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

MIT license

GitStats

This project exists to perform SLOC (Source Line of Code) counts on local git repositories and to break that information down by author. It accomplishes this by performing a recursive git blame on each source file in the repo.

Example Uses:

To obtain SLOC-by-author stats on a particular repo:

python git_author_stats.py --repo /path/to/repo

To obtain SLOC-by-author stats for all modifications starting in 2017:

python git_author_stats.py --repo /path/to/repo --start-time 2017-01-01

To obtain SLOC-by-author stats for all modifications in 2016:

python git_author_stats.py --repo /path/to/repo --start-time 2016-01-01 --end-time 2017-01-01

About

A python script for computing lines of code by author from a git repository.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages