Jason Kealey - 2007-03-23

Logged In: YES
user_id=1498924
Originator: NO

For the moment, we measure physical lines of code; language independant (similar to wc -l). Whitespace is not ignored. Comments are not ignored. StatCVS computes the LOC in the same way, but since we're contacting the repository, we have the possibility to implement other models.

My personal opinion is that LOC should not be the basis of any profound analysis. We have the simplest form of LOC implemented in StatSVN that's enough to give you an overview of what's happening. Regardless of the method, if the method is known, developers can cheat the metric. Yes, the metrics are artificially inflated by whitespace and comments, but hopefully the inflation is uniform across the codebase.

In any case, I agree that a simple mention of the method would be useful.