Archive

Posts Tagged ‘statistics’

Generating SVN statistics using statSVN

October 17, 2010 Leave a comment

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
Advertisements