CRAP and Other Metrics

Uncle Bob on metrics for clean code.

Despite what he says, and I have so much respect for the guy, don’t rush out and do it now. If you start running it on your codebase, expect a harsh reality shock. Even if you expect it, it’s still a shock.

I recall doing something similar years ago with running FXCop on our codebase. The 1st thought was: this can’t be. The 2nd: screw this, there is no way I’m going to sink so much time into this to fix it.

Like all things, start gradually, and work from there. It would be interesting to see if this metric catches.

2 comments on “CRAP and Other Metrics”

  1. Miguel Gouveia Reply

    Can you provide the link to the article “Uncle Bob on metrics for clean code”?

Leave a Reply to Miguel Gouveia Cancel reply

Your email address will not be published. Required fields are marked *