Getting Source Code Metrics from SVN

Posted on

Lets say that we need to find out how many lines of code exist in a branch, or how many lines are checked in by a specific user. Let's ignore the usefulness of these metrics, just assume that they're needed (realistically, lines of code isn't a very useful metric, but perhaps you want to have a quick idea of how much has gone into a release). How do we do this?

TortoiseSVN statistics aren't really enough. Here's some alternatives:

I'd recommend taking a look at FishEye if you're going to go to the effort of getting these statistics. Any comments on alternatives would be welcome!