LCOV - code coverage report
Current view: top level - gcc/rust/hir/tree Coverage Total Hit
Test: gcc.info Lines: 43.9 % 6097 2676
Test Date: 2025-06-21 16:26:05 Functions: 46.0 % 1484 683
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 % Branches: - 0 0

File Sort by file name Line Coverage Sort by line coverage Branch Coverage Sort by branch coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit Rate Total Hit
rust-hir-attrs.h
88.9%88.9%
88.9 % 9 8 - -
rust-hir-bound-abstract.h
100.0%
100.0 % 4 4 - -
rust-hir-bound.h
85.7%85.7%
85.7 % 14 12 - 75.0 % 4 3
rust-hir-expr-abstract.h
64.7%64.7%
64.7 % 17 11 - 66.7 % 6 4
rust-hir-expr.cc
38.3%38.3%
38.3 % 845 324 - 28.4 % 257 73
rust-hir-expr.h
46.6%46.6%
46.6 % 491 229 - 35.3 % 173 61
rust-hir-generic-param.cc
46.5%46.5%
46.5 % 43 20 - 50.0 % 8 4
rust-hir-generic-param.h
50.0%50.0%
50.0 % 24 12 - 50.0 % 10 5
rust-hir-item.cc
33.3%33.3%
33.3 % 622 207 - 41.8 % 91 38
rust-hir-item.h
62.6%62.6%
62.6 % 465 291 - 57.9 % 140 81
rust-hir-literal.h
100.0%
100.0 % 8 8 - -
rust-hir-node.h
100.0%
100.0 % 1 1 - -
rust-hir-path.cc
62.0%62.0%
62.0 % 229 142 - 60.0 % 45 27
rust-hir-path.h
86.8%86.8%
86.8 % 159 138 - 82.6 % 46 38
rust-hir-pattern-abstract.h
75.0%75.0%
75.0 % 4 3 - 0.0 % 1
rust-hir-pattern.h
74.3%74.3%
74.3 % 319 237 - 78.2 % 87 68
rust-hir-simple-path.h
100.0%
100.0 % 10 10 - 100.0 % 1 1
rust-hir-stmt.cc
48.1%48.1%
48.1 % 52 25 - 57.1 % 7 4
rust-hir-stmt.h
74.4%74.4%
74.4 % 43 32 - 72.2 % 18 13
rust-hir-trait-bound.h
87.5%87.5%
87.5 % 16 14 - 100.0 % 5 5
rust-hir-type-abstract.cc
0.0%
0.0 % 2 - 0.0 % 1
rust-hir-type-abstract.h
90.0%90.0%
90.0 % 10 9 - 66.7 % 3 2
rust-hir-type-no-bounds.h
60.0%60.0%
60.0 % 5 3 - 0.0 % 1
rust-hir-type.cc
48.0%48.0%
48.0 % 171 82 - 51.5 % 33 17
rust-hir-type.h
51.4%51.4%
51.4 % 74 38 - 43.5 % 23 10
rust-hir-visibility.h
81.8%81.8%
81.8 % 11 9 - 50.0 % 2 1
rust-hir-visitable.h
100.0%
100.0 % 1 1 - -
rust-hir-visitor.h
23.7%23.7%
23.7 % 135 32 - 16.9 % 124 21
rust-hir.cc
33.4%33.4%
33.4 % 2300 768 - 52.3 % 396 207
rust-hir.h
46.2%46.2%
46.2 % 13 6 - 0.0 % 2

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