Ayende @ Rahien

My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:


+972 52-548-6969

, @ Q c

Posts: 6,026 | Comments: 44,842

filter by tags archive

Meaningless code quality, part 2

time to read 1 min | 86 words

Here is the next slide in my presentation.


Code quality is a hard metric, it can be backed up by numbers, if you need to. Fairly often, it is measured by gut feeling and "this is a mess".

One interesting problem with code quality is that you generally don't have a good way to measure the maintainability of a particular solution, regardless of its current code quality.


Konstantin Spirin

A good code quality metric exists - it's WTFs/minute.

Easily googlable.

For example,


Peter Ritchie

Metrics about coupling and dependencies are a good indication of maintainability. But, they're not foolproof.

One thing I've learned over the years is to never underestimate people's ability to write lousy code to make metrics look good.

Gian Maria

Metrics should not be known by developers, if you do not known the metric you cannot write code only for the sake of having good metrics. But in the end metrics themselves are not so useful.

Code quality can means different things, I think that we should speak of Code quality in a team, meaning that the code have good quality if everyone in the team can look at it, and understand how it works and most important, he can modify it with good confidence.

Clearly that are some factor like number of bug found that can be also a good starting point to measure quality of a particular piece of code.


Comment preview

Comments have been closed on this topic.


No future posts left, oh my!


  1. Technical observations from my wife (3):
    13 Nov 2015 - Production issues
  2. Production postmortem (13):
    13 Nov 2015 - The case of the “it is slow on that machine (only)”
  3. Speaking (5):
    09 Nov 2015 - Community talk in Kiev, Ukraine–What does it take to be a good developer
  4. Find the bug (5):
    11 Sep 2015 - The concurrent memory buster
  5. Buffer allocation strategies (3):
    09 Sep 2015 - Bad usage patterns
View all series


Main feed Feed Stats
Comments feed   Comments Feed Stats