LCOV - code coverage report
Current view: top level - src Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 63.2 % 27690 17503
Test Date: 2026-06-01 07:30:00 Functions: 72.2 % 6023 4350
Branches: 31.1 % 71841 22367

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 47.1 % 102 48 50.0 % 2 1
addrman.cpp
93.4%93.4%
93.4 % 696 650 60.6 % 818 496 89.6 % 67 60
addrman.h
83.3%83.3%
83.3 % 6 5 0.0 % 10 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 45.0 % 766 345 83.3 % 36 30
banman.cpp
89.2%89.2%
89.2 % 130 116 48.8 % 160 78 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 50.0 % 38 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 % 2646 0.0 % 41
bitcoin-tx.cpp
0.0%
0.0 % 517 0.0 % 1030 0.0 % 30
bitcoin-util.cpp
0.0%
0.0 % 103 0.0 % 144 0.0 % 5
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
91.6%91.6%
91.6 % 107 98 55.4 % 204 113 100.0 % 6 6
blockencodings.h
79.4%79.4%
79.4 % 34 27 39.4 % 66 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
btcsignals.h
95.8%95.8%
95.8 % 48 46 20.7 % 564 117 66.0 % 50 33
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 32.8 % 2060 675 100.0 % 16 16
chainparams.cpp
85.7%85.7%
85.7 % 84 72 41.6 % 154 64 100.0 % 5 5
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 % 651 633 75.8 % 1106 838 100.0 % 193 193
coins.cpp
96.1%96.1%
96.1 % 207 199 79.2 % 226 179 91.4 % 35 32
coins.h
87.8%87.8%
87.8 % 123 108 58.0 % 612 355 59.3 % 27 16
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.1%77.1%
77.1 % 205 158 38.7 % 284 110 96.7 % 30 29
dbwrapper.h
96.9%96.9%
96.9 % 65 63 46.8 % 126 59 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 % 64 0.0 % 240 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 % 62 31 100.0 % 3 3
hash.cpp
100.0%
100.0 % 51 51 87.5 % 8 7 100.0 % 4 4
hash.h
92.5%92.5%
92.5 % 80 74 43.1 % 260 112 81.5 % 27 22
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 % 205 9 1.2 % 414 5 22.2 % 9 2
httpserver.cpp
12.3%12.3%
12.3 % 373 46 5.4 % 519 28 14.6 % 41 6
httpserver.h
0.0%
0.0 % 3 - 0.0 % 1
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 % 1216 702 29.3 % 3595 1054 72.0 % 50 36
key.cpp
96.5%96.5%
96.5 % 285 275 56.9 % 248 141 96.7 % 30 29
key.h
86.0%86.0%
86.0 % 57 49 47.3 % 226 107 84.6 % 13 11
key_io.cpp
94.3%94.3%
94.3 % 193 182 60.1 % 318 191 88.9 % 18 16
logging.cpp
82.4%82.4%
82.4 % 313 258 54.8 % 400 219 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 39.5 % 286 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
48.2%48.2%
48.2 % 2244 1081 24.9 % 3081 766 63.1 % 168 106
net.h
79.5%79.5%
79.5 % 185 147 28.7 % 523 150 71.4 % 21 15
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 % 2655 725 12.0 % 4784 573 40.4 % 161 65
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.2 % 677 482 100.0 % 72 72
netaddress.h
93.9%93.9%
93.9 % 98 92 42.5 % 775 329 57.1 % 70 40
netbase.cpp
44.3%44.3%
44.3 % 431 191 27.4 % 620 170 66.7 % 33 22
netbase.h
80.0%80.0%
80.0 % 55 44 26.8 % 56 15 90.9 % 11 10
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 19.4 % 62 12 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 48.6 % 2576 1252 94.5 % 91 86
private_broadcast.cpp
100.0%
100.0 % 88 88 69.0 % 84 58 100.0 % 11 11
private_broadcast.h
100.0%
100.0 % 13 13 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 28.9 % 596 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 20.0 % 1182 236 40.5 % 74 30
pubkey.cpp
83.2%83.2%
83.2 % 220 183 55.2 % 154 85 90.9 % 22 20
pubkey.h
87.1%87.1%
87.1 % 93 81 36.6 % 565 207 75.0 % 20 15
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.8 % 136 80 92.5 % 40 37
randomenv.cpp
100.0%
100.0 % 150 150 71.4 % 63 45 100.0 % 24 24
rest.cpp
2.2%2.2%
2.2 % 723 16 0.7 % 1517 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 15.4 % 26 4 66.7 % 3 2
serialize.h
94.2%94.2%
94.2 % 344 324 37.9 % 1194 452 73.5 % 1817 1335
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.9 % 74 68
streams.cpp
91.4%91.4%
91.4 % 81 74 56.5 % 108 61 91.7 % 12 11
streams.h
97.3%97.3%
97.3 % 256 249 33.7 % 4298 1449 100.0 % 34 34
sync.h
98.0%98.0%
98.0 % 51 50 16.9 % 9948 1685 100.0 % 10 10
tinyformat.h
78.1%78.1%
78.1 % 265 207 15.5 % 1260 195 54.9 % 1118 614
torcontrol.cpp
31.9%31.9%
31.9 % 401 128 15.8 % 760 120 51.9 % 27 14
torcontrol.h
83.3%83.3%
83.3 % 6 5 50.0 % 2 1 -
txdb.cpp
87.4%87.4%
87.4 % 111 97 45.5 % 132 60 94.7 % 19 18
txgraph.cpp
94.4%94.4%
94.4 % 1626 1535 70.0 % 1558 1091 94.6 % 148 140
txgraph.h
100.0%
100.0 % 8 8 47.9 % 48 23 -
txmempool.cpp
87.4%87.4%
87.4 % 669 585 53.9 % 750 404 92.2 % 64 59
txmempool.h
67.5%67.5%
67.5 % 120 81 38.0 % 184 70 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 24.3 % 2857 694 85.7 % 21 18
undo.h
100.0%
100.0 % 20 20 50.0 % 6 3 100.0 % 8 8
validation.cpp
79.3%79.3%
79.3 % 2945 2334 45.0 % 5374 2418 90.3 % 165 149
validation.h
86.9%86.9%
86.9 % 107 93 29.5 % 1170 345 80.8 % 26 21
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