分岐カバレッジ - CI/CD用語集の定義
分岐カバレッジは、判定の結果(各 if、ループ、switch の真と偽の各エッジ)のうち、テストが実行した割合です。
より厳格な理由
if を含む行は、片方の分岐だけが実行されても行カバレッジは完全になり得ます。分岐カバレッジはテストに両方の結果を通ることを強制します。
関連ガイド
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…