LCOV - code coverage report
Current view: top level - src/node Coverage Total Hit
Test: total_coverage.info Lines: 86.6 % 2965 2567
Test Date: 2025-02-22 05:08:25 Functions: 78.9 % 426 336
Branches: 57.3 % 4424 2537

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
58.4%58.4%
58.4 % 565 330 38.1 % 722 275 54.0 % 174 94
functional_tests 53.5 % 565 302 34.8 % 722 251 50.6 % 174 88
test_bitcoin 45.3 % 565 256 30.9 % 722 223 42.0 % 174 73
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
interface_ui.cpp
76.7%76.7%
76.7 % 30 23 40.0 % 60 24 72.0 % 25 18
functional_tests 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
peerman_args.cpp
77.8%77.8%
77.8 % 9 7 54.2 % 24 13 100.0 % 1 1
test_bitcoin 77.8 % 9 7 45.8 % 24 11 100.0 % 1 1
functional_tests 77.8 % 9 7 54.2 % 24 13 100.0 % 1 1
caches.cpp
78.6%78.6%
78.6 % 14 11 50.0 % 20 10 100.0 % 1 1
functional_tests 78.6 % 14 11 50.0 % 20 10 100.0 % 1 1
test_bitcoin 57.1 % 14 8 30.0 % 20 6 100.0 % 1 1
mempool_args.cpp
80.0%80.0%
80.0 % 35 28 42.7 % 110 47 100.0 % 2 2
functional_tests 80.0 % 35 28 42.7 % 110 47 100.0 % 2 2
test_bitcoin 62.9 % 35 22 25.5 % 110 28 100.0 % 2 2
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
abort.cpp
87.5%87.5%
87.5 % 8 7 66.7 % 12 8 100.0 % 1 1
functional_tests 87.5 % 8 7 50.0 % 12 6 100.0 % 1 1
test_bitcoin 87.5 % 8 7 41.7 % 12 5 100.0 % 1 1
chainstatemanager_args.cpp
88.5%88.5%
88.5 % 26 23 62.5 % 56 35 100.0 % 1 1
test_bitcoin 84.6 % 26 22 50.0 % 56 28 100.0 % 1 1
functional_tests 80.8 % 26 21 57.1 % 56 32 100.0 % 1 1
chainstate.cpp
89.2%89.2%
89.2 % 120 107 57.2 % 236 135 100.0 % 5 5
test_bitcoin 68.3 % 120 82 40.3 % 236 95 100.0 % 5 5
functional_tests 89.2 % 120 107 56.8 % 236 134 100.0 % 5 5
blockstorage.cpp
89.9%89.9%
89.9 % 666 599 59.6 % 981 585 100.0 % 61 61
functional_tests 89.3 % 666 595 58.9 % 981 578 98.4 % 61 60
test_bitcoin 65.2 % 666 434 37.6 % 981 369 77.0 % 61 47
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
mempool_persist.cpp
93.3%93.3%
93.3 % 119 111 61.6 % 190 117 100.0 % 2 2
functional_tests 93.3 % 119 111 61.6 % 190 117 100.0 % 2 2
mini_miner.cpp
93.8%93.8%
93.8 % 211 198 66.4 % 268 178 100.0 % 11 11
test_bitcoin 93.8 % 211 198 65.3 % 268 175 100.0 % 11 11
functional_tests 82.5 % 211 174 57.1 % 268 153 81.8 % 11 9
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
98.6%98.6%
98.6 % 208 205 65.0 % 286 186 100.0 % 16 16
test_bitcoin 97.1 % 208 202 60.5 % 286 173 100.0 % 16 16
functional_tests 95.7 % 208 199 61.2 % 286 175 100.0 % 16 16
eviction.cpp
99.1%99.1%
99.1 % 107 106 75.0 % 176 132 100.0 % 13 13
test_bitcoin 99.1 % 107 106 75.0 % 176 132 100.0 % 13 13
functional_tests 73.8 % 107 79 30.1 % 176 53 76.9 % 13 10
txdownloadman_impl.cpp
99.2%99.2%
99.2 % 252 250 67.4 % 344 232 100.0 % 42 42
functional_tests 99.2 % 252 250 66.6 % 344 229 100.0 % 42 42
test_bitcoin 74.2 % 252 187 46.5 % 344 160 66.7 % 42 28
chainstate.h
100.0%
100.0 % 1 1 50.0 % 2 1 -
test_bitcoin 100.0 % 1 1 50.0 % 2 1 - 0 0
functional_tests 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
functional_tests 100.0 % 2 2 - 0 0 100.0 % 2 2
test_bitcoin 100.0 % 2 2 - 0 0 100.0 % 2 2
timeoffsets.h
100.0%
100.0 % 2 2 - 100.0 % 1 1
test_bitcoin 100.0 % 2 2 - 0 0 100.0 % 1 1
functional_tests 50.0 % 2 1 - 0 0 100.0 % 1 1
database_args.cpp
100.0%
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
test_bitcoin 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
functional_tests 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
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
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
test_bitcoin 91.7 % 12 11 54.2 % 24 13 100.0 % 1 1
functional_tests 100.0 % 12 12 58.3 % 24 14 100.0 % 1 1
blockstorage.h
100.0%
100.0 % 13 13 68.6 % 70 48 100.0 % 2 2
functional_tests 100.0 % 13 13 77.6 % 58 45 100.0 % 2 2
test_bitcoin 100.0 % 13 13 34.5 % 58 20 100.0 % 2 2
blockmanager_args.cpp
100.0%
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
functional_tests 100.0 % 14 14 83.3 % 18 15 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 50.0 % 178 89 -
functional_tests 100.0 % 18 18 58.8 % 68 40 - 0 0
test_bitcoin 100.0 % 20 20 49.4 % 176 87 - 0 0
timeoffsets.cpp
100.0%
100.0 % 25 25 62.5 % 24 15 100.0 % 3 3
test_bitcoin 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
miner.h
100.0%
100.0 % 26 26 58.6 % 58 34 100.0 % 2 2
test_bitcoin 96.2 % 26 25 61.1 % 54 33 100.0 % 2 2
functional_tests 100.0 % 26 26 66.7 % 42 28 100.0 % 2 2
utxo_snapshot.h
100.0%
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
functional_tests 100.0 % 36 36 71.4 % 28 20 100.0 % 4 4
txreconciliation.cpp
100.0%
100.0 % 50 50 64.8 % 54 35 100.0 % 11 11
test_bitcoin 100.0 % 50 50 63.0 % 54 34 100.0 % 11 11
functional_tests 100.0 % 50 50 61.1 % 54 33 100.0 % 11 11
transaction.cpp
100.0%
100.0 % 65 65 70.8 % 96 68 100.0 % 3 3
functional_tests 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

Generated by: LCOV version 2.0-1