LCOV - code coverage report
Current view: top level - src Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 63.3 % 28346 17935
Test Date: 2026-08-03 07:45:06 Functions: 72.6 % 6068 4404
Branches: 30.3 % 75759 22929

File Sort by file name Line Coverage ( show 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
addrdb.cpp
65.4%65.4%
65.4 % 127 83 28.8 % 222 64 88.2 % 17 15
addresstype.cpp
88.5%88.5%
88.5 % 78 69 59.4 % 64 38 80.0 % 20 16
addresstype.h
78.8%78.8%
78.8 % 33 26 49.0 % 98 48 50.0 % 2 1
addrman.cpp
93.7%93.7%
93.7 % 696 652 60.7 % 816 495 89.6 % 67 60
addrman.h
87.5%87.5%
87.5 % 8 7 22.2 % 18 4 100.0 % 1 1
addrman_impl.h
100.0%
100.0 % 10 10 43.2 % 44 19 62.5 % 8 5
arith_uint256.cpp
100.0%
100.0 % 128 128 93.9 % 98 92 71.4 % 21 15
arith_uint256.h
87.7%87.7%
87.7 % 106 93 44.3 % 778 345 83.3 % 36 30
banman.cpp
92.3%92.3%
92.3 % 130 120 53.2 % 158 84 100.0 % 15 15
base58.cpp
98.8%98.8%
98.8 % 82 81 75.6 % 90 68 100.0 % 6 6
bech32.cpp
97.0%97.0%
97.0 % 168 163 67.1 % 298 200 100.0 % 10 10
bech32.h
100.0%
100.0 % 3 3 - -
bip324.cpp
100.0%
100.0 % 51 51 86.4 % 22 19 100.0 % 6 6
bip324.h
100.0%
100.0 % 5 5 52.8 % 36 19 -
bitcoin-chainstate.cpp
0.0%
0.0 % 127 0.0 % 140 0.0 % 10
bitcoin-cli.cpp
0.0%
0.0 % 899 0.0 % 2634 0.0 % 41
bitcoin-tx.cpp
0.0%
0.0 % 517 0.0 % 1030 0.0 % 30
bitcoin-util.cpp
0.0%
0.0 % 152 0.0 % 288 0.0 % 6
bitcoin-wallet.cpp
0.0%
0.0 % 68 0.0 % 162 0.0 % 3
bitcoin.cpp
0.0%
0.0 % 102 0.0 % 304 0.0 % 5
bitcoind.cpp
0.0%
0.0 % 115 0.0 % 261 0.0 % 5
blockencodings.cpp
95.5%95.5%
95.5 % 110 105 58.0 % 200 116 100.0 % 6 6
blockencodings.h
79.4%79.4%
79.4 % 34 27 37.1 % 70 26 63.2 % 19 12
blockfilter.cpp
87.9%87.9%
87.9 % 132 116 60.7 % 150 91 89.5 % 19 17
blockfilter.h
92.9%92.9%
92.9 % 28 26 43.5 % 46 20 75.0 % 4 3
chain.cpp
93.2%93.2%
93.2 % 88 82 81.7 % 82 67 92.3 % 13 12
chain.h
100.0%
100.0 % 119 119 27.9 % 2424 676 100.0 % 16 16
chainparams.cpp
88.3%88.3%
88.3 % 103 91 42.5 % 174 74 100.0 % 8 8
chainparamsbase.cpp
96.9%96.9%
96.9 % 32 31 54.3 % 46 25 100.0 % 4 4
chainparamsbase.h
100.0%
100.0 % 5 5 38.9 % 18 7 -
checkqueue.h
100.0%
100.0 % 78 78 72.1 % 122 88 100.0 % 61 61
clientversion.cpp
100.0%
100.0 % 10 10 65.0 % 20 13 100.0 % 3 3
cluster_linearize.h
97.2%97.2%
97.2 % 654 636 75.6 % 1108 838 100.0 % 193 193
coins.cpp
96.6%96.6%
96.6 % 237 229 78.3 % 258 202 92.1 % 38 35
coins.h
92.8%92.8%
92.8 % 167 155 58.1 % 652 379 76.5 % 34 26
compressor.cpp
88.3%88.3%
88.3 % 111 98 60.3 % 179 108 100.0 % 8 8
compressor.h
100.0%
100.0 % 30 30 71.4 % 28 20 100.0 % 27 27
core_io.cpp
76.6%76.6%
76.6 % 278 213 43.8 % 642 281 82.4 % 17 14
core_memusage.h
100.0%
100.0 % 18 18 75.0 % 20 15 100.0 % 3 3
cuckoocache.h
96.9%96.9%
96.9 % 97 94 80.8 % 52 42 100.0 % 12 12
dbwrapper.cpp
77.4%77.4%
77.4 % 208 161 40.3 % 290 117 96.9 % 32 31
dbwrapper.h
96.9%96.9%
96.9 % 65 63 45.7 % 140 64 94.9 % 78 74
deploymentinfo.cpp
19.2%19.2%
19.2 % 26 5 16.7 % 18 3 50.0 % 2 1
deploymentinfo.h
0.0%
0.0 % 3 0.0 % 2 0.0 % 1
deploymentstatus.h
50.0%50.0%
50.0 % 12 6 40.0 % 10 4 50.0 % 4 2
external_signer.cpp
0.0%
0.0 % 66 0.0 % 252 0.0 % 7
flatfile.cpp
68.3%68.3%
68.3 % 63 43 47.2 % 72 34 100.0 % 6 6
flatfile.h
100.0%
100.0 % 7 7 50.0 % 60 30 100.0 % 3 3
hash.cpp
100.0%
100.0 % 51 51 87.5 % 8 7 100.0 % 4 4
hash.h
92.7%92.7%
92.7 % 82 76 45.9 % 296 136 82.1 % 28 23
headerssync.cpp
89.7%89.7%
89.7 % 145 130 58.3 % 168 98 100.0 % 8 8
headerssync.h
85.7%85.7%
85.7 % 21 18 44.7 % 38 17 -
httprpc.cpp
4.4%4.4%
4.4 % 203 9 1.2 % 410 5 22.2 % 9 2
httpserver.cpp
62.5%62.5%
62.5 % 598 374 36.6 % 997 365 76.5 % 51 39
httpserver.h
81.2%81.2%
81.2 % 32 26 39.1 % 202 79 71.4 % 7 5
i2p.cpp
72.9%72.9%
72.9 % 262 191 37.9 % 433 164 95.0 % 20 19
i2p.h
100.0%
100.0 % 1 1 50.0 % 2 1 -
indirectmap.h
100.0%
100.0 % 14 14 66.7 % 30 20 -
init.cpp
57.7%57.7%
57.7 % 1237 714 29.5 % 3635 1071 72.5 % 51 37
key.cpp
96.2%96.2%
96.2 % 286 275 56.6 % 258 146 96.7 % 30 29
key.h
89.5%89.5%
89.5 % 57 51 46.5 % 230 107 85.7 % 14 12
key_io.cpp
94.3%94.3%
94.3 % 193 182 60.1 % 318 191 88.9 % 18 16
logging.cpp
82.6%82.6%
82.6 % 317 262 55.2 % 404 223 94.7 % 38 36
logging.h
100.0%
100.0 % 49 49 56.5 % 62 35 100.0 % 11 11
mapport.cpp
13.9%13.9%
13.9 % 79 11 2.9 % 102 3 42.9 % 7 3
memusage.h
100.0%
100.0 % 29 29 51.8 % 218 113 100.0 % 3 3
merkleblock.cpp
89.6%89.6%
89.6 % 96 86 71.7 % 106 76 100.0 % 9 9
merkleblock.h
87.5%87.5%
87.5 % 16 14 52.0 % 50 26 50.0 % 10 5
musig.cpp
20.3%20.3%
20.3 % 177 36 8.7 % 242 21 31.2 % 16 5
net.cpp
44.5%44.5%
44.5 % 2265 1009 23.7 % 3105 735 59.2 % 169 100
net.h
72.6%72.6%
72.6 % 186 135 28.0 % 533 149 61.9 % 21 13
net_permissions.cpp
96.5%96.5%
96.5 % 85 82 67.8 % 118 80 100.0 % 4 4
net_permissions.h
100.0%
100.0 % 15 15 26.9 % 78 21 -
net_processing.cpp
27.3%27.3%
27.3 % 2802 765 11.8 % 5066 599 41.8 % 170 71
net_processing.h
66.7%66.7%
66.7 % 3 2 50.0 % 2 1 -
net_types.cpp
94.6%94.6%
94.6 % 37 35 56.1 % 66 37 100.0 % 4 4
net_types.h
100.0%
100.0 % 3 3 100.0 % 2 2 -
netaddress.cpp
91.4%91.4%
91.4 % 524 479 71.5 % 677 484 100.0 % 72 72
netaddress.h
93.9%93.9%
93.9 % 98 92 41.9 % 795 333 57.1 % 70 40
netbase.cpp
36.4%36.4%
36.4 % 431 157 24.0 % 620 149 60.6 % 33 20
netbase.h
89.1%89.1%
89.1 % 55 49 30.4 % 56 17 100.0 % 11 11
netgroup.cpp
82.3%82.3%
82.3 % 62 51 57.3 % 96 55 80.0 % 5 4
netgroup.h
84.6%84.6%
84.6 % 13 11 28.6 % 14 4 75.0 % 4 3
netmessagemaker.h
83.3%83.3%
83.3 % 6 5 50.0 % 2 1 34.6 % 26 9
noui.cpp
53.8%53.8%
53.8 % 52 28 12.0 % 50 6 66.7 % 9 6
outputtype.cpp
25.5%25.5%
25.5 % 47 12 15.7 % 51 8 66.7 % 6 4
pow.cpp
92.3%92.3%
92.3 % 78 72 82.1 % 56 46 100.0 % 6 6
prevector.h
100.0%
100.0 % 235 235 50.4 % 2508 1264 94.5 % 91 86
private_broadcast.cpp
97.8%97.8%
97.8 % 92 90 70.0 % 90 63 100.0 % 11 11
private_broadcast.h
100.0%
100.0 % 15 15 50.0 % 10 5 100.0 % 2 2
protocol.cpp
31.7%31.7%
31.7 % 63 20 16.7 % 90 15 36.4 % 11 4
protocol.h
70.5%70.5%
70.5 % 44 31 27.5 % 626 172 60.0 % 10 6
psbt.cpp
68.5%68.5%
68.5 % 495 339 44.0 % 796 350 76.5 % 34 26
psbt.h
35.9%35.9%
35.9 % 774 278 19.9 % 1186 236 40.5 % 74 30
pubkey.cpp
83.1%83.1%
83.1 % 219 182 55.2 % 154 85 90.9 % 22 20
pubkey.h
87.9%87.9%
87.9 % 99 87 36.1 % 595 215 77.3 % 22 17
random.cpp
89.9%89.9%
89.9 % 247 222 62.5 % 80 50 91.4 % 35 32
random.h
100.0%
100.0 % 90 90 58.0 % 138 80 92.5 % 40 37
randomenv.cpp
100.0%
100.0 % 150 150 77.8 % 63 49 100.0 % 24 24
rest.cpp
2.2%2.2%
2.2 % 723 16 0.7 % 1505 10 10.3 % 29 3
scheduler.cpp
97.4%97.4%
97.4 % 114 111 62.3 % 106 66 100.0 % 17 17
scheduler.h
100.0%
100.0 % 16 16 80.6 % 36 29 100.0 % 5 5
semaphore_grant.h
43.8%43.8%
43.8 % 32 14 16.7 % 24 4 66.7 % 3 2
serialize.h
94.4%94.4%
94.4 % 359 339 37.2 % 1250 465 73.5 % 1833 1347
signet.cpp
97.5%97.5%
97.5 % 80 78 56.8 % 132 75 100.0 % 4 4
signet.h
100.0%
100.0 % 1 1 50.0 % 2 1 100.0 % 1 1
span.h
100.0%
100.0 % 12 12 70.0 % 10 7 91.8 % 73 67
streams.cpp
91.4%91.4%
91.4 % 81 74 57.4 % 108 62 91.7 % 12 11
streams.h
97.3%97.3%
97.3 % 256 249 35.6 % 4082 1452 100.0 % 34 34
sync.h
98.0%98.0%
98.0 % 51 50 13.6 % 12726 1737 100.0 % 10 10
tinyformat.h
78.1%78.1%
78.1 % 265 207 14.5 % 1362 197 54.9 % 1143 628
torcontrol.cpp
28.1%28.1%
28.1 % 399 112 14.6 % 742 108 44.4 % 27 12
torcontrol.h
83.3%83.3%
83.3 % 6 5 50.0 % 2 1 -
txdb.cpp
87.5%87.5%
87.5 % 136 119 45.2 % 186 84 91.7 % 24 22
txgraph.cpp
94.2%94.2%
94.2 % 1633 1539 69.7 % 1572 1096 94.6 % 148 140
txgraph.h
100.0%
100.0 % 8 8 47.9 % 48 23 -
txmempool.cpp
83.3%83.3%
83.3 % 696 580 51.0 % 786 401 87.9 % 66 58
txmempool.h
67.5%67.5%
67.5 % 120 81 38.2 % 178 68 73.9 % 23 17
txrequest.cpp
98.4%98.4%
98.4 % 258 254 70.9 % 375 266 100.0 % 54 54
uint256.cpp
100.0%
100.0 % 6 6 100.0 % 2 2 100.0 % 4 4
uint256.h
98.2%98.2%
98.2 % 56 55 25.6 % 2763 706 85.7 % 21 18
undo.h
100.0%
100.0 % 20 20 50.0 % 6 3 100.0 % 8 8
validation.cpp
79.6%79.6%
79.6 % 2961 2358 45.1 % 5410 2438 91.0 % 166 151
validation.h
92.6%92.6%
92.6 % 108 100 28.3 % 1264 358 84.6 % 26 22
validationinterface.cpp
96.8%96.8%
96.8 % 125 121 55.6 % 232 129 100.0 % 57 57
validationinterface.h
81.8%81.8%
81.8 % 11 9 50.0 % 2 1 80.0 % 10 8
versionbits.cpp
59.0%59.0%
59.0 % 178 105 41.2 % 182 75 75.0 % 16 12
versionbits.h
33.3%33.3%
33.3 % 3 1 0.0 % 4 -
versionbits_impl.h
100.0%
100.0 % 16 16 44.1 % 34 15 100.0 % 7 7

Generated by: LCOV version 2.0-1