#git-repository #information #kind #different #obtaining #author #commit

nightly app gitostat

Tool for obtaining different kind of information from your git repository

1 unstable release

Uses old Rust 2015

0.3.1 Jan 27, 2016

#8 in #obtaining

MIT license

28KB
623 lines

Gitostat

Build Status

Tool for obtaining different kind of information from your git repository.

Current functionals

  • Heatmap of the most active hours of the week

           0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
    Mon:   .  .  .  .  .  .  .  .  .  ..  .  .  .  .  .  .  .  .  ..  .
    Tue:.  .  .  .  .  .  .  .  .  ..  .  .  .  .  .  .  .  .  .  .  .
    Wed:.  .  .  .  .  .  .  ..  .  .  .  .  .  .  .  .  ..  .  .
    Thu:   .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  ..  ▪
    Fri:   .  .  .  .  .  .  .  .  .  .  .  .  ..  .  ▪  ◾  .  ...
    Sat:   .  .  .  .  .  .  .  .  .  .  .  .  .  ▪  ⬛  .  .  .  .  .  .  ..
    Sun:.  .  .  .  .  .  .  .  ..  .  .  .  ..  .  .  .  ▪  ▪  ◾
    
  • Files snapshot with counting relative amount of the file types which using in graphics below

    Files in repo:
    2014-39   5 ░░░░░▏
    2014-40   5 ░░░░░▏
    2014-41   5 ░░░░░▏
    2015-13   5 ░░░░░▏
    2015-14   5 ░░░░░▏
    2015-17   8 ░░░░░░░░▏
    2015-21   9 ░░░░░░░░░▏
    2015-23  11 ░░░░░░░░░░░▏
    2015-25  12 ░░░░░░░░░░░░▏
    2015-27  12 ░░░░░░░░░░░░▏
    2015-28  12 ░░░░░░░░░░░░▏
    2015-29  13 ░░░░░░░░░░░░░▏
    2015-32  13 ░░░░░░░░░░░░░▏
    2015-44  13 ░░░░░░░░░░░░░▏
    2016-04  13 ░░░░░░░░░░░░░▏
    
  • Counting personal stats of authors (with respect .mailmap)

    +-------------------------------------------+--------------+------------+-----------+-------------+-----------------+
    | Author                                    | Commits (%)  | Insertions | Deletions | Age in days | Active days (%) |
    +-------------------------------------------+--------------+------------+-----------+-------------+-----------------+
    | Arthur Skobara <skobara.arthur@gmail.com> | 33 (100.00%) | 6232       | 1360      | 477         | 24 (5.03%)      |
    +-------------------------------------------+--------------+------------+-----------+-------------+-----------------+
    | Total                                     | 33 (100%)    | 6232       | 1360      | 477         | 24 (5.03%)      |
    +-------------------------------------------+--------------+------------+-----------+-------------+-----------------+
    
    
  • Activity in repo by weeks

    2015-12   02015-13   4 ░░░░▏
    2015-14   3 ░░░▏
    2015-15   02015-16   02015-17   8 ░░░░░░░░▏
    2015-18   02015-19   02015-20   02015-21   1 ░▏
    2015-22   02015-23   1 ░▏
    2015-24   02015-25   2 ░░▏
    2015-26   02015-27   3 ░░░▏
    2015-28   3 ░░░▏
    2015-29   1 ░▏
    2015-30   02015-31   02015-32   1 ░▏
    2015-33   0

TODO

  • More tests
  • Counting percent of author's code

Dependencies

~17MB
~357K SLoC