LCOV - code coverage report
Current view: top level - gcc/rust/ast Coverage Total Hit
Test: gcc.info Lines: 69.7 % 12965 9040
Test Date: 2026-02-28 14:20:25 Functions: 76.5 % 2820 2157
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-formatting.cc
0.0%
0.0 % 42 0.0 % 5
rust-pattern.cc
31.0%31.0%
31.0 % 229 71 50.0 % 48 24
rust-ast.cc
32.7%32.7%
32.7 % 2493 816 48.9 % 327 160
rust-ast-dump.cc
48.3%48.3%
48.3 % 29 14 42.9 % 7 3
rust-ast-collector.cc
59.0%59.0%
59.0 % 2249 1327 69.7 % 370 258
rust-ast-dump.h
60.5%60.5%
60.5 % 43 26 33.3 % 3 1
rust-path.cc
63.4%63.4%
63.4 % 161 102 69.2 % 26 18
rust-builtin-ast-nodes.h
68.9%68.9%
68.9 % 61 42 56.2 % 16 9
rust-ast-builder.cc
73.4%73.4%
73.4 % 334 245 89.9 % 69 62
rust-type.h
73.6%73.6%
73.6 % 307 226 62.8 % 94 59
rust-macro.h
73.7%73.7%
73.7 % 334 246 66.3 % 83 55
rust-desugar-apit.cc
81.9%81.9%
81.9 % 282 231 94.4 % 18 17
rust-expr.h
83.2%83.2%
83.2 % 1692 1407 79.5 % 572 455
rust-ast-collector.h
83.3%83.3%
83.3 % 66 55 82.1 % 56 46
rust-path.h
87.5%87.5%
87.5 % 471 412 86.4 % 132 114
rust-ast-fragment.cc
87.5%87.5%
87.5 % 80 70 95.5 % 22 21
rust-ast-pointer-visitor.cc
89.0%89.0%
89.0 % 874 778 89.0 % 172 153
rust-ast.h
89.6%89.6%
89.6 % 469 420 79.2 % 130 103
rust-pattern.h
89.8%89.8%
89.8 % 449 403 81.2 % 133 108
rust-ast-visitor.cc
90.9%90.9%
90.9 % 929 844 90.5 % 189 171
rust-ast-pointer-visitor.h
91.7%91.7%
91.7 % 12 11 88.9 % 9 8
rust-stmt.h
92.9%92.9%
92.9 % 84 78 82.4 % 34 28
rust-item.h
94.0%94.0%
94.0 % 947 890 91.4 % 245 224
rust-desugar-try-block.cc
94.7%94.7%
94.7 % 19 18 100.0 % 3 3
rust-collect-lang-items.cc
97.9%97.9%
97.9 % 48 47 100.0 % 24 24
rust-ast-fragment.h
100.0%
100.0 % 1 1 -
rust-desugar-for-loops.h
100.0%
100.0 % 1 1 -
rust-desugar-while-let.h
100.0%
100.0 % 1 1 -
rust-collect-lang-items.h
100.0%
100.0 % 2 2 -
rust-fmt.cc
100.0%
100.0 % 7 7 100.0 % 2 2
rust-ast-visitor.h
100.0%
100.0 % 11 11 -
rust-ast-builder.h
100.0%
100.0 % 18 18 100.0 % 9 9
rust-expression-yeast.cc
100.0%
100.0 % 26 26 100.0 % 3 3
rust-fmt.h
100.0%
100.0 % 30 30 100.0 % 3 3
rust-desugar-while-let.cc
100.0%
100.0 % 35 35 100.0 % 5 5
rust-desugar-question-mark.cc
100.0%
100.0 % 57 57 100.0 % 6 6
rust-desugar-for-loops.cc
100.0%
100.0 % 72 72 100.0 % 5 5

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.