A/file1.cpp

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