LCOV - code coverage report
Current view: top level - gcc/rust/checks/errors Coverage Total Hit
Test: gcc.info Lines: 75.0 % 2770 2078
Test Date: 2026-04-20 14:57:17 Functions: 62.9 % 665 418
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-attribute-checker.cc
61.4%61.4%
61.4 % 368 226 53.3 % 152 81
rust-const-checker.cc
72.8%72.8%
72.8 % 449 327 62.8 % 137 86
rust-unsafe-checker.cc
73.4%73.4%
73.4 % 504 370 56.0 % 141 79
rust-hir-pattern-analysis.cc
74.8%74.8%
74.8 % 898 672 59.4 % 155 92
rust-builtin-attribute-checker.cc
77.6%77.6%
77.6 % 246 191 100.0 % 35 35
rust-readonly-check.cc
94.4%94.4%
94.4 % 125 118 100.0 % 16 16
rust-hir-pattern-analysis.h
96.3%96.3%
96.3 % 81 78 100.0 % 9 9
rust-ast-validation.cc
96.6%96.6%
96.6 % 88 85 100.0 % 7 7
rust-const-checker.h
100.0%
100.0 % 1 1 -
rust-readonly-check.h
100.0%
100.0 % 1 1 -
rust-unsafe-checker.h
100.0%
100.0 % 1 1 -
rust-ast-validation.h
100.0%
100.0 % 3 3 -
rust-builtin-attribute-checker.h
100.0%
100.0 % 5 5 100.0 % 13 13

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.