LCOV - code coverage report
Current view: top level - gcc/rust/backend Coverage Total Hit
Test: gcc.info Lines: 51.9 % 10683 5548
Test Date: 2025-06-21 16:26:05 Functions: 49.5 % 774 383
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
100.0%
100.0 % 92 92 - 100.0 % 12 12
rust-compile-asm.h
100.0%
100.0 % 2 2 - -
rust-compile-base.cc
85.2%85.2%
85.2 % 499 425 - 77.8 % 27 21
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
23.1%23.1%
23.1 % 117 27 - 6.2 % 96 6
rust-compile-context.cc
88.6%88.6%
88.6 % 88 78 - 100.0 % 7 7
rust-compile-context.h
90.1%90.1%
90.1 % 151 136 - 100.0 % 12 12
rust-compile-expr.cc
92.4%92.4%
92.4 % 1389 1284 - 98.5 % 66 65
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
28.6%28.6%
28.6 % 7 2 - 16.7 % 6 1
rust-compile-implitem.cc
44.6%44.6%
44.6 % 56 25 - 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
98.1%98.1%
98.1 % 156 153 - 100.0 % 6 6
rust-compile-item.h
55.6%55.6%
55.6 % 27 15 - 36.8 % 19 7
rust-compile-pattern.cc
77.3%77.3%
77.3 % 436 337 - 100.0 % 17 17
rust-compile-pattern.h
53.7%53.7%
53.7 % 67 36 - 43.5 % 23 10
rust-compile-proc-macro.cc
0.0%
0.0 % 161 - 0.0 % 14
rust-compile-resolve-path.cc
92.8%92.8%
92.8 % 180 167 - 100.0 % 9 9
rust-compile-resolve-path.h
100.0%
100.0 % 1 1 - -
rust-compile-stmt.cc
97.1%97.1%
97.1 % 34 33 - 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.4%92.4%
92.4 % 433 400 - 81.2 % 32 26
rust-compile-var-decl.h
85.5%85.5%
85.5 % 55 47 - 38.5 % 13 5
rust-compile.cc
92.6%92.6%
92.6 % 188 174 - 100.0 % 9 9
rust-constexpr.cc
26.7%26.7%
26.7 % 2713 725 - 42.0 % 100 42
rust-mangle-legacy.cc
93.9%93.9%
93.9 % 66 62 - 100.0 % 4 4
rust-mangle-v0.cc
64.7%64.7%
64.7 % 252 163 - 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 % 2357 203 - 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.