What mehen emits
Semantics
- Authorship = added lines. Ownership and the minor-contributor classification count lines
added per author across the walked history — matching PyDriller, the reference implementation.
Deleting someone else’s code or renaming a file does not count as writing code, so a
deletion-only toucher appears in
history.authorsbut is never misclassified as a sub-5% “minor contributor” of code they didn’t write. - Identity is the author’s lower-cased email (falling back to the name for commits without one).
- A history of pure renames and deletions has no added lines; ownership is then reported as
0rather than dividing by zero.
How to read it
References
- Bird, C., Nagappan, N., Murphy, B., Gall, H. & Devanbu, P. (2011). Don’t Touch My Code! Examining the Effects of Ownership on Software Quality. ESEC/FSE 2011.
- PyDriller process metrics — contribution-based ownership and the 5% minor-contributor threshold.
- code-maat
authors,main-dev,entity-ownership(repo).
See also
- Commit frequency — how often the file changes at all.