LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 57.1 % 12157 6939
Test Date: 2026-07-11 15:47:05 Functions: 53.6 % 844 452
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
86.4%86.4%
86.4 % 546 472 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.4%21.4%
21.4 % 126 27 5.8 % 104 6
rust-compile-context.cc
89.8%89.8%
89.8 % 98 88 100.0 % 8 8
rust-compile-context.h
91.1%91.1%
91.1 % 168 153 100.0 % 15 15
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 % 47 47 100.0 % 4 4
rust-compile-expr.cc
94.4%94.4%
94.4 % 1615 1524 98.7 % 78 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
92.9%92.9%
92.9 % 56 52 90.9 % 11 10
rust-compile-fnparam.h
14.3%14.3%
14.3 % 7 1 0.0 % 6
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
53.2%53.2%
53.2 % 62 33 45.0 % 20 9
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
92.0%92.0%
92.0 % 448 412 77.8 % 36 28
rust-compile-var-decl.h
90.2%90.2%
90.2 % 82 74 38.5 % 13 5
rust-compile.cc
92.8%92.8%
92.8 % 223 207 100.0 % 9 9
rust-constexpr.cc
27.8%27.8%
27.8 % 2876 800 44.8 % 105 47
rust-intrinsic-handlers.cc
88.5%88.5%
88.5 % 1133 1003 96.2 % 53 51
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 % 3 3 -
rust-tree.cc
9.6%9.6%
9.6 % 2380 228 14.7 % 156 23
rust-tree.h
20.6%20.6%
20.6 % 63 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.