Chapter 7. Software Measurement and Metrics

To identify the defect prevention metrics and other metrics that are right for your business, you must start with a strategic overview. The balanced scorecard is a good way to realize this. Only with a strong understanding of your business can you tie defect prevention metrics to your goals. An effective scorecarding effort ensures that you know the impact of what you are measuring. For example, many software teams find code coverage[1] an important defect prevention metric. Unfortunately, there is no correlation between higher code coverage and higher-quality code. In fact, it is quite the opposite, although this in not intuitively obvious. There are many explanations for this—one of which is that ...

Get The Practical Guide to Defect Prevention now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.