LCOV - code coverage report
Current view: top level - gcc/rust/hir/tree Coverage Total Hit
Test: gcc.info Lines: 39.2 % 7118 2790
Test Date: 2025-08-30 13:27:53 Functions: 38.1 % 1866 711
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
41.2%41.2%
41.2 % 886 365 - 29.9 % 271 81
rust-hir-expr.h
47.9%47.9%
47.9 % 547 262 - 38.3 % 183 70
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 % 26 13 - 40.0 % 10 4
rust-hir-item.cc
32.4%32.4%
32.4 % 624 202 - 40.7 % 91 37
rust-hir-item.h
62.1%62.1%
62.1 % 472 293 - 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.0%86.0%
86.0 % 164 141 - 83.0 % 47 39
rust-hir-pattern-abstract.h
75.0%75.0%
75.0 % 4 3 - 0.0 % 1
rust-hir-pattern.h
85.6%85.6%
85.6 % 319 273 - 88.5 % 87 77
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
43.3%43.3%
43.3 % 171 74 - 48.5 % 33 16
rust-hir-type.h
47.3%47.3%
47.3 % 74 35 - 34.8 % 23 8
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.cc
0.0%
0.0 % 728 - 0.0 % 141
rust-hir-visitor.h
11.6%11.6%
11.6 % 285 33 - 6.6 % 334 22
rust-hir.cc
33.5%33.5%
33.5 % 2330 781 - 52.7 % 402 212
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.