LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 53.0 % 10929 5794
Test Date: 2025-08-30 13:27:53 Functions: 49.9 % 792 395
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.5%85.5%
85.5 % 509 435 - 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.1%90.1%
90.1 % 151 136 - 100.0 % 12 12
rust-compile-expr.cc
92.8%92.8%
92.8 % 1408 1307 - 98.6 % 69 68
rust-compile-expr.h
11.1%11.1%
11.1 % 9 1 - 0.0 % 8
rust-compile-extern.h
55.1%55.1%
55.1 % 69 38 - 50.0 % 4 2
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.3%93.3%
93.3 % 165 154 - 100.0 % 10 10
rust-compile-item.h
47.8%47.8%
47.8 % 23 11 - 20.0 % 15 3
rust-compile-pattern.cc
88.5%88.5%
88.5 % 589 521 - 95.8 % 24 23
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
92.3%92.3%
92.3 % 182 168 - 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.3%91.3%
91.3 % 427 390 - 78.8 % 33 26
rust-compile-var-decl.h
85.7%85.7%
85.7 % 56 48 - 38.5 % 13 5
rust-compile.cc
91.0%91.0%
91.0 % 188 171 - 100.0 % 9 9
rust-constexpr.cc
27.6%27.6%
27.6 % 2735 754 - 43.0 % 100 43
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
8.6%8.6%
8.6 % 2376 204 - 14.1 % 156 22
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.