SSL Metrics - Git History (LOC/KLOC) Analysis
Project description
SSL Metrics Git LOC Timeline
Using Git, provide insight into a branches commit LOC changes over time
Table of Contents
About
This project is a proof of concept demonstration that it is possible to generate useful insights into a Git project via the git
command line interface.
Currently, this project generates a graph of:
- Number of lines of code against days
How to Run
Note on Command Line Arguments
See Command Line Arguments for program configuration from the command line
From pip
- Install
Python 3.9.6 +
- (Recommended) Create a virtual environment with
python3.9 -m venv env
and activate it - Run
pip install ssl-metrics-git-commits-loc
- Generate a JSON data set with
ssl-metrics-git-commits-loc -d DIRECTORY -b BRANCH -s FILENAME.json
- Generate graphs with
ssl-metrics-git-commits-graph -i FILENAME.json -o GRAPH_FILENAME.*
Command Line Arguments
ssl-metrics-git-commits-loc
-h
,--help
: Shows the help menu and exits-d
,--directory
: Directory where the.git
folder is located-b
,--branch
: Git branch to analyze-s
,--save-json
: Save analysis to JSON file
ssl-metrics-git-commits-graph
Note on Graph Export Options
Arguement -o
can be of any of the formats that matplotlibs.pyplot.savefig
function exports to.
-h
,--help
: Shows the help menu and exits-i
,--input
: The input JSON file that is to be used for graphing-o
,--output
: The filename of the output graph
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ssl-metrics-git-commits-loc-0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e10c115e0b5221f2fe802e45f6c5e5ba042749e7e1bf4ec8a5b199a4c7fdb7d8 |
|
MD5 | 77a599a1ba09df310085037175a33850 |
|
BLAKE2b-256 | 7e29f40ad92b57a4a1e7c1cbd1f35b664ea1067502a47c326f943679bd3b1c9e |
Close
Hashes for ssl_metrics_git_commits_loc-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b505bbf89cad3a9a2cfe066a8e9bdcf37a5da4e5920ba6edd8cbbf55261fb959 |
|
MD5 | 091642eefadb68cffa52acd441bf3662 |
|
BLAKE2b-256 | 096796e280e1b09b99e6dee8d7c9d613cc5928880cbdd85996b8f75635b4947b |