A/File4.cpp

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