GCC Code Coverage Report
Directory:
./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Coverage
Exec / Excl / Total
Lines:
83.3%
5 / 0 / 6
Functions:
100.0%
1 / 0 / 1
Branches:
50.0%
1 / 0 / 2
List of functions
Function (File:Line)
Calls
Lines
Branches
Blocks
_Z3fooi (func.h:5)
called 2 times
83.3%
50.0%
80.0%
func.h
4 covered
1 uncovered
1 partial covered
0 excluded
Line
Branch
Exec
Source
1
2
#ifdef FOO_OTHER_LINE
3
1
int
foo
(
int
param
)
{
4
#else
5
1
int
foo
(
int
param
)
{
6
#endif
7
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
2
if
(
param
)
{
8
✗
return
1
;
9
}
else
{
10
2
return
0
;
11
}
12
2
}
13