LCOV - code coverage report
Current view: top level - src/util Coverage Total Hit
Test: total_coverage.info Lines: 86.4 % 2147 1856
Test Date: 2025-12-07 05:20:42 Functions: 94.9 % 508 482
Branches: 46.7 % 7614 3553

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
94.3%94.3%
94.3 % 122 115 61.0 % 146 89 100.0 % 8 8
functional_tests 91.8 % 122 112 58.2 % 146 85 100.0 % 8 8
test_bitcoin 45.1 % 122 55 21.9 % 146 32 75.0 % 8 6
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
bip32.cpp
96.6%96.6%
96.6 % 29 28 73.5 % 34 25 100.0 % 3 3
functional_tests 27.6 % 29 8 23.5 % 34 8 66.7 % 3 2
test_bitcoin 89.7 % 29 26 70.6 % 34 24 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 % 68 68 75.7 % 420 318 100.0 % 7 7
functional_tests 100.0 % 62 62 76.4 % 314 240 100.0 % 4 4
test_bitcoin 100.0 % 68 68 73.8 % 420 310 100.0 % 7 7
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
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
check.cpp
71.4%71.4%
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
test_bitcoin 71.4 % 14 10 29.2 % 24 7 100.0 % 3 3
check.h
100.0%
100.0 % 14 14 32.4 % 1764 571 95.8 % 24 23
functional_tests 87.5 % 8 7 47.0 % 758 356 95.8 % 24 23
test_bitcoin 100.0 % 14 14 41.2 % 1234 509 37.5 % 24 9
epochguard.h
100.0%
100.0 % 16 16 62.5 % 8 5 100.0 % 3 3
functional_tests 100.0 % 16 16 62.5 % 8 5 100.0 % 3 3
test_bitcoin 100.0 % 16 16 50.0 % 8 4 100.0 % 3 3
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
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
functional_tests 100.0 % 31 31 96.7 % 30 29 100.0 % 3 3
test_bitcoin 100.0 % 31 31 100.0 % 30 30 100.0 % 3 3
feefrac.h
100.0%
100.0 % 52 52 41.7 % 836 349 100.0 % 5 5
test_bitcoin 96.2 % 52 50 52.5 % 638 335 100.0 % 5 5
functional_tests 100.0 % 52 52 74.6 % 126 94 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 % 42 42 36.9 % 1636 603 100.0 % 5 5
test_bitcoin 95.2 % 42 40 39.1 % 1192 466 100.0 % 5 5
functional_tests 100.0 % 38 38 42.1 % 764 322 100.0 % 4 4
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 % 18 18 46.1 % 206 95 -
functional_tests 100.0 % 17 17 47.1 % 140 66 - 0 0
test_bitcoin 94.4 % 18 17 40.0 % 190 76 - 0 0
hasher.cpp
100.0%
100.0 % 18 18 50.0 % 4 2 100.0 % 6 6
test_bitcoin 100.0 % 18 18 50.0 % 4 2 100.0 % 6 6
functional_tests 100.0 % 18 18 50.0 % 4 2 100.0 % 6 6
hasher.h
100.0%
100.0 % 12 12 75.0 % 8 6 100.0 % 1 1
test_bitcoin 100.0 % 12 12 62.5 % 8 5 100.0 % 1 1
functional_tests 100.0 % 12 12 75.0 % 8 6 100.0 % 1 1
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
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 63.7 % 204 130 100.0 % 8 8
test_bitcoin 100.0 % 50 50 66.5 % 176 117 87.5 % 8 7
functional_tests 100.0 % 50 50 75.6 % 82 62 100.0 % 8 8
overflow.h
85.0%85.0%
85.0 % 20 17 80.0 % 30 24 85.7 % 14 12
functional_tests 52.6 % 19 10 39.3 % 28 11 71.4 % 7 5
test_bitcoin 85.0 % 20 17 80.0 % 30 24 85.7 % 14 12
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
functional_tests 16.7 % 24 4 2.8 % 36 1 50.0 % 2 1
test_bitcoin 79.2 % 24 19 58.3 % 36 21 100.0 % 2 2
result.h
100.0%
100.0 % 23 23 60.7 % 298 181 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.6 % 262 143 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 42.3 % 26 11 100.0 % 5 5
test_bitcoin 38.1 % 21 8 26.9 % 26 7 40.0 % 5 2
functional_tests 90.5 % 21 19 42.3 % 26 11 100.0 % 5 5
signalinterrupt.h
100.0%
100.0 % 1 1 - -
functional_tests 100.0 % 1 1 - 0 0 - 0 0
test_bitcoin 100.0 % 1 1 - 0 0 - 0 0
sock.cpp
71.6%71.6%
71.6 % 169 121 38.9 % 180 70 96.0 % 25 24
functional_tests 46.7 % 169 79 24.4 % 180 44 76.0 % 25 19
test_bitcoin 62.1 % 169 105 36.1 % 180 65 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.5 % 290 248 100.0 % 19 19
functional_tests 85.9 % 227 195 67.9 % 290 197 89.5 % 19 17
test_bitcoin 97.8 % 227 222 85.2 % 290 247 100.0 % 19 19
strencodings.h
100.0%
100.0 % 52 52 75.0 % 108 81 100.0 % 33 33
test_bitcoin 100.0 % 52 52 78.0 % 100 78 97.0 % 33 32
functional_tests 94.1 % 51 48 65.8 % 76 50 100.0 % 24 24
string.cpp
100.0%
100.0 % 3 3 75.0 % 4 3 100.0 % 1 1
test_bitcoin 100.0 % 3 3 75.0 % 4 3 100.0 % 1 1
functional_tests 100.0 % 3 3 50.0 % 4 2 100.0 % 1 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.1 % 35 34
test_bitcoin 96.8 % 95 92 73.0 % 230 168 96.6 % 59 57
subprocess.h
64.3%64.3%
64.3 % 336 216 30.4 % 358 109 83.9 % 31 26
functional_tests 64.3 % 336 216 30.4 % 358 109 83.9 % 31 26
test_bitcoin 64.3 % 336 216 30.4 % 358 109 83.9 % 31 26
syserror.cpp
85.7%85.7%
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
functional_tests 85.7 % 7 6 50.0 % 2 1 100.0 % 1 1
task_runner.h
100.0%
100.0 % 2 2 50.0 % 2 1 -
test_bitcoin 100.0 % 2 2 50.0 % 2 1 - 0 0
functional_tests 100.0 % 1 1 - 0 0 - 0 0
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
test_bitcoin 100.0 % 1 1 - 0 0 50.0 % 2 1
functional_tests 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
time.cpp
95.7%95.7%
95.7 % 70 67 94.2 % 52 49 86.7 % 15 13
test_bitcoin 95.7 % 70 67 94.2 % 52 49 86.7 % 15 13
functional_tests 48.6 % 70 34 19.2 % 52 10 60.0 % 15 9
time.h
100.0%
100.0 % 11 11 47.8 % 46 22 100.0 % 24 24
test_bitcoin 90.9 % 11 10 21.4 % 42 9 87.0 % 23 20
functional_tests 100.0 % 11 11 50.0 % 42 21 100.0 % 19 19
tokenpipe.cpp
95.6%95.6%
95.6 % 45 43 55.0 % 20 11 100.0 % 10 10
test_bitcoin 64.4 % 45 29 25.0 % 20 5 80.0 % 10 8
functional_tests 95.6 % 45 43 55.0 % 20 11 100.0 % 10 10
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
translation.h
100.0%
100.0 % 25 25 40.6 % 192 78 82.9 % 41 34
test_bitcoin 96.0 % 25 24 24.7 % 158 39 29.3 % 41 12
functional_tests 100.0 % 24 24 39.9 % 158 63 80.0 % 40 32
vecdeque.h
83.1%83.1%
83.1 % 59 49 63.9 % 36 23 85.7 % 7 6
functional_tests 83.1 % 59 49 63.9 % 36 23 85.7 % 7 6
test_bitcoin 83.1 % 59 49 63.9 % 36 23 85.7 % 7 6
vector.h
95.8%95.8%
95.8 % 24 23 62.5 % 32 20 97.6 % 42 41
functional_tests 94.7 % 19 18 61.5 % 26 16 96.9 % 32 31
test_bitcoin 95.8 % 24 23 62.5 % 32 20 95.2 % 42 40

Generated by: LCOV version 2.0-1