LCOV - code coverage report
Current view: top level - src Coverage Total Hit
Test: test_bitcoin_coverage.info Lines: 55.6 % 25822 14365
Test Date: 2025-06-01 05:54:06 Functions: 64.2 % 5706 3662
Branches: 28.1 % 66990 18855

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
22.6%22.6%
22.6 % 124 28 9.7 % 216 21 29.4 % 17 5
addresstype.cpp
87.2%87.2%
87.2 % 78 68 60.7 % 56 34 75.0 % 20 15
addresstype.h
78.8%78.8%
78.8 % 33 26 47.8 % 92 44 50.0 % 2 1
addrman.cpp
93.3%93.3%
93.3 % 697 650 60.7 % 792 481 86.6 % 67 58
addrman.h
85.7%85.7%
85.7 % 7 6 32.4 % 108 35 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 92.0 % 100 92 71.4 % 21 15
arith_uint256.h
83.6%83.6%
83.6 % 116 97 45.6 % 1454 663 84.2 % 38 32
banman.cpp
89.2%89.2%
89.2 % 130 116 46.8 % 158 74 100.0 % 15 15
base58.cpp
98.8%98.8%
98.8 % 82 81 78.0 % 82 64 100.0 % 6 6
bech32.cpp
97.0%97.0%
97.0 % 168 163 71.0 % 262 186 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-cli.cpp
0.0%
0.0 % 726 0.0 % 2259 0.0 % 34
bitcoin-tx.cpp
77.8%77.8%
77.8 % 518 403 47.3 % 940 445 93.3 % 30 28
bitcoin-util.cpp
38.8%38.8%
38.8 % 103 40 21.7 % 138 30 80.0 % 5 4
bitcoin-wallet.cpp
0.0%
0.0 % 68 0.0 % 152 0.0 % 3
bitcoin.cpp
0.0%
0.0 % 87 0.0 % 236 0.0 % 4
bitcoind.cpp
0.0%
0.0 % 111 0.0 % 241 0.0 % 5
blockencodings.cpp
90.9%90.9%
90.9 % 110 100 56.3 % 158 89 100.0 % 6 6
blockencodings.h
79.4%79.4%
79.4 % 34 27 44.2 % 52 23 61.1 % 18 11
blockfilter.cpp
87.2%87.2%
87.2 % 133 116 62.1 % 140 87 89.5 % 19 17
blockfilter.h
92.9%92.9%
92.9 % 28 26 43.5 % 46 20 75.0 % 4 3
chain.cpp
91.9%91.9%
91.9 % 86 79 79.8 % 94 75 93.3 % 15 14
chain.h
99.3%99.3%
99.3 % 134 133 33.0 % 1098 362 100.0 % 19 19
chainparams.cpp
85.7%85.7%
85.7 % 84 72 40.9 % 132 54 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 45.0 % 20 9 -
checkqueue.h
100.0%
100.0 % 78 78 73.3 % 120 88 100.0 % 61 61
clientversion.cpp
32.3%32.3%
32.3 % 31 10 25.0 % 48 12 60.0 % 5 3
cluster_linearize.h
15.5%15.5%
15.5 % 451 70 19.1 % 514 98 16.7 % 42 7
coins.cpp
90.8%90.8%
90.8 % 196 178 80.8 % 198 160 73.2 % 41 30
coins.h
92.1%92.1%
92.1 % 89 82 63.3 % 414 262 81.8 % 11 9
compressor.cpp
88.3%88.3%
88.3 % 111 98 58.4 % 173 101 100.0 % 8 8
compressor.h
100.0%
100.0 % 30 30 71.4 % 28 20 87.5 % 24 21
core_memusage.h
100.0%
100.0 % 18 18 85.0 % 20 17 100.0 % 3 3
core_read.cpp
80.8%80.8%
80.8 % 120 97 54.1 % 194 105 90.0 % 10 9
core_write.cpp
80.5%80.5%
80.5 % 159 128 44.4 % 378 168 85.7 % 7 6
cuckoocache.h
96.9%96.9%
96.9 % 97 94 75.9 % 58 44 100.0 % 12 12
dbwrapper.cpp
76.6%76.6%
76.6 % 201 154 38.3 % 264 101 96.8 % 31 30
dbwrapper.h
88.0%88.0%
88.0 % 75 66 44.0 % 100 44 91.3 % 69 63
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 30.0 % 10 3 50.0 % 4 2
external_signer.cpp
0.0%
0.0 % 60 0.0 % 156 0.0 % 7
flatfile.cpp
78.9%78.9%
78.9 % 57 45 53.6 % 56 30 100.0 % 6 6
flatfile.h
100.0%
100.0 % 7 7 31.5 % 92 29 100.0 % 2 2
hash.cpp
100.0%
100.0 % 51 51 100.0 % 6 6 100.0 % 4 4
hash.h
92.5%92.5%
92.5 % 80 74 39.3 % 242 95 73.1 % 26 19
headerssync.cpp
79.3%79.3%
79.3 % 140 111 50.7 % 146 74 87.5 % 8 7
headerssync.h
87.0%87.0%
87.0 % 23 20 37.5 % 32 12 100.0 % 1 1
httprpc.cpp
0.0%
0.0 % 213 0.0 % 410 0.0 % 11
httpserver.cpp
3.8%3.8%
3.8 % 399 15 2.5 % 515 13 2.1 % 47 1
httpserver.h
0.0%
0.0 % 5 0.0 % 30 0.0 % 1
i2p.cpp
73.7%73.7%
73.7 % 262 193 37.8 % 407 154 95.0 % 20 19
i2p.h
100.0%
100.0 % 1 1 100.0 % 2 2 -
indirectmap.h
92.9%92.9%
92.9 % 14 13 78.8 % 52 41 -
init.cpp
22.8%22.8%
22.8 % 1083 247 16.6 % 3245 540 8.7 % 46 4
key.cpp
97.2%97.2%
97.2 % 283 275 56.9 % 246 140 100.0 % 29 29
key.h
86.0%86.0%
86.0 % 57 49 46.9 % 228 107 84.6 % 13 11
key_io.cpp
94.3%94.3%
94.3 % 193 182 62.1 % 272 169 88.9 % 18 16
logging.cpp
78.4%78.4%
78.4 % 259 203 52.1 % 288 150 89.7 % 29 26
logging.h
92.1%92.1%
92.1 % 38 35 40.4 % 52 21 48.3 % 207 100
mapport.cpp
0.0%
0.0 % 79 0.0 % 112 0.0 % 7
memusage.h
96.6%96.6%
96.6 % 29 28 56.4 % 188 106 100.0 % 3 3
merkleblock.cpp
89.7%89.7%
89.7 % 97 87 77.3 % 88 68 100.0 % 9 9
merkleblock.h
87.5%87.5%
87.5 % 16 14 52.0 % 50 26 62.5 % 8 5
net.cpp
40.3%40.3%
40.3 % 2076 836 19.9 % 2779 553 54.1 % 159 86
net.h
70.3%70.3%
70.3 % 175 123 17.9 % 737 132 61.9 % 21 13
net_permissions.cpp
96.5%96.5%
96.5 % 85 82 68.4 % 114 78 100.0 % 4 4
net_permissions.h
100.0%
100.0 % 15 15 20.2 % 104 21 -
net_processing.cpp
27.6%27.6%
27.6 % 2503 692 12.0 % 4561 548 43.0 % 149 64
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 % 525 480 71.1 % 679 483 100.0 % 72 72
netaddress.h
94.0%94.0%
94.0 % 100 94 47.8 % 592 283 54.5 % 66 36
netbase.cpp
37.3%37.3%
37.3 % 418 156 25.0 % 572 143 61.3 % 31 19
netbase.h
78.3%78.3%
78.3 % 46 36 14.3 % 56 8 80.0 % 10 8
netgroup.cpp
69.7%69.7%
69.7 % 66 46 55.9 % 93 52 60.0 % 5 3
netgroup.h
100.0%
100.0 % 3 3 - -
netmessagemaker.h
83.3%83.3%
83.3 % 6 5 50.0 % 2 1 36.0 % 25 9
noui.cpp
52.8%52.8%
52.8 % 53 28 19.4 % 62 12 66.7 % 9 6
outputtype.cpp
22.2%22.2%
22.2 % 45 10 17.1 % 41 7 50.0 % 4 2
pow.cpp
93.6%93.6%
93.6 % 78 73 82.1 % 56 46 100.0 % 6 6
prevector.h
100.0%
100.0 % 245 245 41.9 % 3622 1517 97.7 % 88 86
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 35.7 % 336 120 60.0 % 10 6
psbt.cpp
43.4%43.4%
43.4 % 334 145 26.9 % 502 135 42.9 % 28 12
psbt.h
22.0%22.0%
22.0 % 676 149 9.9 % 984 97 41.9 % 43 18
pubkey.cpp
83.9%83.9%
83.9 % 211 177 55.1 % 138 76 90.5 % 21 19
pubkey.h
85.4%85.4%
85.4 % 96 82 32.8 % 601 197 78.9 % 19 15
random.cpp
89.9%89.9%
89.9 % 247 222 60.0 % 80 48 91.4 % 35 32
random.h
97.6%97.6%
97.6 % 85 83 53.0 % 479 254 81.8 % 33 27
randomenv.cpp
98.0%98.0%
98.0 % 150 147 71.4 % 63 45 100.0 % 24 24
rest.cpp
1.6%1.6%
1.6 % 640 10 0.6 % 1198 7 4.2 % 24 1
scheduler.cpp
91.2%91.2%
91.2 % 113 103 55.7 % 106 59 76.5 % 17 13
scheduler.h
100.0%
100.0 % 16 16 80.6 % 36 29 100.0 % 5 5
semaphore_grant.h
9.4%9.4%
9.4 % 32 3 8.3 % 24 2 33.3 % 3 1
serialize.h
93.0%93.0%
93.0 % 343 319 35.7 % 1014 362 67.7 % 1665 1127
signet.cpp
97.5%97.5%
97.5 % 80 78 57.6 % 118 68 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 75.0 % 8 6 90.3 % 72 65
streams.cpp
91.5%91.5%
91.5 % 71 65 57.5 % 106 61 90.9 % 11 10
streams.h
98.4%98.4%
98.4 % 245 241 33.0 % 3110 1025 100.0 % 30 30
sync.h
94.5%94.5%
94.5 % 55 52 13.9 % 10232 1421 100.0 % 10 10
threadsafety.h
100.0%
100.0 % 2 2 40.0 % 20 8 -
tinyformat.h
78.1%78.1%
78.1 % 265 207 14.5 % 1286 186 49.9 % 1162 580
torcontrol.cpp
17.4%17.4%
17.4 % 379 66 12.5 % 650 81 7.1 % 28 2
torcontrol.h
0.0%
0.0 % 6 0.0 % 2 -
txdb.cpp
86.8%86.8%
86.8 % 106 92 41.9 % 124 52 94.4 % 18 17
txdb.h
100.0%
100.0 % 1 1 50.0 % 10 5 -
txgraph.cpp
0.0%
0.0 % 1142 0.0 % 1046 0.0 % 93
txgraph.h
0.0%
0.0 % 7 0.0 % 46 -
txmempool.cpp
81.7%81.7%
81.7 % 816 667 49.3 % 1046 516 82.7 % 75 62
txmempool.h
80.4%80.4%
80.4 % 112 90 44.6 % 240 107 82.4 % 17 14
txorphanage.cpp
82.3%82.3%
82.3 % 192 158 64.3 % 182 117 87.5 % 16 14
txorphanage.h
100.0%
100.0 % 12 12 63.8 % 58 37 100.0 % 1 1
txrequest.cpp
98.5%98.5%
98.5 % 261 257 74.2 % 298 221 100.0 % 54 54
uint256.cpp
100.0%
100.0 % 6 6 100.0 % 2 2 100.0 % 4 4
uint256.h
100.0%
100.0 % 56 56 25.9 % 3013 781 71.4 % 21 15
undo.h
52.6%52.6%
52.6 % 19 10 33.3 % 6 2 75.0 % 8 6
validation.cpp
75.8%75.8%
75.8 % 2993 2269 42.6 % 5380 2293 90.1 % 161 145
validation.h
88.0%88.0%
88.0 % 92 81 26.8 % 1132 303 69.6 % 23 16
validationinterface.cpp
96.6%96.6%
96.6 % 118 114 52.6 % 234 123 100.0 % 58 58
validationinterface.h
63.6%63.6%
63.6 % 11 7 50.0 % 2 1 60.0 % 10 6
versionbits.cpp
59.3%59.3%
59.3 % 177 105 41.6 % 178 74 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