LCOV - code coverage report
Current view: top level - src/util Coverage Total Hit
Test: total_coverage.info Lines: 83.7 % 2065 1729
Test Date: 2025-03-31 05:19:22 Functions: 93.9 % 554 520
Branches: 44.3 % 6366 2817

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
vecdeque.h
0.0%
0.0 % 49 0.0 % 34 0.0 % 3
bytevectorhash.cpp
100.0%
100.0 % 6 6 - 100.0 % 2 2
test_bitcoin 100.0 % 6 6 - 0 0 100.0 % 2 2
functional_tests 100.0 % 6 6 - 0 0 100.0 % 2 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 - -
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 - -
test_bitcoin 100.0 % 1 1 - 0 0 - 0 0
functional_tests 100.0 % 1 1 - 0 0 - 0 0
bitset.h
83.3%83.3%
83.3 % 60 50 21.3 % 492 105 66.7 % 3 2
test_bitcoin 100.0 % 50 50 78.4 % 134 105 100.0 % 2 2
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
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.7%64.7%
64.7 % 329 213 31.1 % 322 100 83.9 % 31 26
test_bitcoin 64.7 % 329 213 31.1 % 322 100 83.9 % 31 26
functional_tests 64.7 % 329 213 31.1 % 322 100 83.9 % 31 26
check.cpp
54.5%54.5%
54.5 % 11 6 33.3 % 6 2 66.7 % 3 2
test_bitcoin 54.5 % 11 6 33.3 % 6 2 66.7 % 3 2
functional_tests 54.5 % 11 6 33.3 % 6 2 66.7 % 3 2
translation.h
100.0%
100.0 % 25 25 34.1 % 220 75 82.5 % 40 33
functional_tests 100.0 % 24 24 39.0 % 164 64 79.5 % 39 31
test_bitcoin 96.0 % 25 24 21.4 % 154 33 30.0 % 40 12
time.h
100.0%
100.0 % 11 11 37.0 % 54 20 95.5 % 22 21
functional_tests 100.0 % 11 11 45.2 % 42 19 94.7 % 19 18
test_bitcoin 90.9 % 11 10 16.7 % 42 7 90.5 % 21 19
fs.h
100.0%
100.0 % 44 44 37.0 % 1552 575 100.0 % 7 7
functional_tests 100.0 % 41 41 42.3 % 672 284 100.0 % 6 6
test_bitcoin 88.6 % 44 39 37.4 % 1140 426 85.7 % 7 6
sock.cpp
71.6%71.6%
71.6 % 169 121 38.4 % 172 66 96.0 % 25 24
functional_tests 46.7 % 169 79 24.4 % 172 42 76.0 % 25 19
test_bitcoin 53.8 % 169 91 32.6 % 172 56 60.0 % 25 15
signalinterrupt.cpp
71.4%71.4%
71.4 % 21 15 38.5 % 26 10 80.0 % 5 4
functional_tests 71.4 % 21 15 38.5 % 26 10 80.0 % 5 4
test_bitcoin 38.1 % 21 8 26.9 % 26 7 40.0 % 5 2
transaction_identifier.h
100.0%
100.0 % 23 23 38.4 % 1410 542 100.0 % 2 2
functional_tests 100.0 % 22 22 45.8 % 592 271 100.0 % 1 1
test_bitcoin 100.0 % 23 23 43.1 % 1114 480 100.0 % 2 2
hash_type.h
100.0%
100.0 % 18 18 38.8 % 240 93 -
test_bitcoin 100.0 % 18 18 36.9 % 214 79 - 0 0
functional_tests 100.0 % 17 17 38.4 % 164 63 - 0 0
sock.h
75.0%75.0%
75.0 % 8 6 40.9 % 22 9 100.0 % 1 1
test_bitcoin 37.5 % 8 3 9.1 % 22 2 0.0 % 1 0
functional_tests 75.0 % 8 6 40.9 % 22 9 100.0 % 1 1
fs_helpers.cpp
73.3%73.3%
73.3 % 105 77 45.5 % 110 50 85.7 % 14 12
test_bitcoin 44.8 % 105 47 26.4 % 110 29 71.4 % 14 10
functional_tests 69.5 % 105 73 42.7 % 110 47 78.6 % 14 11
feefrac.h
81.6%81.6%
81.6 % 38 31 46.6 % 148 69 100.0 % 2 2
functional_tests 100.0 % 25 25 93.3 % 30 28 100.0 % 2 2
test_bitcoin 90.3 % 31 28 61.8 % 110 68 100.0 % 2 2
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 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
100.0%
100.0 % 2 2 50.0 % 2 1 -
functional_tests 100.0 % 1 1 - 0 0 - 0 0
test_bitcoin 100.0 % 2 2 50.0 % 2 1 - 0 0
threadnames.cpp
100.0%
100.0 % 16 16 50.0 % 2 1 100.0 % 5 5
test_bitcoin 81.2 % 16 13 50.0 % 2 1 80.0 % 5 4
functional_tests 100.0 % 16 16 50.0 % 2 1 100.0 % 5 5
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
hasher.cpp
100.0%
100.0 % 12 12 50.0 % 4 2 100.0 % 4 4
test_bitcoin 100.0 % 12 12 50.0 % 4 2 100.0 % 4 4
functional_tests 100.0 % 12 12 50.0 % 4 2 100.0 % 4 4
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
hasher.h
100.0%
100.0 % 8 8 50.0 % 12 6 100.0 % 1 1
test_bitcoin 100.0 % 8 8 50.0 % 10 5 100.0 % 1 1
functional_tests 100.0 % 8 8 62.5 % 8 5 100.0 % 1 1
fs.cpp
89.3%89.3%
89.3 % 28 25 55.0 % 20 11 85.7 % 7 6
test_bitcoin 89.3 % 28 25 55.0 % 20 11 85.7 % 7 6
functional_tests 89.3 % 28 25 55.0 % 20 11 85.7 % 7 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 64.4 % 45 29 25.0 % 20 5 80.0 % 10 8
result.h
100.0%
100.0 % 23 23 55.7 % 334 186 100.0 % 36 36
functional_tests 100.0 % 22 22 75.9 % 116 88 100.0 % 25 25
test_bitcoin 100.0 % 23 23 53.4 % 268 143 69.4 % 36 25
check.h
87.5%87.5%
87.5 % 8 7 55.9 % 34 19 93.2 % 88 82
functional_tests 87.5 % 8 7 41.7 % 24 10 91.5 % 71 65
test_bitcoin 87.5 % 8 7 67.9 % 28 19 65.5 % 87 57
vector.h
95.8%95.8%
95.8 % 24 23 57.1 % 28 16 95.3 % 43 41
test_bitcoin 95.8 % 24 23 66.7 % 24 16 93.0 % 43 40
functional_tests 94.7 % 19 18 63.6 % 22 14 90.9 % 33 30
asmap.cpp
91.9%91.9%
91.9 % 123 113 58.8 % 148 87 100.0 % 8 8
functional_tests 91.9 % 123 113 58.1 % 148 86 100.0 % 8 8
test_bitcoin 42.3 % 123 52 19.6 % 148 29 75.0 % 8 6
readwritefile.cpp
79.2%79.2%
79.2 % 24 19 60.0 % 30 18 100.0 % 2 2
test_bitcoin 79.2 % 24 19 60.0 % 30 18 100.0 % 2 2
functional_tests 16.7 % 24 4 3.3 % 30 1 50.0 % 2 1
epochguard.h
100.0%
100.0 % 17 17 62.5 % 8 5 100.0 % 3 3
test_bitcoin 100.0 % 17 17 62.5 % 8 5 100.0 % 3 3
functional_tests 100.0 % 17 17 62.5 % 8 5 100.0 % 3 3
threadinterrupt.cpp
100.0%
100.0 % 17 17 62.5 % 8 5 100.0 % 5 5
functional_tests 100.0 % 17 17 62.5 % 8 5 100.0 % 5 5
test_bitcoin 76.5 % 17 13 12.5 % 8 1 80.0 % 5 4
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
bitdeque.h
83.1%83.1%
83.1 % 65 54 62.5 % 16 10 100.0 % 10 10
functional_tests 83.1 % 65 54 62.5 % 16 10 100.0 % 10 10
test_bitcoin 83.1 % 65 54 62.5 % 16 10 100.0 % 10 10
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
strencodings.h
100.0%
100.0 % 52 52 75.5 % 102 77 100.0 % 32 32
functional_tests 94.1 % 51 48 64.3 % 70 45 100.0 % 23 23
test_bitcoin 100.0 % 52 52 78.6 % 98 77 100.0 % 32 32
string.h
96.8%96.8%
96.8 % 93 90 76.0 % 208 158 100.0 % 55 55
functional_tests 94.9 % 59 56 67.0 % 100 67 97.1 % 34 33
test_bitcoin 96.8 % 93 90 75.5 % 204 154 96.4 % 55 53
bip32.cpp
96.7%96.7%
96.7 % 30 29 78.1 % 32 25 100.0 % 3 3
test_bitcoin 90.0 % 30 27 75.0 % 32 24 66.7 % 3 2
functional_tests 26.7 % 30 8 25.0 % 32 8 66.7 % 3 2
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
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
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
98.0%98.0%
98.0 % 246 241 86.8 % 304 264 100.0 % 31 31
functional_tests 85.4 % 246 210 68.4 % 304 208 80.6 % 31 25
test_bitcoin 98.0 % 246 241 86.5 % 304 263 100.0 % 31 31
moneystr.cpp
96.0%96.0%
96.0 % 50 48 88.1 % 42 37 100.0 % 2 2
test_bitcoin 96.0 % 50 48 88.1 % 42 37 100.0 % 2 2
functional_tests 82.0 % 50 41 69.0 % 42 29 100.0 % 2 2
time.cpp
95.7%95.7%
95.7 % 69 66 89.6 % 48 43 92.9 % 14 13
test_bitcoin 88.4 % 69 61 89.6 % 48 43 85.7 % 14 12
functional_tests 49.3 % 69 34 18.8 % 48 9 64.3 % 14 9
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 -
test_bitcoin 100.0 % 4 4 100.0 % 2 2 - 0 0
functional_tests 100.0 % 4 4 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 % 26 26 100.0 % 3 3
test_bitcoin 100.0 % 31 31 100.0 % 26 26 100.0 % 3 3
functional_tests 100.0 % 31 31 92.3 % 26 24 100.0 % 3 3

Generated by: LCOV version 2.0-1