LCOV - code coverage report
Current view: top level - gcc/cp Coverage Total Hit
Test: gcc.info Lines: 92.8 % 133606 124013
Test Date: 2026-04-20 14:57:17 Functions: 96.8 % 5178 5011
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.5%87.5%
87.5 % 2743 2401 96.3 % 109 105
friend.cc
88.1%88.1%
88.1 % 253 223 83.3 % 6 5
parser.cc
91.4%91.4%
91.4 % 24773 22636 91.2 % 717 654
constraint.cc
92.0%92.0%
92.0 % 1542 1419 98.4 % 122 120
reflect.cc
92.1%92.1%
92.1 % 4487 4131 100.0 % 301 301
typeck.cc
92.2%92.2%
92.2 % 5524 5094 97.7 % 175 171
tree.cc
93.0%93.0%
93.0 % 3092 2876 95.1 % 183 174
constexpr.cc
93.0%93.0%
93.0 % 6290 5851 99.5 % 196 195
mangle.cc
93.2%93.2%
93.2 % 2311 2154 97.3 % 112 109
coroutines.cc
93.3%93.3%
93.3 % 2334 2177 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 % 505 473 92.3 % 39 36
semantics.cc
94.1%94.1%
94.1 % 7372 6939 98.0 % 249 244
cp-gimplify.cc
94.2%94.2%
94.2 % 2296 2163 100.0 % 82 82
module.cc
94.3%94.3%
94.3 % 11089 10452 97.9 % 475 465
name-lookup.cc
94.6%94.6%
94.6 % 4237 4008 96.2 % 237 228
decl.cc
94.6%94.6%
94.6 % 9693 9174 97.9 % 242 237
name-lookup.h
94.7%94.7%
94.7 % 19 18 100.0 % 3 3
decl2.cc
95.2%95.2%
95.2 % 2921 2782 100.0 % 134 134
pt.cc
95.2%95.2%
95.2 % 15211 14482 98.7 % 479 473
init.cc
95.7%95.7%
95.7 % 2454 2349 100.0 % 66 66
optimize.cc
95.9%95.9%
95.9 % 343 329 100.0 % 10 10
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 % 1320 1274 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.7%98.7%
98.7 % 907 895 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.