GCC Code Coverage Report
Directory:
.subdir/
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Coverage
Exec / Excl / Total
Lines:
80.0%
4 / 0 / 5
Functions:
100.0%
1 / 0 / 1
Branches:
50.0%
1 / 0 / 2
List of functions
Function (File:Line)
Calls
Lines
Branches
Blocks
_Z3fooi (.subdir/A/file1.cpp:1)
called 1 time
80.0%
50.0%
80.0%
A/file1.cpp
3 covered
1 uncovered
1 partial covered
0 excluded
Line
Branch
Exec
Source
1
1
int
foo
(
int
param
)
2
{
3
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1
if
(
param
)
{
4
✗
return
1
;
5
}
else
{
6
1
return
0
;
7
}
8
1
}
9