Software Metrics - The Good, The Bad and the CRAPpy

Alberto Savoia (Agitar Software Laboratories), Bob Evans (Agitar Software)

Test And Performance · Long Talk

Tuesday, 11:10, 50 minutes | Theatre | Download in iCal Format


Alberto Savoia

Bob Evans

"Pardon my French, but your code is CRAP! ... And I am not going to touch it until you clean it up!"

How would you like to be able to say those words - and back them up - the next time you are about to get stuck working with someone else's poor excuse for code?

In this presentation, you'll learn how an investigation of beautiful code, led to a survey on the surprisingly pathetic state of software metrics today, and ultimately degenerated in an experimental let's-go-back-to-basics metric called C.R.A.P. and an Eclipse plug-in called Crap4j

Today, the combination of the Eclipse plug-in architecture with open-source metrics makes experimenting with software metrics easier than ever. There are dozens of open-source and commercial plug-ins for Eclipse that can be used to slice and dice code and spit-out hundreds of different metrics. But who is using what? And why? And what should you use.

Most developers agree that, in the hands of Dilbert-esque managers, software metric will do more harm than good. Sure, with any metric, there is great potential for management abuse, misuse, or overuse; but is that reason enough for not using any metrics? Some very smart people believe so, and argue that giving metrics to managers is akin to giving loaded guns to toddlers. Other people believe that metrics don't kill software projects, but moronic managers kill software projects. As you can see, we have the making of a very interesting and lively debate ... and you thought that software metrics were a dry, boring, subject.

In return for 50 minutes of your time, we'll make sure you leave with:

1) A sobering, but realistic and illuminating, summary of the sorry state of software metrics today.

2) Information and encouragement for taking advantage of, and experimenting with, open-source metrics in Eclipse -- including demos of Crap4j and Crap-o-rama.

3) Understanding of the reasons and reasoning behind the C.R.A.P. metric and how we can all leverage open-source, Eclipse, and the Internet to develop, refine, and validate the next generation of software metrics.

We promise a lively and thought-provoking presentation with plenty of time for Q&A and verbal sparring. We hope you'll join us.

Alberto is CTO of Agitar Software and he’s on a mission to rid the world from CRAPpy code. Before Agitar, he led the development of high-quality, long-lived, and money-making software at companies like Google and Sun Microsystems – but admits to having produced his share of CRAPpy code in the past. Alberto’s work in software development technology has been recognized with several prestigious awards including two Jolt Awards, The Wall Street Journal Technology Innovation Awards, and the JavaOne Duke’s Award. A prolific writer and blogger, Alberto is also one of the contributing authors to O'Reilly's bestselling book "Beautiful Code".

Bob Evans has almost 15 years experience building Object-Oriented applications and tools in diverse fields such as network management, and finance. Currently, he researches and develops new testing tools for developers at Agitar Software. Previously, he worked on JBuilder at Borland Software Corporation. He is a longtime member of the Silicon Valley Patterns Group. He has spoken at SD West, Java One, and the Agile Development Conference. His mission is to make developers more productive and to make computers easier for everyone to use by creating more powerful tools.

Floor Plan

Gold sponsors

BEA logo

IBM logo

Wind River logo

Replay Solutions logo

JBoss logo


Cloudsmith logo

BIRT Exchange logo

Skyway Software logo


BlackBerry logo

AMD logo

Silver sponsors








Business Objects

LynuxWorks logo

Hardware sponsor

AMD logo

Media sponsors

Extension Media

Methods and Tools


Addison-Wesley logo

SD Times logo

Open Systems Publishing

Software Test & Performance logo


Be a Sponsor