These things are vanity metrics.
> Lines of code (not just in main but in branches)
IMO, the best devs can end up with negative LOCs per measurement period. Neophytes will never have negative LOCs. Mediocre devs who copy and paste a lot can have really high LOCs.
> lines of documentation written
And the more documentation you have the more out of sync it is with reality.
Re:Most HR Data Is Bad Data
by willcipriano on Thursday March 14, 2024 @03:56PM
(#39708272)
The people who would be confused by these metrics in the way you describe aren't going to do any better without them.
If the people near the top of those leader boards are near the top of the comp leaderboard your job is done as that makes sense by the numbers, if not you need a really good justification as to why* if you want to keep those literal top performers for long.
*or crossed fingers nobody discusses comp before you exit