LCOV - code coverage report
Current view: top level - src/util Coverage Total Hit
Test: total_coverage.info Lines: 89.2 % 2641 2355
Test Date: 2026-11-25 06:45:13 Functions: 91.0 % 1132 1030
Branches: 46.3 % 15581 7212

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
exec.cpp
0.0%
0.0 % 18 0.0 % 18 0.0 % 2
fs_helpers.h
100.0%
100.0 % 4 4 - -
functional_tests 100.0 % 4 4 - 0 0 - 0 0
test_bitcoin 100.0 % 4 4 - 0 0 - 0 0
hasher.cpp
100.0%
100.0 % 22 22 - 100.0 % 6 6
functional_tests 100.0 % 22 22 - 0 0 100.0 % 6 6
test_bitcoin 100.0 % 22 22 - 0 0 100.0 % 6 6
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
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
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
log.h
88.2%88.2%
88.2 % 17 15 23.2 % 4204 975 83.8 % 191 160
functional_tests 88.2 % 17 15 30.4 % 2844 865 79.1 % 187 148
test_bitcoin 88.2 % 17 15 15.8 % 2846 449 58.5 % 188 110
batchpriority.cpp
83.3%83.3%
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
test_bitcoin 83.3 % 6 5 25.0 % 4 1 100.0 % 1 1
thread.cpp
50.0%50.0%
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
test_bitcoin 50.0 % 14 7 28.6 % 14 4 100.0 % 1 1
subprocess.h
64.1%64.1%
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
functional_tests 64.1 % 334 214 30.2 % 354 107 83.9 % 31 26
check.cpp
78.9%78.9%
78.9 % 19 15 30.8 % 26 8 100.0 % 5 5
functional_tests 63.2 % 19 12 23.1 % 26 6 80.0 % 5 4
test_bitcoin 78.9 % 19 15 30.8 % 26 8 100.0 % 5 5
btcsignals.h
98.1%98.1%
98.1 % 53 52 32.2 % 366 118 69.6 % 112 78
functional_tests 76.0 % 50 38 18.9 % 148 28 52.6 % 78 41
test_bitcoin 98.1 % 53 52 36.7 % 308 113 56.2 % 112 63
not_null.h
100.0%
100.0 % 33 33 38.2 % 450 172 100.0 % 36 36
test_bitcoin 100.0 % 33 33 48.7 % 314 153 88.9 % 36 32
functional_tests 95.5 % 22 21 58.1 % 62 36 100.0 % 22 22
fs.h
100.0%
100.0 % 44 44 40.6 % 1676 681 100.0 % 6 6
test_bitcoin 90.9 % 44 40 43.3 % 1218 527 83.3 % 6 5
functional_tests 100.0 % 40 40 43.0 % 752 323 100.0 % 5 5
stdmutex.h
100.0%
100.0 % 3 3 40.9 % 44 18 -
test_bitcoin 100.0 % 3 3 46.4 % 28 13 - 0 0
functional_tests 100.0 % 3 3 27.3 % 22 6 - 0 0
sock.h
80.0%80.0%
80.0 % 10 8 41.2 % 34 14 100.0 % 1 1
test_bitcoin 80.0 % 10 8 26.7 % 30 8 100.0 % 1 1
functional_tests 80.0 % 10 8 26.7 % 30 8 100.0 % 1 1
sock.cpp
76.8%76.8%
76.8 % 168 129 42.1 % 178 75 100.0 % 25 25
test_bitcoin 64.3 % 168 108 34.8 % 178 62 80.0 % 25 20
functional_tests 53.6 % 168 90 27.5 % 178 49 84.0 % 25 21
signalinterrupt.cpp
90.5%90.5%
90.5 % 21 19 42.3 % 26 11 100.0 % 5 5
functional_tests 90.5 % 21 19 42.3 % 26 11 100.0 % 5 5
test_bitcoin 57.1 % 21 12 34.6 % 26 9 60.0 % 5 3
translation.h
100.0%
100.0 % 25 25 42.4 % 172 73 84.4 % 45 38
functional_tests 100.0 % 24 24 47.0 % 132 62 81.8 % 44 36
test_bitcoin 64.0 % 25 16 28.0 % 132 37 26.2 % 42 11
hash_type.h
100.0%
100.0 % 16 16 44.5 % 146 65 100.0 % 2 2
test_bitcoin 93.8 % 16 15 51.8 % 114 59 50.0 % 2 1
functional_tests 100.0 % 15 15 59.4 % 64 38 100.0 % 2 2
expected.h
95.7%95.7%
95.7 % 46 44 44.8 % 286 128 90.7 % 54 49
functional_tests 84.4 % 32 27 61.5 % 78 48 75.0 % 28 21
test_bitcoin 93.5 % 46 43 47.4 % 232 110 83.3 % 54 45
fs_helpers.cpp
79.3%79.3%
79.3 % 121 96 45.0 % 140 63 86.7 % 15 13
functional_tests 76.0 % 121 92 42.9 % 140 60 80.0 % 15 12
test_bitcoin 49.6 % 121 60 27.9 % 140 39 73.3 % 15 11
check.h
100.0%
100.0 % 14 14 45.1 % 2014 909 94.4 % 124 117
test_bitcoin 100.0 % 14 14 60.3 % 1150 693 75.8 % 124 94
functional_tests 87.5 % 8 7 65.2 % 488 318 88.3 % 94 83
any.h
100.0%
100.0 % 3 3 50.0 % 2 1 100.0 % 2 2
functional_tests 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
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
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
test_bitcoin 83.3 % 6 5 50.0 % 2 1 66.7 % 3 2
functional_tests 80.0 % 5 4 - 0 0 66.7 % 3 2
threadnames.cpp
100.0%
100.0 % 17 17 50.0 % 6 3 100.0 % 5 5
test_bitcoin 82.4 % 17 14 50.0 % 6 3 80.0 % 5 4
functional_tests 100.0 % 17 17 50.0 % 6 3 100.0 % 5 5
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
time.h
100.0%
100.0 % 12 12 50.0 % 36 18 95.5 % 22 21
functional_tests 100.0 % 12 12 56.7 % 30 17 94.7 % 19 18
test_bitcoin 83.3 % 12 10 32.1 % 28 9 90.5 % 21 19
bitdeque.h
83.1%83.1%
83.1 % 65 54 54.5 % 22 12 100.0 % 10 10
functional_tests 83.1 % 65 54 61.1 % 18 11 100.0 % 10 10
test_bitcoin 83.1 % 65 54 54.5 % 22 12 100.0 % 10 10
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
tokenpipe.cpp
95.6%95.6%
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
functional_tests 95.6 % 45 43 55.0 % 20 11 100.0 % 10 10
obfuscation.h
100.0%
100.0 % 50 50 55.8 % 226 126 100.0 % 9 9
functional_tests 100.0 % 50 50 77.5 % 80 62 100.0 % 8 8
test_bitcoin 100.0 % 50 50 72.8 % 162 118 88.9 % 9 8
feefrac.h
100.0%
100.0 % 70 70 55.9 % 694 388 100.0 % 8 8
test_bitcoin 95.7 % 70 67 62.5 % 554 346 100.0 % 8 8
functional_tests 100.0 % 65 65 80.3 % 152 122 87.5 % 8 7
readwritefile.cpp
79.2%79.2%
79.2 % 24 19 58.3 % 36 21 100.0 % 2 2
functional_tests 79.2 % 24 19 44.4 % 36 16 100.0 % 2 2
test_bitcoin 79.2 % 24 19 58.3 % 36 21 100.0 % 2 2
result.h
100.0%
100.0 % 23 23 59.9 % 342 205 97.9 % 48 47
functional_tests 100.0 % 20 20 76.4 % 148 113 97.3 % 37 36
test_bitcoin 100.0 % 23 23 50.8 % 264 134 63.8 % 47 30
overflow.h
74.1%74.1%
74.1 % 27 20 60.3 % 78 47 87.5 % 16 14
test_bitcoin 74.1 % 27 20 64.3 % 70 45 87.5 % 16 14
functional_tests 66.7 % 27 18 46.6 % 58 27 81.8 % 11 9
tokenbucket.h
100.0%
100.0 % 12 12 61.2 % 80 49 100.0 % 1 1
test_bitcoin 100.0 % 12 12 55.0 % 80 44 100.0 % 1 1
functional_tests 100.0 % 12 12 80.8 % 26 21 100.0 % 1 1
threadpool.h
97.9%97.9%
97.9 % 97 95 62.0 % 137 85 100.0 % 33 33
test_bitcoin 97.9 % 97 95 60.6 % 137 83 97.0 % 33 32
functional_tests 86.6 % 97 84 54.1 % 109 59 92.3 % 13 12
threadinterrupt.cpp
100.0%
100.0 % 19 19 62.5 % 8 5 100.0 % 6 6
test_bitcoin 100.0 % 19 19 50.0 % 8 4 100.0 % 6 6
functional_tests 100.0 % 19 19 62.5 % 8 5 100.0 % 6 6
tokenpipe.h
100.0%
100.0 % 12 12 62.5 % 8 5 -
functional_tests 100.0 % 12 12 62.5 % 8 5 - 0 0
test_bitcoin 100.0 % 11 11 66.7 % 6 4 - 0 0
vecdeque.h
90.5%90.5%
90.5 % 63 57 63.3 % 166 105 100.0 % 18 18
functional_tests 90.5 % 63 57 69.6 % 56 39 100.0 % 18 18
test_bitcoin 90.5 % 63 57 62.0 % 166 103 100.0 % 18 18
vector.h
95.8%95.8%
95.8 % 24 23 63.9 % 36 23 97.7 % 44 43
functional_tests 95.8 % 24 23 62.5 % 32 20 97.1 % 34 33
test_bitcoin 95.8 % 24 23 62.5 % 32 20 93.2 % 44 41
asmap.cpp
97.6%97.6%
97.6 % 126 123 65.9 % 138 91 100.0 % 10 10
functional_tests 95.2 % 126 120 62.3 % 138 86 100.0 % 10 10
test_bitcoin 49.2 % 126 62 26.8 % 138 37 70.0 % 10 7
strencodings.h
100.0%
100.0 % 52 52 67.2 % 122 82 100.0 % 34 34
test_bitcoin 100.0 % 52 52 79.0 % 100 79 97.1 % 34 33
functional_tests 96.0 % 50 48 71.6 % 74 53 83.3 % 30 25
string.h
97.9%97.9%
97.9 % 95 93 68.7 % 262 180 100.0 % 63 63
test_bitcoin 97.9 % 95 93 74.3 % 230 171 96.8 % 63 61
functional_tests 96.7 % 61 59 67.8 % 118 80 97.6 % 41 40
bitset.h
100.0%
100.0 % 163 163 75.4 % 2372 1789 100.0 % 49 49
functional_tests 100.0 % 55 55 78.3 % 420 329 100.0 % 3 3
test_bitcoin 100.0 % 163 163 73.2 % 2370 1734 100.0 % 49 49
string.cpp
100.0%
100.0 % 40 40 80.0 % 40 32 100.0 % 6 6
test_bitcoin 100.0 % 40 40 80.0 % 40 32 100.0 % 6 6
functional_tests 100.0 % 40 40 65.0 % 40 26 100.0 % 6 6
bip32.cpp
97.7%97.7%
97.7 % 43 42 80.4 % 46 37 100.0 % 5 5
functional_tests 93.0 % 43 40 73.9 % 46 34 100.0 % 5 5
test_bitcoin 93.0 % 43 40 78.3 % 46 36 80.0 % 5 4
chaintype.cpp
88.0%88.0%
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
test_bitcoin 88.0 % 25 22 81.2 % 16 13 100.0 % 2 2
moneystr.cpp
96.0%96.0%
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
test_bitcoin 96.0 % 50 48 82.0 % 50 41 100.0 % 2 2
bip32.h
100.0%
100.0 % 1 1 83.3 % 6 5 -
functional_tests 100.0 % 1 1 83.3 % 6 5 - 0 0
test_bitcoin 100.0 % 1 1 83.3 % 6 5 - 0 0
golombrice.h
100.0%
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
test_bitcoin 100.0 % 15 15 83.3 % 6 5 100.0 % 2 2
strencodings.cpp
97.9%97.9%
97.9 % 235 230 86.2 % 304 262 100.0 % 20 20
functional_tests 86.4 % 235 203 70.1 % 304 213 90.0 % 20 18
test_bitcoin 97.9 % 235 230 86.2 % 304 262 100.0 % 20 20
fees.cpp
93.8%93.8%
93.8 % 16 15 90.0 % 10 9 100.0 % 2 2
functional_tests 81.2 % 16 13 80.0 % 10 8 100.0 % 2 2
test_bitcoin 93.8 % 16 15 90.0 % 10 9 100.0 % 2 2
serfloat.cpp
100.0%
100.0 % 31 31 92.3 % 26 24 100.0 % 2 2
test_bitcoin 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
time.cpp
91.2%91.2%
91.2 % 80 73 96.4 % 56 54 86.7 % 15 13
test_bitcoin 91.2 % 80 73 96.4 % 56 54 86.7 % 15 13
functional_tests 57.5 % 80 46 30.4 % 56 17 60.0 % 15 9
fastrange.h
100.0%
100.0 % 4 4 100.0 % 2 2 -
functional_tests 100.0 % 4 4 100.0 % 2 2 - 0 0
test_bitcoin 100.0 % 4 4 100.0 % 2 2 - 0 0
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
fees.h
100.0%
100.0 % 7 7 100.0 % 4 4 100.0 % 2 2
test_bitcoin 71.4 % 7 5 25.0 % 4 1 100.0 % 2 2
functional_tests 100.0 % 7 7 100.0 % 4 4 100.0 % 2 2
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
feefrac.cpp
100.0%
100.0 % 31 31 100.0 % 32 32 100.0 % 3 3
functional_tests 100.0 % 31 31 96.9 % 32 31 100.0 % 3 3
test_bitcoin 100.0 % 31 31 100.0 % 32 32 100.0 % 3 3

Generated by: LCOV version 2.0-1