Mar
14
2005

Fun with StatCVS

I first learned about StatCVS on a developerWorks, and it looked pretty darn cool. Basically it’s a tiny Java app that crunches CVS logs and produces a bunch of neat HTML reports. It produces stuff for your project as a whole, and by individual developer. You can see who works the most in what parts of the source tree, what time of day you do your most commits, what percentage of mods vs new classes are committed, and all sorts of cvs-related administrivia.

It certainly passes the “Just Works” test – I was up and running in under 5 minutes – and the graphs it produces are really quite cool. Interesting to know that my most prolific commits happen between 9-10 AM and 3-4 PM, and typically on a Thursday. Whatever that means. I also spend 40% of my time on maintance and 60% on new code, which means we must have added a stack of features in the last year!

The only thing lacking is a way to start a date range after the initial import of your project (since we migrated a stack of source from another version control system to CVS, all the stats are skewed for the guy who did the original commit).

Anyways, a very nifty utility to play with for a bit of fun.

About the Author: Glen Smith

2 Comments + Add Comment

  • Trackback didn’t make it through … Actually, you can limit the date range.

    Cheers, Richard

  • Richard, that’s sensational news! I’ve giving it a go today! I can’t believe I didn’t scan the manual, just the commandline args. You’ve actually got a top-level section titled “Setting a Start and End Date”. Feel free to punch me in the arm next time you’re in Canberra.

    Matt Quail also dropped me a line saying that I must have an eval of FishEye – which I will do at some point. I am a huge clover fan, and this product also looks pretty sharp.

    StatCVS has really opened my eyes to some new management reporting options which I’m keen to explore a little more as part of our nightly build. And the guys on the dev teams love looking at graphs of their progress. Who wouldn’t? Very motivating.

Leave a comment

Glen Smith

About Glen

Co-author Grails in Action