GCC Code Coverage Report
Directory:
.
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Coverage
Exec / Excl / Total
Lines:
100.0%
4 / 0 / 4
Functions:
100.0%
2 / 0 / 2
Branches:
-%
0 / 0 / 0
List of functions
Function (File:Line)
Calls
Lines
Branches
Blocks
_Z3fooi (main.cpp:3)
called 1 time
100.0%
-%
100.0%
main (main.cpp:7)
called 1 time
100.0%
-%
100.0%
main.cpp
4 covered
0 uncovered
0 partial covered
0 excluded
Line
Branch
Exec
Source
1
2
inline
int
foo
(
int
x
)
__attribute__
((
always_inline
));
3
1
inline
int
foo
(
int
x
)
{
4
1
return
x
?
1
:
0
;
5
}
6
7
1
int
main
()
{
8
1
return
foo
(
0
);
9
}
10