LCOV - code coverage report
Current view: top level - src/util Coverage Total Hit
Test: total_coverage.info Lines: 82.4 % 2103 1732
Test Date: 2025-06-01 06:26:32 Functions: 93.7 % 552 517
Branches: 43.6 % 6846 2983

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
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
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
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
bip32.cpp
96.6%96.6%
96.6 % 29 28 76.7 % 30 23 100.0 % 3 3
test_bitcoin 89.7 % 29 26 73.3 % 30 22 66.7 % 3 2
functional_tests 27.6 % 29 8 26.7 % 30 8 66.7 % 3 2
bitdeque.h
83.1%83.1%
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
functional_tests 83.1 % 65 54 62.5 % 16 10 100.0 % 10 10
bitset.h
83.6%83.6%
83.6 % 61 51 21.3 % 494 105 66.7 % 3 2
test_bitcoin 100.0 % 51 51 78.4 % 134 105 100.0 % 2 2
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 - 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
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
54.5%54.5%
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
test_bitcoin 54.5 % 11 6 33.3 % 6 2 66.7 % 3 2
check.h
91.7%91.7%
91.7 % 12 11 48.0 % 50 24 93.3 % 90 84
functional_tests 87.5 % 8 7 41.7 % 24 10 91.5 % 71 65
test_bitcoin 91.7 % 12 11 65.6 % 32 21 67.4 % 89 60
epochguard.h
100.0%
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
test_bitcoin 100.0 % 17 17 62.5 % 8 5 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 -
functional_tests 100.0 % 4 4 100.0 % 2 2 - 0 0
test_bitcoin 100.0 % 4 4 100.0 % 2 2 - 0 0
feefrac.cpp
100.0%
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
test_bitcoin 100.0 % 31 31 100.0 % 26 26 100.0 % 3 3
feefrac.h
86.0%86.0%
86.0 % 50 43 46.2 % 292 135 100.0 % 4 4
functional_tests 100.0 % 25 25 90.0 % 30 27 100.0 % 2 2
test_bitcoin 93.0 % 43 40 56.0 % 234 131 100.0 % 4 4
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
fs.h
100.0%
100.0 % 44 44 36.7 % 1586 582 100.0 % 7 7
test_bitcoin 88.6 % 44 39 36.7 % 1162 427 85.7 % 7 6
functional_tests 100.0 % 41 41 40.9 % 694 284 100.0 % 6 6
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 53.2 % 188 100 -
test_bitcoin 94.4 % 18 17 40.1 % 182 73 - 0 0
functional_tests 100.0 % 17 17 47.7 % 132 63 - 0 0
hasher.cpp
100.0%
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
test_bitcoin 100.0 % 12 12 50.0 % 4 2 100.0 % 4 4
hasher.h
100.0%
100.0 % 8 8 58.3 % 12 7 100.0 % 1 1
functional_tests 100.0 % 8 8 62.5 % 8 5 100.0 % 1 1
test_bitcoin 100.0 % 8 8 50.0 % 10 5 100.0 % 1 1
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
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
overflow.h
85.0%85.0%
85.0 % 20 17 80.0 % 30 24 85.7 % 14 12
test_bitcoin 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
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 60.0 % 30 18 100.0 % 2 2
functional_tests 16.7 % 24 4 3.3 % 30 1 50.0 % 2 1
test_bitcoin 79.2 % 24 19 60.0 % 30 18 100.0 % 2 2
result.h
100.0%
100.0 % 23 23 53.4 % 382 204 100.0 % 38 38
test_bitcoin 100.0 % 23 23 50.7 % 294 149 68.4 % 38 26
functional_tests 100.0 % 22 22 76.1 % 138 105 100.0 % 27 27
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
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
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.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
sock.h
75.0%75.0%
75.0 % 8 6 40.9 % 22 9 100.0 % 1 1
functional_tests 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
strencodings.cpp
97.8%97.8%
97.8 % 227 222 86.0 % 286 246 100.0 % 19 19
functional_tests 85.9 % 227 195 68.2 % 286 195 89.5 % 19 17
test_bitcoin 97.8 % 227 222 85.7 % 286 245 100.0 % 19 19
strencodings.h
100.0%
100.0 % 52 52 66.4 % 116 77 100.0 % 33 33
test_bitcoin 100.0 % 52 52 78.6 % 98 77 97.0 % 33 32
functional_tests 94.1 % 51 48 64.3 % 70 45 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 % 93 90 74.8 % 214 160 100.0 % 56 56
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 % 56 54
subprocess.h
61.9%61.9%
61.9 % 354 219 26.7 % 390 104 83.9 % 31 26
functional_tests 61.9 % 354 219 26.7 % 390 104 83.9 % 31 26
test_bitcoin 61.9 % 354 219 26.7 % 390 104 83.9 % 31 26
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
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
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 % 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
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
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
time.cpp
95.7%95.7%
95.7 % 69 66 89.6 % 48 43 92.9 % 14 13
functional_tests 49.3 % 69 34 18.8 % 48 9 64.3 % 14 9
test_bitcoin 88.4 % 69 61 89.6 % 48 43 85.7 % 14 12
time.h
100.0%
100.0 % 11 11 38.5 % 52 20 95.8 % 24 23
functional_tests 100.0 % 11 11 45.2 % 42 19 94.7 % 19 18
test_bitcoin 90.9 % 11 10 16.7 % 42 7 87.0 % 23 20
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
transaction_identifier.h
100.0%
100.0 % 23 23 38.5 % 1602 616 100.0 % 2 2
test_bitcoin 100.0 % 23 23 43.1 % 1100 474 100.0 % 2 2
functional_tests 100.0 % 22 22 45.6 % 594 271 100.0 % 1 1
translation.h
100.0%
100.0 % 25 25 32.5 % 234 76 82.5 % 40 33
test_bitcoin 96.0 % 25 24 21.4 % 154 33 30.0 % 40 12
functional_tests 100.0 % 24 24 39.0 % 164 64 79.5 % 39 31
vecdeque.h
0.0%
0.0 % 49 0.0 % 34 0.0 % 3
vector.h
95.8%95.8%
95.8 % 24 23 65.4 % 26 17 95.2 % 42 40
functional_tests 94.7 % 19 18 63.6 % 22 14 96.8 % 31 30
test_bitcoin 95.8 % 24 23 66.7 % 24 16 95.1 % 41 39

Generated by: LCOV version 2.0-1