A/File4.cpp

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