Category Archives: Metrics

Code Coverage: What Is It Good For?

Absolutely nothing. Or so the story goes… I had a mini-exchange with my pal Glenn Block last night on Twitter. He was recycling the somewhat old meme that code coverage is a cockamamie metric that, as he puts it, ” … Continue reading 

Also posted in practices, TDD, teams, testing | 10 Comments

Quick Cyclomatic Complexity Question

Should’ve known better to ask this question on Twitter. Let it not be said that there are no downsides to always poking fun our tendency to take things too seriously. Here’s some code: function void Process( Job job ) { … Continue reading 


KLOCs and Golf Scores

I’m always amused when I hear “our system has one million lines of code” bandied about as a point of pride. All that says to me is that most likely you’ve inherited a big ball of mud because when a single … Continue reading 

Also posted in NHibernate, Rails, Ruby | 12 Comments