Fun with graphs – metrics for CruiseControl builds

Update: Woo-hoo… I got the second graph working the way I want. Check out the demo page linked below.

I’ve been playing with XPlanner recently, and I was impressed by the graphs that it could produce. So I knocked up something similar (using the same technology) for CruiseControl.

‘ve been playing with XPlanner recently, and I was impressed by the graphs that it could produce. So I knocked up something similar (using the same technology) for CruiseControl.

You can find a snapshot of it at http://www.users.on.net/robertdw/demo/demo.html… the data behind the two graphs is real, BTW (the reason there were so many broken builds at the start is because it was a brand new project, and the builds didn’t pass until there was something to compile), so this isn’t a fake in any way.

The two graphs I have got up are a pie chart showing proportion of good vs bad, and a time-chart showing number of good/bad builds each day. (What I want to do in the end is have the Y axis of the time chart be the time of day of the builds, so we see when builds of both types cluster, and how long they take to fix)

Obviously for the real thing, I would polish it up and place it in as another tab on the reporting web page. Once I’ve done playing (in a couple of days, maybe a week), I will be committing the result. However, I’d love feedback, and although I’ve sent a letter to the CruiseControl devel list, I thought I’d post this here as well to see what people think.

So… thoughts and feedback anyone? Suggestions? To quote Dr Crane: “I’m listening”. Drop a comment in or send me a letter.

Advertisements

Author: Robert Watkins

My name is Robert Watkins. I am a software developer and have been for over 18 years now. I currently work for people, but my opinions here are in no way endorsed by them (which is cool; their opinions aren’t endorsed by me either). My main professional interests are in Java development, using Agile methods, with a historical focus on building web based applications. I’m also a Mac-fan and love my iPhone, which I’m currently learning how to code for. I live and work in Brisbane, Australia, but I grew up in the Northern Territory, and still find Brisbane too cold (after 16 years here). I’m married, with two children and one cat. My politics are socialist in tendency, my religious affiliation is atheist (aka “none of the above”), my attitude is condescending and my moral standing is lying down.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s