I'm looking for a way to quantify where my team should spend it's time addressing technical debt in our codebase. One idea for this is to measure file churn (edits over time). I got the idea from this video where Michael Feathers talks about escaping the technical debt cycle:
https://youtu.be/7hL6g1aTGvo?t=16m53s
What I'd like to measure is the total number of times each file was edited in the codebase. I'd also like total lines changed for each file.
I tried git log --state
but that's not the out put I'd like to see. I don't care about each individual commit, or the authors, I just want total raw numbers accumulated overall all edits for every file that still currently exists in master.
--state
comes from? It does not exist in mirrors.edge.kernel.org/pub/software/scm/git/docs/git-log.html