Code coverage is a metric, in which the number of paths taken through a piece of code is given as a percentage of the total number of possible paths through that code. It is usually talked about at the same time as cyclomatic complexity, because the number of paths is a key feature of both code complexity and coverage metrics.

The code coverage is usually given as a percentage, and can help predict when testing will be complete.

Log in or register to write something here or to contact authors.