LCOV - code coverage report
Current view: top level - gcc/cp Coverage Total Hit
Test: gcc.info Lines: 92.8 % 132875 123323
Test Date: 2026-03-28 14:25:54 Functions: 96.8 % 5162 4996
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

File Sort by file name Line Coverage Sort by line coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit
ptree.cc
0.0%
0.0 % 278 0.0 % 7
dump.cc
41.6%41.6%
41.6 % 190 79 100.0 % 3 3
cp-trait.def
44.0%44.0%
44.0 % 75 33 -
cxx-pretty-print.cc
63.0%63.0%
63.0 % 1672 1053 79.8 % 84 67
mapper-client.cc
68.0%68.0%
68.0 % 178 121 100.0 % 4 4
vtable-class-hierarchy.cc
68.9%68.9%
68.9 % 498 343 70.4 % 27 19
mapper-client.h
71.4%71.4%
71.4 % 7 5 -
cvt.cc
79.2%79.2%
79.2 % 1056 836 94.1 % 34 32
logic.cc
82.7%82.7%
82.7 % 295 244 94.1 % 34 32
g++spec.cc
87.2%87.2%
87.2 % 218 190 100.0 % 2 2
error.cc
87.6%87.6%
87.6 % 2738 2398 97.2 % 109 106
friend.cc
88.1%88.1%
88.1 % 253 223 83.3 % 6 5
parser.cc
91.4%91.4%
91.4 % 24744 22606 91.2 % 716 653
reflect.cc
91.9%91.9%
91.9 % 4180 3843 100.0 % 290 290
constraint.cc
92.1%92.1%
92.1 % 1537 1415 98.4 % 122 120
typeck.cc
92.2%92.2%
92.2 % 5521 5091 97.7 % 175 171
tree.cc
93.0%93.0%
93.0 % 3083 2867 95.1 % 183 174
constexpr.cc
93.0%93.0%
93.0 % 6270 5830 99.5 % 196 195
mangle.cc
93.2%93.2%
93.2 % 2262 2109 97.3 % 111 108
coroutines.cc
93.2%93.2%
93.2 % 2324 2167 99.0 % 96 95
typeck2.cc
93.4%93.4%
93.4 % 1283 1198 100.0 % 40 40
cp-lang.cc
93.4%93.4%
93.4 % 61 57 92.9 % 14 13
lex.cc
93.7%93.7%
93.7 % 504 472 92.3 % 39 36
semantics.cc
94.1%94.1%
94.1 % 7363 6930 98.0 % 248 243
cp-gimplify.cc
94.3%94.3%
94.3 % 2281 2150 100.0 % 82 82
module.cc
94.2%94.2%
94.2 % 11078 10441 97.9 % 475 465
name-lookup.cc
94.5%94.5%
94.5 % 4217 3986 96.2 % 237 228
decl.cc
94.6%94.6%
94.6 % 9644 9127 97.9 % 242 237
name-lookup.h
94.7%94.7%
94.7 % 19 18 100.0 % 3 3
pt.cc
95.2%95.2%
95.2 % 15091 14364 98.7 % 477 471
decl2.cc
95.3%95.3%
95.3 % 2921 2783 100.0 % 134 134
optimize.cc
95.9%95.9%
95.9 % 343 329 100.0 % 10 10
init.cc
96.1%96.1%
96.1 % 2388 2296 100.0 % 66 66
call.cc
96.3%96.3%
96.3 % 6389 6150 100.0 % 226 226
rtti.cc
96.5%96.5%
96.5 % 772 745 100.0 % 33 33
search.cc
96.6%96.6%
96.6 % 964 931 100.0 % 68 68
contracts.cc
96.5%96.5%
96.5 % 1318 1272 100.0 % 99 99
class.cc
96.5%96.5%
96.5 % 4417 4263 98.6 % 207 204
cp-tree.h
96.6%96.6%
96.6 % 416 402 100.0 % 45 45
method.cc
97.5%97.5%
97.5 % 1947 1898 100.0 % 80 80
cp-objcp-common.cc
98.2%98.2%
98.2 % 276 271 95.8 % 24 23
lambda.cc
98.6%98.6%
98.6 % 906 893 100.0 % 45 45
cp-ubsan.cc
99.3%99.3%
99.3 % 147 146 100.0 % 11 11
except.cc
99.4%99.4%
99.4 % 529 526 100.0 % 44 44
cxx-pretty-print.h
100.0%
100.0 % 1 1 -
type-utils.h
100.0%
100.0 % 9 9 100.0 % 1 1
contracts.h
100.0%
100.0 % 10 10 100.0 % 2 2
coroutines.h
100.0%
100.0 % 10 10 100.0 % 1 1
expr.cc
100.0%
100.0 % 192 192 100.0 % 10 10

Generated by: LCOV version 2.4-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.