LCOV - code coverage report
Current view: top level - src/util Coverage Total Hit
Test: total_coverage.info Lines: 88.2 % 2448 2160
Test Date: 2026-03-16 05:20:51 Functions: 92.8 % 814 755
Branches: 50.0 % 13164 6579

File Sort by file name Line Coverage ( hide details ) 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
any.h
100.0%
100.0 % 3 3 50.0 % 2 1 100.0 % 2 2
test_bitcoin 100.0 % 3 3 50.0 % 2 1 50.0 % 2 1
functional_tests 100.0 % 3 3 50.0 % 2 1 100.0 % 2 2
asmap.cpp
97.6%97.6%
97.6 % 126 123 65.9 % 138 91 100.0 % 10 10
test_bitcoin 49.2 % 126 62 26.8 % 138 37 70.0 % 10 7
functional_tests 95.2 % 126 120 62.3 % 138 86 100.0 % 10 10
batchpriority.cpp
83.3%83.3%
83.3 % 6 5 25.0 % 4 1 100.0 % 1 1
test_bitcoin 83.3 % 6 5 25.0 % 4 1 100.0 % 1 1
functional_tests 83.3 % 6 5 25.0 % 4 1 100.0 % 1 1
bip32.cpp
96.6%96.6%
96.6 % 29 28 73.5 % 34 25 100.0 % 3 3
test_bitcoin 89.7 % 29 26 70.6 % 34 24 66.7 % 3 2
functional_tests 27.6 % 29 8 23.5 % 34 8 66.7 % 3 2
bitdeque.h
83.1%83.1%
83.1 % 65 54 61.1 % 18 11 100.0 % 10 10
test_bitcoin 83.1 % 65 54 61.1 % 18 11 100.0 % 10 10
functional_tests 83.1 % 65 54 61.1 % 18 11 100.0 % 10 10
bitset.h
100.0%
100.0 % 163 163 82.4 % 2374 1955 100.0 % 49 49
test_bitcoin 100.0 % 163 163 73.1 % 2374 1735 100.0 % 49 49
functional_tests 100.0 % 55 55 78.6 % 420 330 100.0 % 3 3
byte_units.h
80.0%80.0%
80.0 % 5 4 50.0 % 4 2 100.0 % 1 1
test_bitcoin 80.0 % 5 4 50.0 % 4 2 100.0 % 1 1
bytevectorhash.cpp
100.0%
100.0 % 6 6 50.0 % 2 1 100.0 % 2 2
functional_tests 100.0 % 6 6 50.0 % 2 1 100.0 % 2 2
test_bitcoin 100.0 % 6 6 50.0 % 2 1 100.0 % 2 2
chaintype.cpp
88.0%88.0%
88.0 % 25 22 81.2 % 16 13 100.0 % 2 2
test_bitcoin 88.0 % 25 22 81.2 % 16 13 100.0 % 2 2
functional_tests 76.0 % 25 19 62.5 % 16 10 100.0 % 2 2
check.cpp
71.4%71.4%
71.4 % 14 10 29.2 % 24 7 100.0 % 3 3
test_bitcoin 71.4 % 14 10 29.2 % 24 7 100.0 % 3 3
functional_tests 50.0 % 14 7 20.8 % 24 5 66.7 % 3 2
check.h
100.0%
100.0 % 14 14 42.4 % 2722 1155 95.8 % 24 23
test_bitcoin 100.0 % 14 14 44.8 % 2066 926 37.5 % 24 9
functional_tests 87.5 % 8 7 51.9 % 1010 524 95.8 % 24 23
exception.cpp
83.3%83.3%
83.3 % 12 10 50.0 % 8 4 100.0 % 2 2
functional_tests 83.3 % 12 10 50.0 % 8 4 100.0 % 2 2
exec.cpp
0.0%
0.0 % 18 0.0 % 18 0.0 % 2
expected.h
93.5%93.5%
93.5 % 46 43 48.0 % 152 73 87.1 % 31 27
functional_tests 70.0 % 30 21 38.1 % 42 16 63.6 % 11 7
test_bitcoin 91.3 % 46 42 48.0 % 148 71 83.9 % 31 26
fastrange.h
100.0%
100.0 % 4 4 100.0 % 2 2 -
test_bitcoin 100.0 % 4 4 100.0 % 2 2 - 0 0
functional_tests 100.0 % 4 4 100.0 % 2 2 - 0 0
feefrac.cpp
100.0%
100.0 % 31 31 100.0 % 30 30 100.0 % 3 3
test_bitcoin 100.0 % 31 31 100.0 % 30 30 100.0 % 3 3
functional_tests 100.0 % 31 31 96.7 % 30 29 100.0 % 3 3
feefrac.h
100.0%
100.0 % 53 53 40.5 % 875 354 100.0 % 5 5
functional_tests 100.0 % 53 53 78.5 % 107 84 100.0 % 5 5
test_bitcoin 94.3 % 53 50 53.8 % 639 344 100.0 % 5 5
fs.cpp
96.2%96.2%
96.2 % 26 25 55.0 % 20 11 100.0 % 6 6
functional_tests 96.2 % 26 25 55.0 % 20 11 100.0 % 6 6
test_bitcoin 96.2 % 26 25 55.0 % 20 11 100.0 % 6 6
fs.h
100.0%
100.0 % 44 44 40.2 % 1630 656 100.0 % 6 6
functional_tests 100.0 % 40 40 42.4 % 764 324 100.0 % 5 5
test_bitcoin 90.9 % 44 40 41.3 % 1270 524 83.3 % 6 5
fs_helpers.cpp
73.3%73.3%
73.3 % 105 77 45.5 % 110 50 85.7 % 14 12
functional_tests 69.5 % 105 73 42.7 % 110 47 78.6 % 14 11
test_bitcoin 44.8 % 105 47 26.4 % 110 29 71.4 % 14 10
golombrice.h
100.0%
100.0 % 15 15 83.3 % 6 5 100.0 % 2 2
test_bitcoin 100.0 % 15 15 83.3 % 6 5 100.0 % 2 2
functional_tests 100.0 % 15 15 83.3 % 6 5 100.0 % 2 2
hash_type.h
100.0%
100.0 % 16 16 44.3 % 212 94 -
test_bitcoin 93.8 % 16 15 39.2 % 186 73 - 0 0
functional_tests 100.0 % 15 15 47.1 % 136 64 - 0 0
hasher.cpp
100.0%
100.0 % 22 22 50.0 % 6 3 100.0 % 6 6
test_bitcoin 100.0 % 22 22 50.0 % 6 3 100.0 % 6 6
functional_tests 100.0 % 22 22 50.0 % 6 3 100.0 % 6 6
hasher.h
100.0%
100.0 % 11 11 100.0 % 2 2 -
test_bitcoin 100.0 % 11 11 100.0 % 2 2 - 0 0
functional_tests 100.0 % 11 11 100.0 % 2 2 - 0 0
insert.h
100.0%
100.0 % 3 3 - 100.0 % 2 2
test_bitcoin 100.0 % 3 3 - 0 0 100.0 % 2 2
functional_tests 100.0 % 3 3 - 0 0 100.0 % 2 2
log.h
84.6%84.6%
84.6 % 13 11 20.7 % 2112 438 83.3 % 174 145
test_bitcoin 84.6 % 13 11 16.6 % 1292 215 56.7 % 171 97
functional_tests 84.6 % 13 11 28.5 % 1268 362 78.2 % 170 133
moneystr.cpp
96.0%96.0%
96.0 % 50 48 82.0 % 50 41 100.0 % 2 2
test_bitcoin 96.0 % 50 48 82.0 % 50 41 100.0 % 2 2
functional_tests 82.0 % 50 41 66.0 % 50 33 100.0 % 2 2
obfuscation.h
100.0%
100.0 % 50 50 70.2 % 188 132 100.0 % 9 9
functional_tests 100.0 % 50 50 78.0 % 82 64 100.0 % 8 8
test_bitcoin 100.0 % 50 50 69.3 % 176 122 88.9 % 9 8
overflow.h
88.9%88.9%
88.9 % 27 24 68.1 % 72 49 88.9 % 18 16
functional_tests 66.7 % 27 18 46.6 % 58 27 81.8 % 11 9
test_bitcoin 88.9 % 27 24 70.0 % 70 49 88.9 % 18 16
rbf.cpp
100.0%
100.0 % 3 3 100.0 % 4 4 100.0 % 1 1
functional_tests 100.0 % 3 3 100.0 % 4 4 100.0 % 1 1
readwritefile.cpp
79.2%79.2%
79.2 % 24 19 58.3 % 36 21 100.0 % 2 2
test_bitcoin 79.2 % 24 19 58.3 % 36 21 100.0 % 2 2
functional_tests 16.7 % 24 4 2.8 % 36 1 50.0 % 2 1
result.h
100.0%
100.0 % 23 23 58.0 % 350 203 97.3 % 37 36
functional_tests 100.0 % 20 20 76.9 % 130 100 96.2 % 26 25
test_bitcoin 100.0 % 23 23 54.5 % 268 146 64.9 % 37 24
serfloat.cpp
100.0%
100.0 % 31 31 92.3 % 26 24 100.0 % 2 2
functional_tests 77.4 % 31 24 53.8 % 26 14 100.0 % 2 2
test_bitcoin 100.0 % 31 31 92.3 % 26 24 100.0 % 2 2
signalinterrupt.cpp
90.5%90.5%
90.5 % 21 19 46.2 % 26 12 100.0 % 5 5
test_bitcoin 57.1 % 21 12 34.6 % 26 9 60.0 % 5 3
functional_tests 90.5 % 21 19 46.2 % 26 12 100.0 % 5 5
signalinterrupt.h
100.0%
100.0 % 1 1 - -
test_bitcoin 100.0 % 1 1 - 0 0 - 0 0
functional_tests 100.0 % 1 1 - 0 0 - 0 0
sock.cpp
71.6%71.6%
71.6 % 169 121 38.8 % 178 69 96.0 % 25 24
functional_tests 46.7 % 169 79 24.2 % 178 43 76.0 % 25 19
test_bitcoin 62.1 % 169 105 36.0 % 178 64 80.0 % 25 20
sock.h
75.0%75.0%
75.0 % 8 6 37.5 % 16 6 100.0 % 1 1
functional_tests 75.0 % 8 6 37.5 % 16 6 100.0 % 1 1
test_bitcoin 37.5 % 8 3 12.5 % 16 2 0.0 % 1 0
strencodings.cpp
97.8%97.8%
97.8 % 227 222 85.2 % 290 247 100.0 % 19 19
functional_tests 85.9 % 227 195 67.6 % 290 196 89.5 % 19 17
test_bitcoin 97.8 % 227 222 85.2 % 290 247 100.0 % 19 19
strencodings.h
100.0%
100.0 % 56 56 66.9 % 124 83 100.0 % 35 35
functional_tests 94.1 % 51 48 65.8 % 76 50 80.0 % 30 24
test_bitcoin 100.0 % 56 56 76.9 % 104 80 97.1 % 35 34
string.cpp
100.0%
100.0 % 32 32 86.4 % 22 19 100.0 % 5 5
test_bitcoin 100.0 % 32 32 86.4 % 22 19 100.0 % 5 5
functional_tests 9.4 % 32 3 9.1 % 22 2 20.0 % 5 1
string.h
96.8%96.8%
96.8 % 95 92 73.6 % 242 178 100.0 % 59 59
functional_tests 95.1 % 61 58 66.9 % 118 79 97.3 % 37 36
test_bitcoin 96.8 % 95 92 73.0 % 230 168 96.6 % 59 57
subprocess.h
64.1%64.1%
64.1 % 334 214 30.2 % 354 107 83.9 % 31 26
functional_tests 64.1 % 334 214 30.2 % 354 107 83.9 % 31 26
test_bitcoin 60.2 % 334 201 28.0 % 354 99 80.6 % 31 25
syserror.cpp
85.7%85.7%
85.7 % 7 6 50.0 % 2 1 100.0 % 1 1
functional_tests 85.7 % 7 6 50.0 % 2 1 100.0 % 1 1
test_bitcoin 85.7 % 7 6 50.0 % 2 1 100.0 % 1 1
task_runner.h
83.3%83.3%
83.3 % 6 5 50.0 % 2 1 66.7 % 3 2
functional_tests 80.0 % 5 4 - 0 0 66.7 % 3 2
test_bitcoin 83.3 % 6 5 50.0 % 2 1 66.7 % 3 2
thread.cpp
50.0%50.0%
50.0 % 14 7 28.6 % 14 4 100.0 % 1 1
test_bitcoin 50.0 % 14 7 28.6 % 14 4 100.0 % 1 1
functional_tests 50.0 % 14 7 28.6 % 14 4 100.0 % 1 1
threadinterrupt.cpp
100.0%
100.0 % 19 19 62.5 % 8 5 100.0 % 6 6
functional_tests 100.0 % 19 19 62.5 % 8 5 100.0 % 6 6
test_bitcoin 100.0 % 19 19 62.5 % 8 5 100.0 % 6 6
threadinterrupt.h
100.0%
100.0 % 1 1 - 50.0 % 2 1
functional_tests 100.0 % 1 1 - 0 0 50.0 % 2 1
test_bitcoin 100.0 % 1 1 - 0 0 50.0 % 2 1
threadnames.cpp
100.0%
100.0 % 16 16 50.0 % 4 2 100.0 % 5 5
functional_tests 100.0 % 16 16 50.0 % 4 2 100.0 % 5 5
test_bitcoin 81.2 % 16 13 50.0 % 4 2 80.0 % 5 4
threadpool.h
97.9%97.9%
97.9 % 96 94 61.7 % 133 82 100.0 % 32 32
test_bitcoin 97.9 % 96 94 60.9 % 133 81 96.9 % 32 31
functional_tests 86.2 % 80 69 53.7 % 95 51 90.9 % 11 10
time.cpp
97.5%97.5%
97.5 % 81 79 93.3 % 60 56 93.8 % 16 15
test_bitcoin 97.5 % 81 79 93.3 % 60 56 93.8 % 16 15
functional_tests 42.0 % 81 34 16.7 % 60 10 56.2 % 16 9
time.h
100.0%
100.0 % 13 13 57.9 % 38 22 96.0 % 25 24
test_bitcoin 76.9 % 13 10 26.3 % 38 10 83.3 % 24 20
functional_tests 100.0 % 13 13 55.3 % 38 21 95.0 % 20 19
tokenpipe.cpp
95.6%95.6%
95.6 % 45 43 55.0 % 20 11 100.0 % 10 10
functional_tests 95.6 % 45 43 55.0 % 20 11 100.0 % 10 10
test_bitcoin 77.8 % 45 35 35.0 % 20 7 90.0 % 10 9
tokenpipe.h
100.0%
100.0 % 12 12 62.5 % 8 5 -
test_bitcoin 100.0 % 11 11 66.7 % 6 4 - 0 0
functional_tests 100.0 % 12 12 62.5 % 8 5 - 0 0
translation.h
100.0%
100.0 % 25 25 38.7 % 186 72 82.9 % 41 34
functional_tests 100.0 % 24 24 40.1 % 152 61 80.0 % 40 32
test_bitcoin 96.0 % 25 24 23.1 % 156 36 29.3 % 41 12
vecdeque.h
93.7%93.7%
93.7 % 63 59 75.3 % 154 116 100.0 % 18 18
functional_tests 92.1 % 63 58 74.1 % 54 40 100.0 % 18 18
test_bitcoin 93.7 % 63 59 65.6 % 154 101 100.0 % 18 18
vector.h
95.8%95.8%
95.8 % 24 23 63.9 % 36 23 97.7 % 43 42
test_bitcoin 95.8 % 24 23 62.5 % 32 20 93.0 % 43 40
functional_tests 94.7 % 19 18 61.5 % 26 16 97.0 % 33 32

Generated by: LCOV version 2.0-1