LCOV - code coverage report
Current view: top level - src/util Coverage Total Hit
Test: total_coverage.info Lines: 69.5 % 2347 1632
Test Date: 2024-08-28 05:13:07 Functions: 52.6 % 937 493
Branches: 31.5 % 8232 2596

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
exception.cpp
0.0%
0.0 % 12 0.0 % 8 0.0 % 2
vecdeque.h
0.0%
0.0 % 132 0.0 % 990 0.0 % 135
bitset.h
19.7%19.7%
19.7 % 198 39 3.6 % 1434 52 1.5 % 194 3
test_bitcoin 100.0 % 39 39 74.3 % 70 52 100.0 % 3 3
bitdeque.h
25.8%25.8%
25.8 % 209 54 5.7 % 176 10 16.9 % 59 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
bytevectorhash.cpp
100.0%
100.0 % 6 6 - 100.0 % 2 2
functional_tests 100.0 % 6 6 - 0 0 100.0 % 2 2
test_bitcoin 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 - -
functional_tests 100.0 % 1 1 - 0 0 - 0 0
test_bitcoin 100.0 % 1 1 - 0 0 - 0 0
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
feefrac.h
76.3%76.3%
76.3 % 38 29 26.5 % 310 82 100.0 % 2 2
functional_tests 100.0 % 26 26 92.9 % 28 26 100.0 % 2 2
test_bitcoin 89.7 % 29 26 56.2 % 144 81 100.0 % 2 2
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
translation.h
100.0%
100.0 % 19 19 30.3 % 244 74 65.9 % 44 29
functional_tests 100.0 % 19 19 40.7 % 172 70 77.8 % 36 28
test_bitcoin 100.0 % 19 19 17.9 % 162 29 27.8 % 36 10
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
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
fs.h
100.0%
100.0 % 44 44 37.2 % 1616 601 100.0 % 7 7
functional_tests 100.0 % 41 41 42.7 % 772 330 100.0 % 6 6
test_bitcoin 90.9 % 44 40 36.6 % 1258 461 100.0 % 7 7
signalinterrupt.cpp
71.4%71.4%
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
functional_tests 71.4 % 21 15 38.5 % 26 10 80.0 % 5 4
sock.cpp
71.6%71.6%
71.6 % 169 121 39.3 % 168 66 96.0 % 25 24
test_bitcoin 52.7 % 169 89 33.3 % 168 56 56.0 % 25 14
functional_tests 46.7 % 169 79 25.0 % 168 42 76.0 % 25 19
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
transaction_identifier.h
100.0%
100.0 % 23 23 41.3 % 1142 472 100.0 % 2 2
functional_tests 100.0 % 22 22 45.5 % 538 245 100.0 % 1 1
test_bitcoin 100.0 % 23 23 38.7 % 984 381 100.0 % 2 2
hash_type.h
100.0%
100.0 % 21 21 44.5 % 254 113 -
test_bitcoin 100.0 % 21 21 36.5 % 222 81 - 0 0
functional_tests 100.0 % 18 18 46.4 % 168 78 - 0 0
result.h
100.0%
100.0 % 23 23 48.9 % 366 179 97.4 % 38 37
functional_tests 100.0 % 22 22 80.7 % 114 92 100.0 % 26 26
test_bitcoin 100.0 % 23 23 53.5 % 282 151 70.3 % 37 26
fs_helpers.cpp
77.1%77.1%
77.1 % 105 81 49.1 % 110 54 92.9 % 14 13
test_bitcoin 48.6 % 105 51 30.0 % 110 33 78.6 % 14 11
functional_tests 73.3 % 105 77 46.4 % 110 51 85.7 % 14 12
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
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 -
test_bitcoin 100.0 % 2 2 50.0 % 2 1 - 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
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
time.h
100.0%
100.0 % 11 11 52.9 % 34 18 91.3 % 23 21
test_bitcoin 90.9 % 11 10 20.6 % 34 7 90.5 % 21 19
functional_tests 100.0 % 11 11 50.0 % 34 17 94.7 % 19 18
fs.cpp
89.3%89.3%
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
test_bitcoin 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
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
hasher.h
100.0%
100.0 % 8 8 58.3 % 12 7 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
asmap.cpp
91.9%91.9%
91.9 % 124 114 59.2 % 142 84 100.0 % 8 8
test_bitcoin 41.9 % 124 52 20.4 % 142 29 75.0 % 8 6
functional_tests 91.9 % 124 114 58.5 % 142 83 100.0 % 8 8
check.h
87.5%87.5%
87.5 % 8 7 60.0 % 10 6 87.0 % 92 80
functional_tests 87.5 % 8 7 60.0 % 10 6 89.7 % 68 61
test_bitcoin 87.5 % 8 7 60.0 % 10 6 68.7 % 83 57
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
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
threadinterrupt.cpp
100.0%
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
functional_tests 100.0 % 17 17 62.5 % 8 5 100.0 % 5 5
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
string.h
95.1%95.1%
95.1 % 61 58 65.3 % 124 81 90.2 % 41 37
test_bitcoin 95.1 % 61 58 66.7 % 114 76 94.6 % 37 35
functional_tests 94.9 % 59 56 68.0 % 100 68 97.1 % 34 33
vector.h
95.8%95.8%
95.8 % 24 23 66.7 % 24 16 89.6 % 48 43
functional_tests 94.7 % 19 18 63.6 % 22 14 97.0 % 33 32
test_bitcoin 95.8 % 24 23 66.7 % 24 16 93.2 % 44 41
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
bip32.cpp
96.7%96.7%
96.7 % 30 29 78.1 % 32 25 100.0 % 3 3
functional_tests 96.7 % 30 29 65.6 % 32 21 100.0 % 3 3
test_bitcoin 90.0 % 30 27 75.0 % 32 24 66.7 % 3 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
strencodings.h
100.0%
100.0 % 50 50 81.6 % 76 62 97.0 % 33 32
functional_tests 94.0 % 50 47 63.2 % 68 43 95.7 % 23 22
test_bitcoin 100.0 % 50 50 91.2 % 68 62 100.0 % 32 32
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
98.0%98.0%
98.0 % 246 241 86.8 % 304 264 100.0 % 31 31
functional_tests 86.2 % 246 212 68.8 % 304 209 80.6 % 31 25
test_bitcoin 98.0 % 246 241 86.5 % 304 263 100.0 % 31 31
time.cpp
94.1%94.1%
94.1 % 34 32 87.5 % 8 7 90.0 % 10 9
test_bitcoin 79.4 % 34 27 87.5 % 8 7 80.0 % 10 8
functional_tests 94.1 % 34 32 87.5 % 8 7 90.0 % 10 9
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
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
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
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
overflow.h
100.0%
100.0 % 13 13 100.0 % 20 20 40.7 % 27 11
functional_tests 83.3 % 12 10 61.1 % 18 11 100.0 % 5 5
test_bitcoin 100.0 % 13 13 100.0 % 20 20 100.0 % 11 11
feefrac.cpp
100.0%
100.0 % 31 31 100.0 % 28 28 100.0 % 3 3
functional_tests 100.0 % 31 31 92.9 % 28 26 100.0 % 3 3
test_bitcoin 100.0 % 31 31 100.0 % 28 28 100.0 % 3 3

Generated by: LCOV version 2.0-1