Branch Coverage - CI/CD Glossary Definition
Branch coverage is the percentage of decision outcomes (each true and false edge of every if, loop, and switch) that the tests exercised.
Why it is stricter
A line with an if can be fully line-covered while only one branch ran; branch coverage forces tests to hit both outcomes.
Related guides
Line Coverage - CI/CD Glossary DefinitionLine Coverage: Line coverage is the percentage of executable source lines that were run at least once by the…
Path Coverage - CI/CD Glossary DefinitionPath Coverage: Path coverage measures the percentage of distinct execution paths through a function that were…
Test Coverage - CI/CD Glossary DefinitionTest Coverage: Test coverage measures how much of the codebase is exercised by the test suite, expressed as a…