LCOV - code coverage report
Current view: top level - gcc/rust/backend Hit Total Coverage
Test: gcc.info Lines: 4839 9580 50.5 %
Date: 2023-05-27 12:53:37 Functions: 327 675 48.4 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 % Branches: 0 0 -

Filename Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage Branches Sort by branch coverage
rust-builtins.cc
99.2%99.2%
99.2 % 120 / 121 100.0 % 11 / 11 - 0 / 0
rust-compile-base.cc
91.7%91.7%
91.7 % 320 / 349 100.0 % 17 / 17 - 0 / 0
rust-compile-base.h
100.0%
100.0 % 2 / 2 - 0 / 0 - 0 / 0
rust-compile-block.cc
98.7%98.7%
98.7 % 74 / 75 100.0 % 6 / 6 - 0 / 0
rust-compile-block.h
15.3%15.3%
15.3 % 9 / 59 2.0 % 1 / 51 - 0 / 0
rust-compile-context.cc
89.6%89.6%
89.6 % 86 / 96 100.0 % 7 / 7 - 0 / 0
rust-compile-context.h
98.6%98.6%
98.6 % 143 / 145 100.0 % 13 / 13 - 0 / 0
rust-compile-expr.cc
91.8%91.8%
91.8 % 1427 / 1555 98.6 % 68 / 69 - 0 / 0
rust-compile-expr.h
6.7%6.7%
6.7 % 1 / 15 0.0 % 0 / 14 - 0 / 0
rust-compile-extern.h
55.6%55.6%
55.6 % 40 / 72 66.7 % 2 / 3 - 0 / 0
rust-compile-fnparam.cc
83.0%83.0%
83.0 % 44 / 53 87.5 % 7 / 8 - 0 / 0
rust-compile-fnparam.h
12.5%12.5%
12.5 % 1 / 8 0.0 % 0 / 7 - 0 / 0
rust-compile-implitem.cc
50.0%50.0%
50.0 % 20 / 40 50.0 % 1 / 2 - 0 / 0
rust-compile-implitem.h
79.2%79.2%
79.2 % 19 / 24 66.7 % 2 / 3 - 0 / 0
rust-compile-intrinsic.cc
93.1%93.1%
93.1 % 380 / 408 92.9 % 26 / 28 - 0 / 0
rust-compile-item.cc
97.1%97.1%
97.1 % 99 / 102 100.0 % 6 / 6 - 0 / 0
rust-compile-item.h
51.6%51.6%
51.6 % 16 / 31 35.0 % 7 / 20 - 0 / 0
rust-compile-pattern.cc
81.5%81.5%
81.5 % 189 / 232 100.0 % 12 / 12 - 0 / 0
rust-compile-pattern.h
45.2%45.2%
45.2 % 28 / 62 28.0 % 7 / 25 - 0 / 0
rust-compile-resolve-path.cc
94.4%94.4%
94.4 % 134 / 142 100.0 % 4 / 4 - 0 / 0
rust-compile-resolve-path.h
59.1%59.1%
59.1 % 13 / 22 18.2 % 2 / 11 - 0 / 0
rust-compile-stmt.cc
97.0%97.0%
97.0 % 32 / 33 100.0 % 5 / 5 - 0 / 0
rust-compile-stmt.h
34.8%34.8%
34.8 % 8 / 23 31.8 % 7 / 22 - 0 / 0
rust-compile-struct-field-expr.cc
100.0%
100.0 % 33 / 33 100.0 % 5 / 5 - 0 / 0
rust-compile-struct-field-expr.h
100.0%
100.0 % 1 / 1 - 0 / 0 - 0 / 0
rust-compile-type.cc
97.7%97.7%
97.7 % 387 / 396 93.1 % 27 / 29 - 0 / 0
rust-compile-var-decl.h
64.3%64.3%
64.3 % 18 / 28 16.7 % 2 / 12 - 0 / 0
rust-compile.cc
93.4%93.4%
93.4 % 171 / 183 100.0 % 9 / 9 - 0 / 0
rust-constexpr.cc
27.3%27.3%
27.3 % 743 / 2719 45.0 % 45 / 100 - 0 / 0
rust-mangle.cc
39.7%39.7%
39.7 % 54 / 136 35.7 % 5 / 14 - 0 / 0
rust-mangle.h
0.0%
0.0 % 0 / 3 - 0 / 0 - 0 / 0
rust-tree.cc
9.2%9.2%
9.2 % 217 / 2349 14.8 % 23 / 155 - 0 / 0
rust-tree.h
15.9%15.9%
15.9 % 10 / 63 0.0 % 0 / 7 - 0 / 0

Generated by: LCOV version 1.16+git.20220603.dfeb750

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.