LCOV - code coverage report
Current view: top level - gcc/diagnostics Coverage Total Hit
Test: gcc.info Lines: 89.8 % 11629 10442
Test Date: 2025-11-22 14:42:49 Functions: 85.1 % 976 831
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
logging.cc
0.0%
0.0 % 21 - 0.0 % 5
dumping.cc
0.0%
0.0 % 30 - 0.0 % 8
selftest-logical-locations.cc
47.6%47.6%
47.6 % 42 20 - 45.5 % 11 5
selftest-logical-locations.h
50.0%50.0%
50.0 % 6 3 - 0.0 % 1
logging.h
53.8%53.8%
53.8 % 65 35 - 90.0 % 10 9
buffering.h
60.0%60.0%
60.0 % 5 3 - 0.0 % 2
state-graphs-to-dot.cc
65.6%65.6%
65.6 % 279 183 - 85.7 % 14 12
counters.h
66.7%66.7%
66.7 % 3 2 - 0.0 % 1
digraphs.cc
66.9%66.9%
66.9 % 248 166 - 48.5 % 33 16
output-spec.cc
74.0%74.0%
74.0 % 369 273 - 75.8 % 33 25
client-data-hooks.h
75.0%75.0%
75.0 % 4 3 - 0.0 % 1
paths.cc
75.5%75.5%
75.5 % 102 77 - 77.8 % 9 7
sink.h
78.6%78.6%
78.6 % 14 11 - 42.9 % 7 3
html-sink.cc
78.9%78.9%
78.9 % 810 639 - 73.5 % 68 50
color.cc
84.7%84.7%
84.7 % 131 111 - 94.4 % 18 17
file-cache.cc
84.9%84.9%
84.9 % 445 378 - 87.5 % 40 35
context.cc
86.1%86.1%
86.1 % 1055 908 - 87.6 % 97 85
sarif-sink.cc
87.8%87.8%
87.8 % 2147 1884 - 84.9 % 186 158
text-sink.cc
89.2%89.2%
89.2 % 342 305 - 84.8 % 33 28
buffering.cc
90.2%90.2%
90.2 % 82 74 - 88.9 % 9 8
text-sink.h
92.1%92.1%
92.1 % 38 35 - 85.7 % 7 6
logical-locations.h
92.3%92.3%
92.3 % 13 12 - 0.0 % 1
option-classifier.cc
93.2%93.2%
93.2 % 88 82 - 100.0 % 8 8
digraphs.h
94.4%94.4%
94.4 % 90 85 - 100.0 % 21 21
output-file.h
95.2%95.2%
95.2 % 42 40 - 100.0 % 4 4
lazy-paths.cc
95.7%95.7%
95.7 % 92 88 - 85.7 % 14 12
macro-unwinding.cc
97.6%97.6%
97.6 % 42 41 - 100.0 % 2 2
paths-output.cc
99.1%99.1%
99.1 % 982 973 - 97.8 % 45 44
source-printing.cc
99.0%99.0%
99.0 % 2835 2807 - 94.4 % 180 170
context.h
99.2%99.2%
99.2 % 130 129 - 87.5 % 8 7
changes.cc
99.7%99.7%
99.7 % 788 786 - 100.0 % 55 55
option-id-manager.h
100.0%
100.0 % 1 1 - -
color.h
100.0%
100.0 % 2 2 - 100.0 % 1 1
changes.h
100.0%
100.0 % 3 3 - -
lazy-paths.h
100.0%
100.0 % 3 3 - -
selftest-source-printing.h
100.0%
100.0 % 3 3 - -
option-id.h
100.0%
100.0 % 4 4 - -
option-classifier.h
100.0%
100.0 % 5 5 - 100.0 % 1 1
source-printing-effects.h
100.0%
100.0 % 5 5 - -
diagram.h
100.0%
100.0 % 6 6 - -
sarif-sink.h
100.0%
100.0 % 8 8 - -
event-id.h
100.0%
100.0 % 9 9 - 100.0 % 2 2
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
paths.h
100.0%
100.0 % 13 13 - 100.0 % 1 1
selftest-context.h
100.0%
100.0 % 13 13 - -
file-cache.h
100.0%
100.0 % 16 16 - 100.0 % 2 2
selftest-paths.h
100.0%
100.0 % 18 18 - 100.0 % 8 8
metadata.h
100.0%
100.0 % 19 19 - 80.0 % 5 4
output-spec.h
100.0%
100.0 % 25 25 - 100.0 % 1 1
selftest-context.cc
100.0%
100.0 % 34 34 - 100.0 % 5 5
selftest-paths.cc
100.0%
100.0 % 79 79 - 100.0 % 17 17

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.