I ran a search and didn't come up with anything; so, decided to see what the community has to offer on this score.
When you commit to GitHub it performs a diff. The diff tells you how many lines were added and how many lines were removed.
From a metrics perspective, this doesn't impress me much considering a lot of the languages I use aren't dependent on whitespace characters to function. Therefore, an entire class with 50 methods can be defined in a single line (not that you would do that, of course).
Measuring lines can lead us to believe that single-line solutions are inherently better than the alternative.
So, I'm curious if there's a way to have GitHub (or Git in general) display the difference in non-whitespace character count.
Example:
class Something
{
function hello()
{
}
}
Changed to:
class Something {
function hello() {
}
}
Would result in something like this:
Line change: -2 Character change: 0