A/file1.cpp

75.0% Lines (3 / 4) 50.0% Branches (1 / 2) 50.0% Conditions (1 / 2) 100.0% Functions (1 / 1)
file1.cpp
f(x) Functions (1)
Function Calls Lines Branches Blocks
foo(int) :1 1x 75.0% 50.0% 75.0%
Line Branch Condition TLA Hits Source Code
1 1x int foo(int param)
2 {
3
1/2
✗ Branch 2 → 3 not taken.
✓ Branch 2 → 4 taken 1 time.
1/2
✗ True not covered.
1x if (param) {
4 ✗ return 1;
5 } else {
6 1x return 0;
7 }
8 }
9