Code Coverage [Functional Validation]

Software testing 101

Code Coverage [Functional Validation]

What is “Code Coverage”?

The  “Code Coverage” DevOps quality metric measures how well functional test cases cover code. It can be measured in a number of different ways; for example, statement (line) coverage, branch coverage, MC/DC coverage, etc.  

How “Code Coverage” Ranks vs. Other Quality Metrics

In new Forrester research on DevOps quality metrics, DevOps leaders ranked “Code Coverage” as the #1 most valued functional validation quality metric. Of the 27% of DevOps leaders who measured this metric, 63% of them ranked it as one of their most valuable DevOps quality metrics. This metric was not found to be a “DevOps Differentiator” (DevOps experts/leaders measured it significantly more than DevOps laggards did).

Here‘s a quick look at how “Code Coverage” is positioned vs. other Functional Validation Metrics—based on the raw data collected from DevOps experts. “DevOps Differentiators” are highlighted in green.

These findings are expanded upon in the new ebook: Forrester Research on DevOps Quality Metrics that Matter: 75 Common Metrics—Ranked by Industry Experts.