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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee2fc0e7a68309c5d0a7cb386b5ff88d8880eced59f46062b02e0bfb0f5242c |
|
MD5 | 5eaab425f88b8a31e6a0f97a35002eee |
|
BLAKE2b-256 | 3f3db2d792e527c77aca013898ee8e9b46b3333cd65774c0de40ec9fc728c1e8 |
Close
Hashes for ssl_metrics_git_commits_loc-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 422b5f2990f8df21ce3393c56ef469370e51fca3dfbc539c506a79d5d5e351d3 |
|
MD5 | 92a12365cd4a66311b3fee04c4aa07b1 |
|
BLAKE2b-256 | 2cc301003223bb7af50f0aa6975ef7895d8a0f2fa1eef438c3eced5fbb4ee4d0 |