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