LCOV - code coverage report
Current view: top level - gcc/rust/hir/tree Coverage Total Hit
Test: gcc.info Lines: 54.4 % 7439 4046
Test Date: 2026-11-14 16:39:50 Functions: 58.6 % 1916 1122
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
rust-hir-attrs.h
100.0%
100.0 % 9 9 -
rust-hir-bound-abstract.h
100.0%
100.0 % 4 4 -
rust-hir-bound.h
100.0%
100.0 % 14 14 100.0 % 4 4
rust-hir-expr-abstract.h
70.6%70.6%
70.6 % 17 12 66.7 % 6 4
rust-hir-expr.cc
40.8%40.8%
40.8 % 812 331 31.4 % 271 85
rust-hir-expr.h
54.5%54.5%
54.5 % 549 299 45.9 % 185 85
rust-hir-generic-param.cc
22.9%22.9%
22.9 % 83 19 45.5 % 11 5
rust-hir-generic-param.h
60.0%60.0%
60.0 % 25 15 50.0 % 10 5
rust-hir-item.cc
36.0%36.0%
36.0 % 642 231 47.8 % 92 44
rust-hir-item.h
70.3%70.3%
70.3 % 474 333 64.3 % 140 90
rust-hir-literal.h
100.0%
100.0 % 8 8 -
rust-hir-node.h
100.0%
100.0 % 1 1 -
rust-hir-path.cc
59.7%59.7%
59.7 % 211 126 60.0 % 45 27
rust-hir-path.h
86.0%86.0%
86.0 % 164 141 83.3 % 48 40
rust-hir-pattern-abstract.cc
96.3%96.3%
96.3 % 162 156 100.0 % 8 8
rust-hir-pattern-abstract.h
62.5%62.5%
62.5 % 8 5 33.3 % 3 1
rust-hir-pattern.h
87.1%87.1%
87.1 % 410 357 88.6 % 105 93
rust-hir-simple-path.h
90.0%90.0%
90.0 % 10 9 100.0 % 1 1
rust-hir-stmt.cc
49.0%49.0%
49.0 % 49 24 57.1 % 7 4
rust-hir-stmt.h
83.7%83.7%
83.7 % 43 36 77.8 % 18 14
rust-hir-trait-bound.h
93.8%93.8%
93.8 % 16 15 100.0 % 5 5
rust-hir-type-abstract.cc
0.0%
0.0 % 2 0.0 % 1
rust-hir-type-abstract.h
75.0%75.0%
75.0 % 12 9 50.0 % 4 2
rust-hir-type-no-bounds.h
60.0%60.0%
60.0 % 5 3 0.0 % 1
rust-hir-type.cc
57.7%57.7%
57.7 % 163 94 66.7 % 33 22
rust-hir-type.h
62.2%62.2%
62.2 % 74 46 56.5 % 23 13
rust-hir-visibility.h
100.0%
100.0 % 9 9 100.0 % 1 1
rust-hir-visitable.h
100.0%
100.0 % 1 1 -
rust-hir-visitor.cc
80.6%80.6%
80.6 % 738 595 79.7 % 143 114
rust-hir-visitor.h
54.3%54.3%
54.3 % 289 157 57.1 % 340 194
rust-hir.cc
40.5%40.5%
40.5 % 2422 981 63.8 % 409 261
rust-hir.h
46.2%46.2%
46.2 % 13 6 0.0 % 2

Generated by: LCOV version 2.5.0-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.