Developer activity metrics Part 1: Gitinspector
Measuring developer productivity is one topic destined to be a cause of heated discussions. Leaving all sentiments aside, here’s a short list of tools with ambition to provide analytical analysis to the developer activity.
- Gitinspector – free and down-to-earth statistical tool for Git repositories
- Hello2morrow – builds code dependencies graphs and identifies software architecture rules violations
- Semmle – a commercial tool with main focus on ability to view results of static code analysis under different angles
- BlueOptima -Developer Efficiency Analyzer – a commercial tool that based on the company’s algorithm is able to translate number of committed lines into hours of developer effort
What we can measure with Gitinspector:
1. The size of a pull request
Historical commit information by author actually has an
(insertions + deletions) / number of commits = the size of each commit
This is an objective indicator of cries of pain you might’ve let escape your chest while facing overwhelming pull requests.
2. Efficiency of the change
3. Cadence of the change
Modified Rows / Total Code Base Rows = % of monthly change % of monthly change * Coefficient of the ave test time = estimated time you need to test your changes
Yes, this is the approximate metric, but given a few months on the project, you’ll be able to determine the coefficient and hence estimate the testing time
4. Areas of expertise