StatSVN
StatSVN has had its first public release. It’s a port of our venerable StatCVS statistics tool to Subversion. Cool! It’s being developed by Jean-Philippe Daigle, Jason Kealey, and Gunter Mussbacher.
We considered Subversion support, but Subversion doesn’t include the all-important lines of code numbers in its logfiles. Tammo and Steffen even put together a patch for Subversion, but couldn’t get it accepted by the Subversion team.
StatSVN works around the problem by connecting to the Subversion server and fetching all revisions of all files to count the lines of code. This isn’t exactly an elegant solution, and it’s slow, but it works.
There’s a nice whitepaper on StatSVN. Here’s a sample report, which looks pretty much identical to those generated by StatCVS.

November 9th, 2006 at 3:01 pm
How does it compare to CVSAnaly (http://cvsanaly.tigris.org/) ?
November 9th, 2006 at 3:40 pm
Olivier,
StatCVS and StatSVN are easy to use and its reports are static HTML files. CVSAnalY needs an SQL database and a webserver, its reports are generated by a Python web application.
StatCVS has tens of thousands of downloads and is quite mature.
I couldn’t find any working CVSAnalY installations on the Web, therefore can’t judge the quality or comprehensiveness of their reports.
CVSAnalY can load log information into a database for further processing and analysis using other tools. With StatCVS and StatSVN, you’d have to code the DB storage part yourself.
November 29th, 2006 at 8:36 pm
[...] I haven’t tried it out yet, but I’m curious to know about it’s performance. One of the StatCVS developers points out that the issue of gathering line counts is a tough one for Subversion. Apparently StatSVN does about the only thing possible and grabs files from the server to count lines, but that’s done out of necessity, not because it’s the wisest thing to do. Filed under: Tools — [...]