Conclusion

Dozens of books have been written on software metrics, and yet teams across the industry are continually stumped about what to measure. Designing a scorecard program is seemingly simple logic that is difficult to materialize because we are engineers and like numbers, logic, and predictability, so we tend to focus on metrics and not on goals. If you start by conceptualizing goals that are tied to your business objectives, you will measure the things that matter for your business, which could include code coverage, lines of code, inspection rates, defect densities, code churn, complexity, and so forth. Measuring these factors matters only if you can show how they are tied to your goals and objectives—how measuring them will improve ...

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.