LCOV - code coverage report
Current view: top level - gcc/diagnostics Coverage Total Hit
Test: gcc.info Lines: 90.7 % 11440 10380
Test Date: 2025-09-20 13:40:47 Functions: 86.6 % 949 822
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 % Branches: - 0 0

File Sort by file name Line Coverage Sort by line coverage Branch Coverage Sort by branch coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit Rate Total Hit
client-data-hooks.h
80.0%80.0%
80.0 % 5 4 - 0.0 % 1
counters.h
66.7%66.7%
66.7 % 3 2 - 0.0 % 1
logical-locations.h
92.3%92.3%
92.3 % 13 12 - 0.0 % 1
selftest-logical-locations.h
50.0%50.0%
50.0 % 6 3 - 0.0 % 1
buffering.h
60.0%60.0%
60.0 % 5 3 - 0.0 % 2
logging.cc
0.0%
0.0 % 21 - 0.0 % 5
dumping.cc
0.0%
0.0 % 30 - 0.0 % 8
changes.h
100.0%
100.0 % 3 3 - -
diagram.h
100.0%
100.0 % 6 6 - -
lazy-paths.h
100.0%
100.0 % 3 3 - -
option-id-manager.h
100.0%
100.0 % 1 1 - -
option-id.h
100.0%
100.0 % 4 4 - -
sarif-sink.h
100.0%
100.0 % 8 8 - -
selftest-context.h
100.0%
100.0 % 13 13 - -
selftest-source-printing.h
100.0%
100.0 % 3 3 - -
source-printing-effects.h
100.0%
100.0 % 5 5 - -
state-graphs.h
100.0%
100.0 % 14 14 - -
sink.h
83.3%83.3%
83.3 % 12 10 - 33.3 % 3 1
selftest-logical-locations.cc
47.6%47.6%
47.6 % 42 20 - 45.5 % 11 5
digraphs.cc
76.1%76.1%
76.1 % 197 150 - 60.9 % 23 14
html-sink.cc
79.7%79.7%
79.7 % 798 636 - 73.5 % 68 50
paths.cc
72.8%72.8%
72.8 % 92 67 - 77.8 % 9 7
metadata.h
100.0%
100.0 % 19 19 - 80.0 % 5 4
output-spec.cc
72.6%72.6%
72.6 % 347 252 - 82.6 % 23 19
text-sink.cc
89.2%89.2%
89.2 % 342 305 - 84.8 % 33 28
text-sink.h
92.1%92.1%
92.1 % 38 35 - 85.7 % 7 6
lazy-paths.cc
95.7%95.7%
95.7 % 92 88 - 85.7 % 14 12
state-graphs-to-dot.cc
65.1%65.1%
65.1 % 272 177 - 85.7 % 14 12
sarif-sink.cc
90.8%90.8%
90.8 % 2031 1844 - 87.2 % 179 156
context.h
99.2%99.2%
99.2 % 130 129 - 87.5 % 8 7
file-cache.cc
84.9%84.9%
84.9 % 445 378 - 87.5 % 40 35
context.cc
86.5%86.5%
86.5 % 1044 903 - 87.5 % 96 84
buffering.cc
90.2%90.2%
90.2 % 82 74 - 88.9 % 9 8
state-graphs.cc
95.3%95.3%
95.3 % 43 41 - 88.9 % 9 8
logging.h
53.8%53.8%
53.8 % 65 35 - 90.0 % 10 9
color.cc
84.7%84.7%
84.7 % 131 111 - 94.4 % 18 17
source-printing.cc
99.0%99.0%
99.0 % 2835 2807 - 94.4 % 180 170
paths-output.cc
99.1%99.1%
99.1 % 982 973 - 97.8 % 45 44
color.h
100.0%
100.0 % 2 2 - 100.0 % 1 1
diagnostic-info.h
100.0%
100.0 % 11 11 - 100.0 % 1 1
diagnostics-selftests.cc
100.0%
100.0 % 13 13 - 100.0 % 1 1
option-classifier.h
100.0%
100.0 % 5 5 - 100.0 % 1 1
output-spec.h
100.0%
100.0 % 18 18 - 100.0 % 1 1
paths.h
100.0%
100.0 % 12 12 - 100.0 % 1 1
event-id.h
100.0%
100.0 % 9 9 - 100.0 % 2 2
file-cache.h
100.0%
100.0 % 16 16 - 100.0 % 2 2
macro-unwinding.cc
97.6%97.6%
97.6 % 42 41 - 100.0 % 2 2
output-file.h
95.2%95.2%
95.2 % 42 40 - 100.0 % 4 4
selftest-context.cc
100.0%
100.0 % 34 34 - 100.0 % 5 5
option-classifier.cc
93.2%93.2%
93.2 % 88 82 - 100.0 % 8 8
selftest-paths.h
100.0%
100.0 % 18 18 - 100.0 % 8 8
digraphs.h
93.8%93.8%
93.8 % 81 76 - 100.0 % 17 17
selftest-paths.cc
100.0%
100.0 % 79 79 - 100.0 % 17 17
changes.cc
99.7%99.7%
99.7 % 788 786 - 100.0 % 55 55

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