LCOV - code coverage report
Current view: top level - gcc/diagnostics Coverage Total Hit
Test: gcc.info Lines: 89.8 % 11899 10682
Test Date: 2026-02-28 14:20:25 Functions: 86.6 % 1001 867
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
buffering.cc
90.2%90.2%
90.2 % 82 74 88.9 % 9 8
buffering.h
60.0%60.0%
60.0 % 5 3 0.0 % 2
changes.cc
99.7%99.7%
99.7 % 788 786 100.0 % 55 55
changes.h
100.0%
100.0 % 3 3 -
client-data-hooks.h
18.2%18.2%
18.2 % 22 4 0.0 % 6
color.cc
84.7%84.7%
84.7 % 131 111 94.4 % 18 17
color.h
100.0%
100.0 % 2 2 100.0 % 1 1
context.cc
86.2%86.2%
86.2 % 1061 915 87.6 % 97 85
context.h
99.2%99.2%
99.2 % 130 129 87.5 % 8 7
counters.h
66.7%66.7%
66.7 % 3 2 0.0 % 1
diagnostic-info.h
100.0%
100.0 % 11 11 100.0 % 1 1
diagnostics-selftests.cc
100.0%
100.0 % 12 12 100.0 % 1 1
diagram.h
100.0%
100.0 % 6 6 -
digraphs-to-dot-from-cfg.cc
82.3%82.3%
82.3 % 147 121 100.0 % 8 8
digraphs-to-dot.cc
100.0%
100.0 % 82 82 100.0 % 10 10
digraphs-to-dot.h
100.0%
100.0 % 1 1 -
digraphs.cc
66.3%66.3%
66.3 % 187 124 60.7 % 28 17
digraphs.h
94.5%94.5%
94.5 % 91 86 100.0 % 21 21
dumping.cc
0.0%
0.0 % 30 0.0 % 8
event-id.h
100.0%
100.0 % 9 9 100.0 % 2 2
file-cache.cc
84.9%84.9%
84.9 % 445 378 87.5 % 40 35
file-cache.h
100.0%
100.0 % 16 16 100.0 % 2 2
html-sink.cc
79.3%79.3%
79.3 % 827 656 74.3 % 70 52
lazy-paths.cc
95.7%95.7%
95.7 % 92 88 85.7 % 14 12
lazy-paths.h
100.0%
100.0 % 3 3 -
logging.cc
0.0%
0.0 % 21 0.0 % 5
logging.h
53.8%53.8%
53.8 % 65 35 90.0 % 10 9
logical-locations.h
93.3%93.3%
93.3 % 15 14 0.0 % 1
macro-unwinding.cc
97.6%97.6%
97.6 % 42 41 100.0 % 2 2
metadata.h
100.0%
100.0 % 19 19 80.0 % 5 4
option-classifier.cc
93.2%93.2%
93.2 % 88 82 100.0 % 8 8
option-classifier.h
100.0%
100.0 % 5 5 100.0 % 1 1
option-id-manager.h
100.0%
100.0 % 1 1 -
option-id.h
100.0%
100.0 % 4 4 -
output-file.h
95.2%95.2%
95.2 % 42 40 100.0 % 4 4
output-spec.cc
74.5%74.5%
74.5 % 369 275 75.8 % 33 25
output-spec.h
100.0%
100.0 % 25 25 100.0 % 1 1
paths-output.cc
98.4%98.4%
98.4 % 1011 995 100.0 % 46 46
paths.cc
75.5%75.5%
75.5 % 102 77 77.8 % 9 7
paths.h
100.0%
100.0 % 13 13 100.0 % 1 1
sarif-sink.cc
87.9%87.9%
87.9 % 2166 1903 85.7 % 189 162
sarif-sink.h
100.0%
100.0 % 8 8 -
selftest-context.cc
100.0%
100.0 % 34 34 100.0 % 5 5
selftest-context.h
100.0%
100.0 % 13 13 -
selftest-logical-locations.cc
46.5%46.5%
46.5 % 43 20 45.5 % 11 5
selftest-logical-locations.h
50.0%50.0%
50.0 % 6 3 0.0 % 1
selftest-paths.cc
100.0%
100.0 % 79 79 100.0 % 17 17
selftest-paths.h
100.0%
100.0 % 18 18 100.0 % 8 8
selftest-source-printing.h
100.0%
100.0 % 3 3 -
sink.h
88.9%88.9%
88.9 % 18 16 57.1 % 7 4
source-printing-effects.h
100.0%
100.0 % 5 5 -
source-printing.cc
99.0%99.0%
99.0 % 2835 2807 97.8 % 180 176
state-graphs-to-dot.cc
65.8%65.8%
65.8 % 281 185 85.7 % 14 12
text-sink.cc
89.2%89.2%
89.2 % 342 305 90.9 % 33 30
text-sink.h
87.5%87.5%
87.5 % 40 35 75.0 % 8 6

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.