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.6.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1676b2ee8d330550513c489028d843b46f456425c04ca93b11bd2c91572c50b1 |
|
MD5 | 0fe854e29f90ba91c58002e4776679be |
|
BLAKE2b-256 | 65a5e9764af9810770e011967aa33794a59d65bb8ae23cc76aa13e7a35d565a0 |
Close
Hashes for ssl_metrics_git_commits_loc-0.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b44839ec1ec87acc680d1fd321ed742c1cb871448dfbb9ac0876c5f918c65265 |
|
MD5 | 80e1db70a290eda6fec3807e0144eb2e |
|
BLAKE2b-256 | 9258ddbf770e3d5bc355162a6966810aed0210c76b48fe4e2a98b4d24558d85e |