SoftwareSystemsLaboratory/ssl-metrics-git-commits-loc
Document Type
Script
Publication Date
11-8-2021
Publication Title
Zenodo
Publisher Location
CERN
Abstract
This is a proof of concept demonstrating that it is possible to use git to extract various Lines of Code (LOC) data from a repository and graph various metrics from it.
This software extracts LOC, Delta LOC, and KLOC (LOC / 1000) for every commit within a singular branch of a local git repository and stores it within a .json file.
This file can then be piped into a bundled graphing utility to graph the following for LOC, Delta LOC, and KLOC:
- Actual data
- Trend line
- Velocity of trend line
- Acceleration of trend line
The graphs can be saved as a .png, .pdf, or any compatible format that matplotlib supports.
Identifier
10.5281/zenodo.5650179
Recommended Citation
Synovic, Nicholas, & Thiruvathukal, George K. (2021). SoftwareSystemsLaboratory/ssl-metrics-git-commits-loc, Zenodo. https://doi.org/10.5281/zenodo.5650179
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.