LCOV - code coverage report
Current view: top level - gcc/cp Coverage Total Hit
Test: gcc.info Lines: 92.8 % 132666 123070
Test Date: 2026-02-28 14:20:25 Functions: 96.8 % 5155 4988
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
61.9%61.9%
61.9 % 1672 1035 78.6 % 84 66
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
80.0%80.0%
80.0 % 295 236 94.1 % 34 32
g++spec.cc
87.2%87.2%
87.2 % 218 190 100.0 % 2 2
error.cc
87.5%87.5%
87.5 % 2736 2395 97.2 % 109 106
friend.cc
88.1%88.1%
88.1 % 253 223 83.3 % 6 5
parser.cc
91.3%91.3%
91.3 % 24740 22597 91.2 % 716 653
reflect.cc
91.8%91.8%
91.8 % 4153 3814 100.0 % 288 288
constraint.cc
92.0%92.0%
92.0 % 1534 1412 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 % 3079 2862 95.1 % 183 174
constexpr.cc
93.0%93.0%
93.0 % 6263 5825 99.5 % 196 195
mangle.cc
93.2%93.2%
93.2 % 2259 2106 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 % 7368 6934 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 % 11055 10414 97.9 % 474 464
name-lookup.cc
94.6%94.6%
94.6 % 4148 3922 96.2 % 235 226
decl.cc
94.6%94.6%
94.6 % 9631 9114 97.9 % 242 237
name-lookup.h
94.7%94.7%
94.7 % 19 18 100.0 % 3 3
pt.cc
95.1%95.1%
95.1 % 15058 14322 98.7 % 476 470
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 % 2386 2294 100.0 % 66 66
call.cc
96.2%96.2%
96.2 % 6387 6146 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 % 962 929 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 % 4416 4262 98.6 % 207 204
cp-tree.h
96.6%96.6%
96.6 % 415 401 100.0 % 45 45
method.cc
97.5%97.5%
97.5 % 1929 1880 100.0 % 79 79
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.