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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f81f48f24ef47566930cf959930942055496001debba1a7c691d6de5d186ca65 |
|
MD5 | 883bde739fd5f335ac17d816428ff2ee |
|
BLAKE2b-256 | 1cdd793fadb7ecdbedb3a9f0314d23634e507452364ba3641c4e3528e0fa2105 |
Close
Hashes for ssl_metrics_git_commits_loc-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8828dc66cfab5ad27e0fa7ffd721cea42154d72ec72007e4b18eb45fcac8f259 |
|
MD5 | 213fff29d6dc1f4e0d23b0cb94428a3a |
|
BLAKE2b-256 | f82c7105c8463f1641b817d83a92e33abff6948c3e8041b0ffd87dccba4ecd92 |