LCOV - code coverage report
Current view: top level - src/util Coverage Total Hit
Test: total_coverage.info Lines: 88.5 % 2540 2249
Test Date: 2026-07-15 08:36:47 Functions: 91.6 % 885 811
Branches: 44.6 % 16058 7160

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
insert.h
100.0%
100.0 % 3 3 - 100.0 % 2 2
functional_tests 100.0 % 3 3 - 0 0 100.0 % 2 2
test_bitcoin 100.0 % 3 3 - 0 0 100.0 % 2 2
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
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
btcsignals.h
97.9%97.9%
97.9 % 48 47 21.8 % 568 124 75.0 % 56 42
test_bitcoin 97.9 % 48 47 25.3 % 458 116 57.1 % 56 32
functional_tests 71.1 % 45 32 9.9 % 314 31 62.8 % 43 27
log.h
88.2%88.2%
88.2 % 17 15 23.8 % 3712 882 83.4 % 175 146
test_bitcoin 88.2 % 17 15 15.7 % 2688 422 55.8 % 172 96
functional_tests 88.2 % 17 15 30.1 % 2684 809 78.4 % 171 134
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
sock.h
80.0%80.0%
80.0 % 10 8 28.1 % 32 9 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
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
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
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
translation.h
100.0%
100.0 % 25 25 32.2 % 208 67 83.3 % 42 35
test_bitcoin 64.0 % 25 16 23.1 % 156 36 28.2 % 39 11
functional_tests 100.0 % 24 24 40.8 % 152 62 80.5 % 41 33
check.h
100.0%
100.0 % 14 14 33.9 % 2856 968 96.0 % 25 24
test_bitcoin 100.0 % 14 14 47.4 % 1780 844 40.0 % 25 10
functional_tests 87.5 % 8 7 48.6 % 850 413 96.0 % 25 24
fs.h
100.0%
100.0 % 44 44 37.3 % 1810 675 100.0 % 6 6
functional_tests 100.0 % 40 40 41.8 % 806 337 100.0 % 5 5
test_bitcoin 90.9 % 44 40 41.3 % 1340 553 83.3 % 6 5
sock.cpp
76.6%76.6%
76.6 % 167 128 42.1 % 178 75 100.0 % 25 25
functional_tests 53.3 % 167 89 27.5 % 178 49 84.0 % 25 21
test_bitcoin 72.5 % 167 121 38.2 % 178 68 96.0 % 25 24
signalinterrupt.cpp
90.5%90.5%
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
functional_tests 90.5 % 21 19 42.3 % 26 11 100.0 % 5 5
fs_helpers.cpp
74.8%74.8%
74.8 % 123 92 43.0 % 142 61 86.7 % 15 13
test_bitcoin 50.4 % 123 62 28.2 % 142 40 73.3 % 15 11
functional_tests 71.5 % 123 88 40.8 % 142 58 80.0 % 15 12
feefrac.h
100.0%
100.0 % 70 70 43.7 % 1201 525 100.0 % 8 8
functional_tests 100.0 % 65 65 82.2 % 157 129 87.5 % 8 7
test_bitcoin 95.7 % 70 67 56.5 % 867 490 100.0 % 8 8
stdmutex.h
100.0%
100.0 % 3 3 45.8 % 24 11 -
functional_tests 66.7 % 3 2 25.0 % 20 5 - 0 0
test_bitcoin 100.0 % 3 3 50.0 % 22 11 - 0 0
hash_type.h
100.0%
100.0 % 16 16 48.9 % 188 92 -
functional_tests 100.0 % 15 15 47.1 % 136 64 - 0 0
test_bitcoin 93.8 % 16 15 39.2 % 186 73 - 0 0
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
test_bitcoin 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
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
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
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
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 % 34 17 95.5 % 22 21
functional_tests 100.0 % 12 12 57.1 % 28 16 94.7 % 19 18
test_bitcoin 83.3 % 12 10 32.1 % 28 9 90.5 % 21 19
expected.h
93.5%93.5%
93.5 % 46 43 51.2 % 162 83 85.3 % 34 29
functional_tests 68.8 % 32 22 38.0 % 50 19 60.0 % 15 9
test_bitcoin 91.3 % 46 42 47.5 % 160 76 79.4 % 34 27
result.h
100.0%
100.0 % 23 23 51.4 % 348 179 97.7 % 44 43
test_bitcoin 100.0 % 23 23 53.4 % 262 140 60.5 % 43 26
functional_tests 100.0 % 20 20 76.7 % 146 112 97.0 % 33 32
fs.cpp
96.2%96.2%
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
functional_tests 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
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
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 79.2 % 24 19 44.4 % 36 16 100.0 % 2 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
obfuscation.h
100.0%
100.0 % 50 50 61.3 % 212 130 100.0 % 9 9
test_bitcoin 100.0 % 50 50 69.3 % 176 122 88.9 % 9 8
functional_tests 100.0 % 50 50 78.0 % 82 64 100.0 % 8 8
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
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
vector.h
95.8%95.8%
95.8 % 24 23 62.5 % 32 20 97.7 % 44 43
test_bitcoin 95.8 % 24 23 62.5 % 32 20 93.2 % 44 41
functional_tests 95.8 % 24 23 62.5 % 32 20 97.1 % 34 33
threadpool.h
97.9%97.9%
97.9 % 97 95 62.8 % 137 86 100.0 % 33 33
functional_tests 86.6 % 97 84 54.1 % 109 59 92.3 % 13 12
test_bitcoin 97.9 % 97 95 60.6 % 137 83 97.0 % 33 32
overflow.h
74.1%74.1%
74.1 % 27 20 64.3 % 70 45 88.2 % 17 15
functional_tests 66.7 % 27 18 46.6 % 58 27 83.3 % 12 10
test_bitcoin 74.1 % 27 20 64.3 % 70 45 88.2 % 17 15
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
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
string.h
97.9%97.9%
97.9 % 96 94 75.2 % 238 179 100.0 % 60 60
test_bitcoin 97.9 % 96 94 73.5 % 230 169 98.3 % 60 59
functional_tests 96.8 % 62 60 67.8 % 118 80 97.4 % 38 37
vecdeque.h
93.7%93.7%
93.7 % 63 59 75.3 % 154 116 100.0 % 18 18
test_bitcoin 93.7 % 63 59 65.6 % 154 101 100.0 % 18 18
functional_tests 92.1 % 63 58 74.1 % 54 40 100.0 % 18 18
strencodings.h
100.0%
100.0 % 52 52 77.9 % 104 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 64.5 % 76 49 83.3 % 30 25
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
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
bitset.h
100.0%
100.0 % 163 163 82.4 % 2374 1956 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.8 % 420 331 100.0 % 3 3
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
strencodings.cpp
97.9%97.9%
97.9 % 235 230 85.9 % 304 261 100.0 % 20 20
functional_tests 86.4 % 235 203 69.7 % 304 212 90.0 % 20 18
test_bitcoin 97.9 % 235 230 85.9 % 304 261 100.0 % 20 20
string.cpp
100.0%
100.0 % 33 33 86.4 % 22 19 100.0 % 6 6
test_bitcoin 100.0 % 33 33 86.4 % 22 19 100.0 % 6 6
functional_tests 100.0 % 33 33 72.7 % 22 16 100.0 % 6 6
time.cpp
90.1%90.1%
90.1 % 81 73 86.7 % 60 52 87.5 % 16 14
functional_tests 48.1 % 81 39 23.3 % 60 14 56.2 % 16 9
test_bitcoin 90.1 % 81 73 86.7 % 60 52 87.5 % 16 14
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
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 -
functional_tests 100.0 % 11 11 100.0 % 2 2 - 0 0
test_bitcoin 100.0 % 11 11 100.0 % 2 2 - 0 0
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
test_bitcoin 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

Generated by: LCOV version 2.0-1