GCC Code Coverage Report
Directory:
../
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
main (src/main.cpp:4)
called 1 time
80.0%
50.0%
75.0%
project/src/main.cpp
3 covered
1 uncovered
1 partial covered
0 excluded
Line
Branch
Exec
Source
1
bool
no
(
bool
);
2
int
yes
(
int
);
3
4
1
int
main
(
int
argc
,
char
*
argv
[])
5
{
6
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1
if
(
no
(
true
))
{
7
✗
return
yes
(
7
);
8
}
9
else
{
10
1
return
yes
(
10
);
11
}
12
1
}
13