Automated Subversion Reports w/StatSVN and Ant

Alistair Davidson recently blogged about StatSvn - a reporting tool for Subversion. From their site:

“StatSVN retrieves information from a Subversion repository and generates various tables and charts describing the project development.”

Some of the reports it will produce:

StatSVN - Subversion Reports

  • Timeline for the lines of code
  • Lines of code for each developer
  • Activity by Clock time
  • Authors Activity
  • Author activity per Module
  • Stats per directory
  • File count
  • Average file size
  • Largest files
  • Files with most revisions
  • Directory Sizes
  • Repository Tags Number of LOC per version
  • Repository tree with file count and lines of code
  • LOC and Churn the evolution of LOC and the amount of change per day
  • Repo Map the dynamic hierarchical view of your repo for the last 30 days

While it’s not difficult to run manually - the great thing about this is they have include an Ant task - so you can automate the whole thing!

See my wiki for code and report examples!

2 Comments

  1. Posted February 27, 2007 at 10:22 am | Permalink

    If you feel like posting some of these examples on the office StatSVN wiki, go ahead!

  2. Posted February 27, 2007 at 2:04 pm | Permalink

    Jason - where on the wiki would you like me to post?

Creative Commons License

Copyright © 2007 thecrumb.com. All rights reserved.