LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 57.6 % 12253 7063
Test Date: 2026-08-22 16:33:35 Functions: 54.2 % 847 459
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-builtins.cc
93.1%93.1%
93.1 % 87 81 100.0 % 12 12
rust-compile-asm.cc
96.3%96.3%
96.3 % 108 104 100.0 % 15 15
rust-compile-asm.h
100.0%
100.0 % 2 2 -
rust-compile-base.cc
87.7%87.7%
87.7 % 567 497 81.2 % 32 26
rust-compile-base.h
100.0%
100.0 % 2 2 100.0 % 2 2
rust-compile-block.cc
100.0%
100.0 % 64 64 100.0 % 5 5
rust-compile-block.h
21.8%21.8%
21.8 % 124 27 5.9 % 102 6
rust-compile-context.cc
89.8%89.8%
89.8 % 98 88 100.0 % 8 8
rust-compile-context.h
88.5%88.5%
88.5 % 200 177 94.4 % 18 17
rust-compile-drop-builder.cc
100.0%
100.0 % 8 8 100.0 % 3 3
rust-compile-drop-candidate.h
100.0%
100.0 % 1 1 -
rust-compile-drop.cc
100.0%
100.0 % 50 50 100.0 % 4 4
rust-compile-expr.cc
94.6%94.6%
94.6 % 1652 1562 97.5 % 79 77
rust-compile-expr.h
11.1%11.1%
11.1 % 9 1 0.0 % 8
rust-compile-extern.h
63.2%63.2%
63.2 % 76 48 50.0 % 6 3
rust-compile-fnparam.cc
100.0%
100.0 % 54 54 100.0 % 11 11
rust-compile-fnparam.h
28.6%28.6%
28.6 % 7 2 16.7 % 6 1
rust-compile-implitem.cc
43.5%43.5%
43.5 % 46 20 50.0 % 2 1
rust-compile-implitem.h
85.7%85.7%
85.7 % 21 18 66.7 % 3 2
rust-compile-intrinsic.cc
71.4%71.4%
71.4 % 14 10 100.0 % 2 2
rust-compile-item.cc
93.6%93.6%
93.6 % 172 161 100.0 % 10 10
rust-compile-item.h
47.8%47.8%
47.8 % 23 11 20.0 % 15 3
rust-compile-pattern.cc
95.5%95.5%
95.5 % 819 782 100.0 % 25 25
rust-compile-pattern.h
58.1%58.1%
58.1 % 62 36 50.0 % 20 10
rust-compile-proc-macro.cc
0.0%
0.0 % 157 0.0 % 14
rust-compile-resolve-path.cc
94.8%94.8%
94.8 % 191 181 100.0 % 9 9
rust-compile-resolve-path.h
100.0%
100.0 % 1 1 -
rust-compile-stmt.cc
97.2%97.2%
97.2 % 36 35 100.0 % 4 4
rust-compile-stmt.h
47.8%47.8%
47.8 % 23 11 45.5 % 22 10
rust-compile-struct-field-expr.cc
100.0%
100.0 % 33 33 100.0 % 5 5
rust-compile-struct-field-expr.h
100.0%
100.0 % 1 1 -
rust-compile-type.cc
91.2%91.2%
91.2 % 464 423 77.8 % 36 28
rust-compile-var-decl.h
91.5%91.5%
91.5 % 82 75 46.2 % 13 6
rust-compile.cc
92.4%92.4%
92.4 % 223 206 100.0 % 9 9
rust-constexpr.cc
27.9%27.9%
27.9 % 2859 799 44.8 % 105 47
rust-intrinsic-handlers.cc
88.6%88.6%
88.6 % 1151 1020 96.3 % 54 52
rust-mangle-legacy.cc
84.8%84.8%
84.8 % 66 56 100.0 % 4 4
rust-mangle-v0.cc
64.5%64.5%
64.5 % 256 165 90.0 % 20 18
rust-mangle.cc
75.0%75.0%
75.0 % 8 6 100.0 % 1 1
rust-mangle.h
100.0%
100.0 % 2 2 -
rust-tree.cc
9.7%9.7%
9.7 % 2373 230 14.7 % 156 23
rust-tree.h
21.3%21.3%
21.3 % 61 13 0.0 % 7

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.