LCOV - code coverage report
Current view: top level - src/node Coverage Total Hit
Test: total_coverage.info Lines: 86.5 % 3350 2899
Test Date: 2025-08-01 05:08:13 Functions: 81.1 % 471 382
Branches: 57.8 % 4832 2792

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
interfaces.cpp
57.5%57.5%
57.5 % 557 320 37.0 % 698 258 54.7 % 172 94
functional_tests 51.7 % 557 288 32.7 % 698 228 49.4 % 172 85
test_bitcoin 44.7 % 557 249 29.4 % 698 205 43.0 % 172 74
caches.cpp
73.3%73.3%
73.3 % 15 11 50.0 % 20 10 100.0 % 1 1
functional_tests 73.3 % 15 11 50.0 % 20 10 100.0 % 1 1
test_bitcoin 53.3 % 15 8 30.0 % 20 6 100.0 % 1 1
utxo_snapshot.cpp
75.6%75.6%
75.6 % 45 34 39.5 % 76 30 100.0 % 3 3
test_bitcoin 75.6 % 45 34 39.5 % 76 30 100.0 % 3 3
functional_tests 75.6 % 45 34 39.5 % 76 30 100.0 % 3 3
mempool_args.cpp
75.6%75.6%
75.6 % 41 31 48.9 % 88 43 100.0 % 2 2
functional_tests 75.6 % 41 31 48.9 % 88 43 100.0 % 2 2
test_bitcoin 53.7 % 41 22 31.8 % 88 28 100.0 % 2 2
interface_ui.cpp
76.7%76.7%
76.7 % 30 23 40.0 % 60 24 72.0 % 25 18
test_bitcoin 40.0 % 30 12 8.3 % 60 5 40.0 % 25 10
functional_tests 76.7 % 30 23 40.0 % 60 24 72.0 % 25 18
txdownloadman.h
81.0%81.0%
81.0 % 21 17 46.4 % 28 13 75.0 % 4 3
functional_tests 81.0 % 21 17 46.4 % 28 13 75.0 % 4 3
connection_types.cpp
83.3%83.3%
83.3 % 24 20 72.7 % 11 8 100.0 % 2 2
functional_tests 83.3 % 24 20 72.7 % 11 8 100.0 % 2 2
test_bitcoin 33.3 % 24 8 18.2 % 11 2 100.0 % 2 2
peerman_args.cpp
85.7%85.7%
85.7 % 7 6 61.1 % 18 11 100.0 % 1 1
test_bitcoin 85.7 % 7 6 50.0 % 18 9 100.0 % 1 1
functional_tests 85.7 % 7 6 61.1 % 18 11 100.0 % 1 1
txorphanage.cpp
86.8%86.8%
86.8 % 302 262 63.9 % 330 211 97.6 % 41 40
functional_tests 81.8 % 302 247 58.2 % 330 192 85.4 % 41 35
test_bitcoin 81.8 % 302 247 60.9 % 330 201 95.1 % 41 39
abort.cpp
87.5%87.5%
87.5 % 8 7 66.7 % 12 8 100.0 % 1 1
test_bitcoin 87.5 % 8 7 41.7 % 12 5 100.0 % 1 1
functional_tests 87.5 % 8 7 50.0 % 12 6 100.0 % 1 1
chainstatemanager_args.cpp
88.0%88.0%
88.0 % 25 22 61.5 % 52 32 100.0 % 1 1
functional_tests 80.0 % 25 20 55.8 % 52 29 100.0 % 1 1
test_bitcoin 84.0 % 25 21 50.0 % 52 26 100.0 % 1 1
chainstate.cpp
89.2%89.2%
89.2 % 120 107 57.2 % 236 135 100.0 % 5 5
functional_tests 89.2 % 120 107 56.8 % 236 134 100.0 % 5 5
test_bitcoin 68.3 % 120 82 40.3 % 236 95 100.0 % 5 5
blockstorage.cpp
89.9%89.9%
89.9 % 674 606 58.7 % 1019 598 100.0 % 60 60
functional_tests 88.7 % 674 598 57.2 % 1019 583 98.3 % 60 59
test_bitcoin 66.9 % 674 451 37.9 % 1019 386 78.3 % 60 47
mempool_persist.cpp
90.3%90.3%
90.3 % 124 112 58.8 % 194 114 100.0 % 2 2
functional_tests 90.3 % 124 112 58.8 % 194 114 100.0 % 2 2
warnings.cpp
90.9%90.9%
90.9 % 33 30 52.3 % 44 23 100.0 % 7 7
functional_tests 90.9 % 33 30 52.3 % 44 23 100.0 % 7 7
test_bitcoin 90.9 % 33 30 52.3 % 44 23 100.0 % 7 7
kernel_notifications.cpp
91.8%91.8%
91.8 % 49 45 65.9 % 44 29 90.0 % 10 9
test_bitcoin 69.4 % 49 34 27.3 % 44 12 80.0 % 10 8
functional_tests 91.8 % 49 45 63.6 % 44 28 90.0 % 10 9
mini_miner.cpp
93.8%93.8%
93.8 % 211 198 66.4 % 268 178 100.0 % 11 11
functional_tests 82.5 % 211 174 57.1 % 268 153 81.8 % 11 9
test_bitcoin 93.8 % 211 198 65.7 % 268 176 100.0 % 11 11
minisketchwrapper.cpp
93.9%93.9%
93.9 % 33 31 78.1 % 32 25 75.0 % 4 3
test_bitcoin 93.9 % 33 31 78.1 % 32 25 75.0 % 4 3
psbt.cpp
94.0%94.0%
94.0 % 83 78 62.3 % 114 71 100.0 % 1 1
functional_tests 94.0 % 83 78 62.3 % 114 71 100.0 % 1 1
miner.cpp
97.8%97.8%
97.8 % 279 273 65.1 % 364 237 100.0 % 23 23
test_bitcoin 96.8 % 279 270 59.9 % 364 218 100.0 % 23 23
functional_tests 78.9 % 279 220 52.5 % 364 191 87.0 % 23 20
eviction.cpp
99.1%99.1%
99.1 % 107 106 75.0 % 176 132 100.0 % 13 13
functional_tests 96.3 % 107 103 45.5 % 176 80 100.0 % 13 13
test_bitcoin 99.1 % 107 106 75.0 % 176 132 100.0 % 13 13
txdownloadman_impl.cpp
99.2%99.2%
99.2 % 250 248 66.8 % 358 239 100.0 % 42 42
test_bitcoin 73.6 % 250 184 43.9 % 358 157 66.7 % 42 28
functional_tests 99.2 % 250 248 65.9 % 358 236 100.0 % 42 42
chainstate.h
100.0%
100.0 % 1 1 50.0 % 2 1 -
functional_tests 100.0 % 1 1 50.0 % 2 1 - 0 0
test_bitcoin 100.0 % 1 1 50.0 % 2 1 - 0 0
mempool_persist.h
100.0%
100.0 % 1 1 - -
functional_tests 100.0 % 1 1 - 0 0 - 0 0
types.h
100.0%
100.0 % 1 1 50.0 % 6 3 -
functional_tests 100.0 % 1 1 50.0 % 6 3 - 0 0
test_bitcoin 100.0 % 1 1 16.7 % 6 1 - 0 0
warnings.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
context.cpp
100.0%
100.0 % 2 2 - 100.0 % 2 2
test_bitcoin 100.0 % 2 2 - 0 0 100.0 % 2 2
functional_tests 100.0 % 2 2 - 0 0 100.0 % 2 2
timeoffsets.h
100.0%
100.0 % 2 2 - 100.0 % 1 1
functional_tests 50.0 % 2 1 - 0 0 100.0 % 1 1
test_bitcoin 100.0 % 2 2 - 0 0 100.0 % 1 1
database_args.cpp
100.0%
100.0 % 3 3 50.0 % 4 2 100.0 % 1 1
test_bitcoin 100.0 % 3 3 50.0 % 4 2 100.0 % 1 1
functional_tests 100.0 % 3 3 50.0 % 4 2 100.0 % 1 1
kernel_notifications.h
100.0%
100.0 % 3 3 - 100.0 % 1 1
test_bitcoin 100.0 % 3 3 - 0 0 100.0 % 1 1
functional_tests 100.0 % 2 2 - 0 0 100.0 % 1 1
coins_view_args.cpp
100.0%
100.0 % 4 4 50.0 % 8 4 100.0 % 1 1
test_bitcoin 100.0 % 4 4 50.0 % 8 4 100.0 % 1 1
functional_tests 100.0 % 4 4 50.0 % 8 4 100.0 % 1 1
mempool_persist_args.cpp
100.0%
100.0 % 4 4 50.0 % 4 2 100.0 % 2 2
functional_tests 100.0 % 4 4 50.0 % 4 2 100.0 % 2 2
txorphanage.h
100.0%
100.0 % 5 5 50.0 % 4 2 -
test_bitcoin 40.0 % 5 2 50.0 % 4 2 - 0 0
functional_tests 100.0 % 5 5 25.0 % 4 1 - 0 0
psbt.h
100.0%
100.0 % 10 10 50.0 % 8 4 100.0 % 1 1
functional_tests 100.0 % 10 10 50.0 % 8 4 100.0 % 1 1
coin.cpp
100.0%
100.0 % 12 12 58.3 % 24 14 100.0 % 1 1
functional_tests 100.0 % 12 12 58.3 % 24 14 100.0 % 1 1
test_bitcoin 91.7 % 12 11 54.2 % 24 13 100.0 % 1 1
blockstorage.h
100.0%
100.0 % 13 13 76.6 % 64 49 100.0 % 2 2
functional_tests 100.0 % 13 13 79.3 % 58 46 100.0 % 2 2
test_bitcoin 100.0 % 13 13 36.2 % 58 21 100.0 % 2 2
blockmanager_args.cpp
100.0%
100.0 % 14 14 83.3 % 18 15 100.0 % 1 1
functional_tests 100.0 % 14 14 83.3 % 18 15 100.0 % 1 1
test_bitcoin 78.6 % 14 11 44.4 % 18 8 100.0 % 1 1
txdownloadman_impl.h
100.0%
100.0 % 14 14 87.5 % 8 7 100.0 % 4 4
functional_tests 100.0 % 14 14 87.5 % 8 7 100.0 % 4 4
test_bitcoin 100.0 % 14 14 87.5 % 8 7 100.0 % 4 4
mini_miner.h
100.0%
100.0 % 20 20 49.5 % 182 90 -
test_bitcoin 100.0 % 20 20 49.4 % 176 87 - 0 0
functional_tests 100.0 % 18 18 58.8 % 68 40 - 0 0
timeoffsets.cpp
100.0%
100.0 % 25 25 62.5 % 24 15 100.0 % 3 3
functional_tests 96.0 % 25 24 58.3 % 24 14 100.0 % 3 3
test_bitcoin 100.0 % 25 25 62.5 % 24 15 100.0 % 3 3
miner.h
100.0%
100.0 % 26 26 57.1 % 56 32 100.0 % 2 2
functional_tests 100.0 % 26 26 65.0 % 40 26 100.0 % 2 2
test_bitcoin 96.2 % 26 25 59.6 % 52 31 100.0 % 2 2
utxo_snapshot.h
100.0%
100.0 % 36 36 71.4 % 28 20 100.0 % 4 4
functional_tests 100.0 % 36 36 71.4 % 28 20 100.0 % 4 4
test_bitcoin 72.2 % 36 26 14.3 % 28 4 100.0 % 4 4
txreconciliation.cpp
100.0%
100.0 % 50 50 64.8 % 54 35 100.0 % 11 11
functional_tests 100.0 % 50 50 61.1 % 54 33 100.0 % 11 11
test_bitcoin 100.0 % 50 50 63.0 % 54 34 100.0 % 11 11
transaction.cpp
100.0%
100.0 % 65 65 70.8 % 96 68 100.0 % 3 3
test_bitcoin 44.6 % 65 29 27.1 % 96 26 33.3 % 3 1
functional_tests 100.0 % 65 65 70.8 % 96 68 100.0 % 3 3

Generated by: LCOV version 2.0-1