LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 54.5 % 11385 6206
Test Date: 2026-02-28 14:20:25 Functions: 51.4 % 807 415
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-compile-proc-macro.cc
0.0%
0.0 % 157 0.0 % 14
rust-tree.cc
9.4%9.4%
9.4 % 2376 224 14.7 % 156 23
rust-compile-expr.h
11.1%11.1%
11.1 % 9 1 0.0 % 8
rust-compile-fnparam.h
14.3%14.3%
14.3 % 7 1 0.0 % 6
rust-tree.h
20.6%20.6%
20.6 % 63 13 0.0 % 7
rust-compile-block.h
21.8%21.8%
21.8 % 124 27 5.9 % 102 6
rust-constexpr.cc
27.8%27.8%
27.8 % 2876 800 44.8 % 105 47
rust-compile-implitem.cc
44.4%44.4%
44.4 % 45 20 50.0 % 2 1
rust-compile-item.h
47.8%47.8%
47.8 % 23 11 20.0 % 15 3
rust-compile-stmt.h
47.8%47.8%
47.8 % 23 11 45.5 % 22 10
rust-compile-pattern.h
53.2%53.2%
53.2 % 62 33 45.0 % 20 9
rust-compile-extern.h
63.2%63.2%
63.2 % 76 48 50.0 % 6 3
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-legacy.cc
84.8%84.8%
84.8 % 66 56 100.0 % 4 4
rust-compile-implitem.h
85.7%85.7%
85.7 % 21 18 66.7 % 3 2
rust-compile-base.cc
85.7%85.7%
85.7 % 518 444 79.3 % 29 23
rust-compile-type.cc
88.5%88.5%
88.5 % 427 378 72.2 % 36 26
rust-compile-intrinsic.cc
89.0%89.0%
89.0 % 718 639 95.0 % 40 38
rust-compile-context.cc
89.8%89.8%
89.8 % 98 88 100.0 % 8 8
rust-compile-var-decl.h
90.2%90.2%
90.2 % 82 74 38.5 % 13 5
rust-compile-context.h
90.5%90.5%
90.5 % 158 143 100.0 % 14 14
rust-compile.cc
91.0%91.0%
91.0 % 188 171 100.0 % 9 9
rust-compile-fnparam.cc
92.9%92.9%
92.9 % 56 52 90.9 % 11 10
rust-builtins.cc
93.1%93.1%
93.1 % 87 81 100.0 % 12 12
rust-compile-resolve-path.cc
93.2%93.2%
93.2 % 190 177 100.0 % 9 9
rust-compile-item.cc
93.6%93.6%
93.6 % 172 161 100.0 % 10 10
rust-compile-expr.cc
93.6%93.6%
93.6 % 1443 1351 98.6 % 69 68
rust-compile-pattern.cc
95.3%95.3%
95.3 % 807 769 100.0 % 25 25
rust-compile-asm.cc
96.3%96.3%
96.3 % 108 104 100.0 % 15 15
rust-compile-stmt.cc
97.2%97.2%
97.2 % 36 35 100.0 % 4 4
rust-compile-resolve-path.h
100.0%
100.0 % 1 1 -
rust-compile-struct-field-expr.h
100.0%
100.0 % 1 1 -
rust-compile-asm.h
100.0%
100.0 % 2 2 -
rust-compile-base.h
100.0%
100.0 % 2 2 100.0 % 2 2
rust-mangle.h
100.0%
100.0 % 3 3 -
rust-compile-struct-field-expr.cc
100.0%
100.0 % 33 33 100.0 % 5 5
rust-compile-block.cc
100.0%
100.0 % 63 63 100.0 % 5 5

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.