Abstract
<p> 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.</p><p> This software extracts LOC, Delta LOC, and KLOC (LOC / 1000) for every commit within a <em> singular branch </em> of a local git repository and stores it within a .json file.</p><p> This file can then be piped into a bundled graphing utility to graph the following for LOC, Delta LOC, and KLOC: <ul> <li> Actual data </li> <li> Trend line </li> <li> Velocity of trend line </li> <li> Acceleration of trend line </li> </ul></p><p> The graphs can be saved as a .png, .pdf, or any compatible format that matplotlib supports.</p>
Original language | American English |
---|---|
Journal | Computer Science: Faculty Publications and Other Works |
State | Published - Nov 8 2021 |
Keywords
- software engineering
- software metrics
- repository mining
- git commits
- KLOC
- simple
Disciplines
- Computer Sciences
- Software Engineering