Home > Software versioning > Generating SVN statistics using statSVN

Generating SVN statistics using statSVN

Today I generated svn statistics for a project I am working on for a last year and half. It’s very insightful Smile

Here is a short guide on how to it using windows machine

  1. You should install java from http://www.java.com/en/download/manual.jsp
  2. Download statsvn from http://www.statsvn.org/downloads.html. I used version 0.7
  3. Download CollabNet Subversion Command-Line Client from http://www.collab.net/downloads/subversion/ and install it
  4. Do svn checkout
    C:\project>svn checkout http://svn.your.svn.repository.url.com/trunk/
  5. Generate svn log
    C:\project>svn log ––xml -v > svn.log
  6. Generate statistics
    C:\project>java -jar statsvn.jar Project\svn.log Project
  7. Wait Smile
    (my project has about 1 000 000 lines of code… I waited for a few hours)
  8. Open generated index.html and enjoy Winking smile
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: