GCC Code Coverage Report
Directory:
./
File:
foo.cpp
Date:
2025-09-27 21:24:05+00:00
Coverage
Exec
Excl
Total
Lines:
100.0%
4
0
4
Functions:
100.0%
1
0
1
Branches:
-%
0
0
0
List of functions
Function (Line)
Call count
Line coverage
Branch coverage
Block coverage
foo() (line 1)
called 1 time
100.0%
-%
100.0%
Line
Branch
Exec
Source
1
1
int
foo
()
2
{
3
1
int
x
=
2
;
4
1
int
y
=
2
;
5
1
return
x
+
y
;
6
}
7