LCOV - code coverage report
Current view: top level - gcc/rust/ast Coverage Total Hit
Test: gcc.info Lines: 74.9 % 12776 9573
Test Date: 2026-11-14 16:39:50 Functions: 82.0 % 2873 2357
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-ast-builder.cc
82.1%82.1%
82.1 % 340 279 94.2 % 69 65
rust-ast-builder.h
88.6%88.6%
88.6 % 35 31 100.0 % 12 12
rust-ast-collector.cc
82.1%82.1%
82.1 % 2282 1874 89.7 % 370 332
rust-ast-collector.h
83.1%83.1%
83.1 % 65 54 89.3 % 56 50
rust-ast-dump.cc
29.4%29.4%
29.4 % 34 10 25.0 % 8 2
rust-ast-dump.h
56.5%56.5%
56.5 % 46 26 33.3 % 3 1
rust-ast-formatting.cc
0.0%
0.0 % 42 0.0 % 5
rust-ast-fragment.cc
87.0%87.0%
87.0 % 77 67 95.5 % 22 21
rust-ast-fragment.h
100.0%
100.0 % 1 1 -
rust-ast-identifier.h
93.3%93.3%
93.3 % 15 14 100.0 % 2 2
rust-ast-pointer-visitor.cc
94.2%94.2%
94.2 % 623 587 95.6 % 113 108
rust-ast-pointer-visitor.h
100.0%
100.0 % 12 12 100.0 % 9 9
rust-ast-visitor.cc
93.9%93.9%
93.9 % 942 885 95.3 % 190 181
rust-ast-visitor.h
100.0%
100.0 % 14 14 95.8 % 95 91
rust-ast.cc
33.8%33.8%
33.8 % 2533 857 51.7 % 331 171
rust-ast.h
90.5%90.5%
90.5 % 452 409 82.6 % 132 109
rust-builtin-ast-nodes.h
73.8%73.8%
73.8 % 61 45 62.5 % 16 10
rust-collect-lang-items.cc
100.0%
100.0 % 54 54 100.0 % 25 25
rust-collect-lang-items.h
100.0%
100.0 % 2 2 -
rust-desugar-apit.cc
82.3%82.3%
82.3 % 283 233 94.4 % 18 17
rust-desugar-for-loops.cc
100.0%
100.0 % 72 72 100.0 % 5 5
rust-desugar-for-loops.h
100.0%
100.0 % 2 2 -
rust-desugar-question-mark.cc
100.0%
100.0 % 57 57 100.0 % 6 6
rust-desugar-try-block.cc
94.7%94.7%
94.7 % 19 18 100.0 % 3 3
rust-desugar-while-let.cc
100.0%
100.0 % 35 35 100.0 % 5 5
rust-desugar-while-let.h
100.0%
100.0 % 2 2 -
rust-expr.h
84.8%84.8%
84.8 % 1678 1423 80.9 % 572 463
rust-expression-yeast.cc
100.0%
100.0 % 29 29 100.0 % 3 3
rust-fmt.cc
100.0%
100.0 % 7 7 100.0 % 2 2
rust-fmt.h
90.9%90.9%
90.9 % 33 30 80.0 % 10 8
rust-item.h
95.0%95.0%
95.0 % 961 913 93.3 % 255 238
rust-macro.h
78.2%78.2%
78.2 % 331 259 67.5 % 83 56
rust-path.cc
59.3%59.3%
59.3 % 172 102 69.2 % 26 18
rust-path.h
86.8%86.8%
86.8 % 523 454 85.9 % 142 122
rust-pattern.cc
32.5%32.5%
32.5 % 209 68 52.3 % 44 23
rust-pattern.h
92.1%92.1%
92.1 % 342 315 91.2 % 113 103
rust-stmt.h
92.9%92.9%
92.9 % 84 78 82.4 % 34 28
rust-type.h
83.1%83.1%
83.1 % 307 255 72.3 % 94 68

Generated by: LCOV version 2.5.0-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.