Index
/
A / file1.cpp
Nested
Flat
A/file1.cpp
75.0%
Lines (3 / 4)
50.0%
Branches (1 / 2)
100.0%
Functions (1 / 1)
[
]
prev/next file
n
p
prev/next uncovered line
file1.cpp
covered
uncovered
partial
Branch
TLA
Hits
f
(x)
Functions (1)
Function
Calls
Lines
Branches
Blocks
foo(int)
:1
2x
75.0%
50.0%
75.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
}
9