My GH activity graph[0] is pretty full, but some of the days with the least checkins are ones where I did the most work.
I had a day like that, a couple of days ago. I spent a significant portion of the day, building experimental approaches to handling an issue, but reverted, at the end (the experiment did not yield the results I wanted). That is fairly common.
Also, a big part of my reflective refactoring, is reducing codebase size, like factoring out common functionality into protocol defaults, and/or base classes. That can take quite a bit of time.
So LoC/Time is pretty much a worthless metric.
And if you cloc my codebases, the comments/code ratio is usually about 50%. Documenting my code[1] can take a lot of time, as well, and is actually a fairly important part of refactoring, as I often find issues, when I have to explain what’s going on.
And that's not even starting with the questionable morality of using GitHub in the first place (~ after Microsoft bought them)... (especially for non-US developers)
Yeah, leaving aside other concerns about platforms, Microsoft, and the USA, I too want to stress how GitHub is problematic in GP's «some metrics are bad» sense : the social networking aspect, stars, number of projects, and, as you say, number of contributions and number of lines of code.
I had a day like that, a couple of days ago. I spent a significant portion of the day, building experimental approaches to handling an issue, but reverted, at the end (the experiment did not yield the results I wanted). That is fairly common.
Also, a big part of my reflective refactoring, is reducing codebase size, like factoring out common functionality into protocol defaults, and/or base classes. That can take quite a bit of time.
So LoC/Time is pretty much a worthless metric.
And if you cloc my codebases, the comments/code ratio is usually about 50%. Documenting my code[1] can take a lot of time, as well, and is actually a fairly important part of refactoring, as I often find issues, when I have to explain what’s going on.
[0] https://github.com/ChrisMarshallNY#github-stuff
[1] https://littlegreenviper.com/miscellany/leaving-a-legacy/