Path Coverage - CI/CD Glossary Definition
Path coverage measures whether every distinct execution path through the code has been tested.
Path coverage requires that every possible route through a function (each unique combination of branches) is executed by tests. It is the most exhaustive and least practical coverage metric.
The number of paths grows exponentially with the number of branches, so full path coverage is usually infeasible. It is mostly a theoretical upper bound.
In practice
Teams rarely target path coverage directly. Branch coverage is the practical stand-in for most CI pipelines.
Related guides
Branch Coverage - CI/CD Glossary DefinitionBranch Coverage: Branch coverage measures whether both the true and false outcomes of every decision point (i…
Condition Coverage - CI/CD Glossary DefinitionCondition Coverage: Condition coverage requires that each boolean sub-expression in a compound condition eval…
Test Coverage - CI/CD Glossary DefinitionTest Coverage: Test coverage is the percentage of your code (lines, branches, or functions) that is executed…