Coverage Levels

Supported Code Coverage Levels

Coco supports the following coverage levels:

  • Function coverage
  • Line Coverage
  • Statement Coverage
  • Decision Coverage (or Branch Coverage)
  • Condition Coverage
  • MC/DC – Modified Condition/Decision Coverage
  • MCC – Multiple Condition Coverage

The Call Coverage metric is not explictly listed but is implicitly covered by Condition Coverage, MC/DC and MCC.


For easier analysis the source code is colored depending on whether a line, branch or condition is covered – or not:


See our site for more sophisticated examples from real world projects.