LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 54.1 % 11339 6140
Test Date: 2025-11-22 14:42:49 Functions: 49.9 % 805 402
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-builtins.cc
93.1%93.1%
93.1 % 87 81 - 100.0 % 12 12
rust-compile-asm.cc
96.4%96.4%
96.4 % 110 106 - 100.0 % 14 14
rust-compile-asm.h
100.0%
100.0 % 2 2 - -
rust-compile-base.cc
85.3%85.3%
85.3 % 505 431 - 78.6 % 28 22
rust-compile-base.h
100.0%
100.0 % 2 2 - 0.0 % 2
rust-compile-block.cc
100.0%
100.0 % 63 63 - 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
90.5%90.5%
90.5 % 158 143 - 100.0 % 14 14
rust-compile-expr.cc
92.7%92.7%
92.7 % 1424 1320 - 98.6 % 69 68
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
44.4%44.4%
44.4 % 45 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
89.0%89.0%
89.0 % 718 639 - 80.0 % 40 32
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
94.3%94.3%
94.3 % 790 745 - 96.0 % 25 24
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
93.2%93.2%
93.2 % 190 177 - 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
88.5%88.5%
88.5 % 427 378 - 72.2 % 36 26
rust-compile-var-decl.h
90.2%90.2%
90.2 % 82 74 - 38.5 % 13 5
rust-compile.cc
91.0%91.0%
91.0 % 188 171 - 100.0 % 9 9
rust-constexpr.cc
27.8%27.8%
27.8 % 2877 800 - 42.9 % 105 45
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.4%9.4%
9.4 % 2376 224 - 14.7 % 156 23
rust-tree.h
20.6%20.6%
20.6 % 63 13 - 0.0 % 7

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.