Code Metrics and You   Today, I want to talk about code metrics.
Taking the time to critically analyze your code can provide a
number of wonderful benefits. It provides a viewpoint through
which you can identify problem areas in your code base. It can
give you confidence that you are reaching your goals and confirm
suspicions when you are floundering. However, in my experience
the best benefit of using code metrics is gaining insight into
you and your team’s coding style.  Now that we’ve established
some of the benefits of code metrics, let’s talk about some of
the pitfalls. Unfortunately, like so many other things in the
software development world, code metrics are not the only
solution. Measuring productivity by any code metric will result
in programmers coding to the metric. For example, if that metric
is test coverage, they’ll write a single test that runs an
assertion against every file. It may not be as blatant as that,
but if you structure any incentives around these metrics, they
will be gamed.  Anoth