Every so often, somebody points out how bad of a metric code coverage is . And of course, on its own, it doesn?t tell you much: after all, it?s a single number. How could it possibly reflect all the subtlety (or lack thereof) of your designs and of your testing artillery? Of course, within all the various *DD approaches, some better than others enable you to know whether or not your code conforms to its requirements, but I thought I?d take a moment to reflect on the general idea of a software metric and how it relates to the mothers of all metrics: physical ones, cause you know, I used to be a scientist. Proof: the lab coat on the picture. The theory of measurement is at the center of all experimental physics. This comes from the realization...(read more) ...
Go to the complete details ...