Coverage Report (/workdir/bitcoin/src/)

Created: 2024-08-21 05:08

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
common/
   9.15% (13/142)
   6.18% (82/1327)
   3.69% (37/1002)
   1.83% (11/602)
compat/
  73.33% (11/15)
  75.00% (36/48)
  73.33% (22/30)
- (0/0)
consensus/
  38.71% (12/31)
  30.60% (82/268)
  27.54% (57/207)
  26.71% (39/146)
crc32c/
   0.00% (0/15)
   0.00% (0/197)
   0.00% (0/392)
   0.00% (0/34)
crypto/
  17.07% (35/205)
  14.87% (516/3469)
  12.96% (113/872)
   7.51% (26/346)
index/
   0.00% (0/86)
   0.00% (0/1013)
   0.00% (0/695)
   0.00% (0/300)
init/common.cpp
   0.00% (0/7)
   0.00% (0/95)
   0.00% (0/80)
   0.00% (0/40)
interfaces/
   2.50% (1/40)
   2.04% (1/49)
   2.22% (1/45)
- (0/0)
kernel/
   4.35% (5/115)
   0.58% (5/865)
   1.78% (5/281)
   0.00% (0/106)
leveldb/
   4.76% (37/777)
   1.68% (115/6841)
   1.93% (72/3732)
   1.04% (22/2112)
logging/timer.h
   0.00% (0/4)
   0.00% (0/32)
   0.00% (0/35)
   0.00% (0/8)
minisketch/
   0.00% (0/129)
   0.00% (0/764)
   0.00% (0/510)
   0.00% (0/306)
node/
   4.00% (15/375)
   2.62% (86/3280)
   2.77% (68/2458)
   2.82% (36/1278)
policy/
   3.92% (4/102)
   1.09% (14/1290)
   0.92% (9/978)
   0.34% (2/586)
primitives/
  46.91% (38/81)
  42.17% (132/313)
  42.35% (83/196)
  14.63% (12/82)
rpc/
   0.00% (0/456)
   0.00% (0/13369)
   0.00% (0/4124)
   0.00% (0/2864)
script/
   1.33% (8/602)
   0.62% (45/7218)
   0.59% (36/6084)
   0.30% (15/4948)
secp256k1/
   3.38% (11/325)
   0.98% (51/5213)
   1.21% (40/3313)
   0.92% (10/1090)
support/
  26.79% (15/56)
  22.09% (74/335)
  19.39% (32/165)
  14.63% (12/82)
test/
   2.42% (25/1035)
   2.03% (304/14953)
   1.65% (126/7653)
   1.17% (49/4206)
univalue/
   2.90% (2/69)
   0.26% (2/769)
   0.34% (2/583)
   0.00% (0/482)
util/
  10.46% (52/497)
   5.55% (155/2794)
   4.79% (92/1921)
   2.24% (23/1028)
wallet/
   0.00% (0/1323)
   0.00% (0/21786)
   0.00% (0/11317)
   0.00% (0/6892)
addrdb.cpp
   0.00% (0/12)
   0.00% (0/151)
   0.00% (0/105)
   0.00% (0/30)
addresstype.cpp
   0.00% (0/29)
   0.00% (0/111)
   0.00% (0/50)
   0.00% (0/26)
addresstype.h
   0.00% (0/26)
   0.00% (0/35)
   0.00% (0/51)
   0.00% (0/6)
addrman.cpp
  22.03% (13/59)
   6.16% (56/909)
   5.16% (40/775)
   1.16% (5/432)
addrman.h
   0.00% (0/3)
   0.00% (0/6)
   0.00% (0/8)
- (0/0)
addrman_impl.h
   0.00% (0/4)
   0.00% (0/12)
   0.00% (0/9)
- (0/0)
arith_uint256.cpp
  66.67% (10/15)
  75.58% (130/172)
  80.60% (108/134)
  73.40% (69/94)
arith_uint256.h
  62.16% (23/37)
  56.62% (77/136)
  66.27% (55/83)
  62.50% (20/32)
banman.cpp
  20.00% (3/15)
  13.01% (19/146)
  11.81% (17/144)
   6.25% (3/48)
base58.cpp
   0.00% (0/6)
   0.00% (0/102)
   0.00% (0/80)
   0.00% (0/64)
bech32.cpp
   0.00% (0/13)
   0.00% (0/290)
   0.00% (0/198)
   0.00% (0/142)
bech32.h
   0.00% (0/2)
   0.00% (0/2)
   0.00% (0/6)
- (0/0)
bip324.cpp
   0.00% (0/6)
   0.00% (0/54)
   0.00% (0/36)
   0.00% (0/16)
bip324.h
   0.00% (0/5)
   0.00% (0/5)
   0.00% (0/5)
- (0/0)
blockencodings.cpp
  33.33% (2/6)
  11.27% (16/142)
   5.04% (7/139)
   1.22% (1/82)
blockencodings.h
  36.36% (4/11)
  31.25% (10/32)
  27.03% (10/37)
   7.14% (1/14)
blockfilter.cpp
   0.00% (0/20)
   0.00% (0/175)
   0.00% (0/95)
   0.00% (0/56)
blockfilter.h
   0.00% (0/11)
   0.00% (0/30)
   0.00% (0/18)
   0.00% (0/2)
chain.cpp
  23.53% (4/17)
  24.00% (30/125)
  21.00% (21/100)
  16.18% (11/68)
chain.h
  50.00% (14/28)
  39.24% (62/158)
  33.33% (39/117)
  21.74% (10/46)
chainparams.cpp
  20.00% (1/5)
   4.08% (4/98)
   2.56% (2/78)
   0.00% (0/56)
chainparamsbase.cpp
   0.00% (0/4)
   0.00% (0/35)
   0.00% (0/12)
   0.00% (0/12)
chainparamsbase.h
   0.00% (0/4)
   0.00% (0/4)
   0.00% (0/7)
- (0/0)
checkqueue.h
   9.09% (1/11)
  17.59% (19/108)
   9.72% (7/72)
  20.00% (8/40)
clientversion.cpp
   0.00% (0/5)
   0.00% (0/34)
   0.00% (0/25)
   0.00% (0/4)
cluster_linearize.h
   0.00% (0/50)
   0.00% (0/454)
   0.00% (0/274)
   0.00% (0/156)
coins.cpp
   0.00% (0/42)
   0.00% (0/283)
   0.00% (0/183)
   0.00% (0/106)
coins.h
   9.09% (3/33)
  10.42% (10/96)
   7.58% (5/66)
   7.14% (1/14)
compressor.cpp
   0.00% (0/8)
   0.00% (0/146)
   0.00% (0/110)
   0.00% (0/92)
compressor.h
   0.00% (0/5)
   0.00% (0/37)
   0.00% (0/19)
   0.00% (0/6)
core_memusage.h
   0.00% (0/9)
   0.00% (0/49)
   0.00% (0/22)
   0.00% (0/10)
core_read.cpp
   0.00% (0/10)
   0.00% (0/150)
   0.00% (0/127)
   0.00% (0/90)
core_write.cpp
   0.00% (0/7)
   0.00% (0/188)
   0.00% (0/113)
   0.00% (0/82)
cuckoocache.h
   0.00% (0/15)
   0.00% (0/117)
   0.00% (0/57)
   0.00% (0/32)
dbwrapper.cpp
   3.23% (1/31)
   5.04% (12/238)
   0.57% (1/176)
   0.00% (0/60)
dbwrapper.h
   7.14% (1/14)
   1.11% (1/90)
   6.45% (2/31)
   0.00% (0/4)
deploymentinfo.cpp
   0.00% (0/2)
   0.00% (0/30)
   0.00% (0/24)
   0.00% (0/22)
deploymentinfo.h
   0.00% (0/1)
   0.00% (0/4)
   0.00% (0/2)
- (0/0)
deploymentstatus.h
  16.67% (1/6)
  16.67% (4/24)
  30.77% (4/13)
  50.00% (1/2)
external_signer.cpp
   0.00% (0/7)
   0.00% (0/88)
   0.00% (0/61)
   0.00% (0/36)
flatfile.cpp
   0.00% (0/6)
   0.00% (0/76)
   0.00% (0/70)
   0.00% (0/32)
flatfile.h
   0.00% (0/6)
   0.00% (0/12)
   0.00% (0/11)
   0.00% (0/4)
hash.cpp
   0.00% (0/4)
   0.00% (0/56)
   0.00% (0/11)
   0.00% (0/10)
hash.h
  31.82% (7/22)
  33.33% (32/96)
  27.59% (8/29)
   0.00% (0/2)
headerssync.cpp
  75.00% (6/8)
  49.71% (86/173)
  35.87% (80/223)
  28.30% (30/106)
headerssync.h
  62.50% (5/8)
  20.00% (5/25)
  62.50% (5/8)
- (0/0)
httprpc.cpp
   0.00% (0/13)
   0.00% (0/252)
   0.00% (0/190)
   0.00% (0/96)
httpserver.cpp
   0.00% (0/51)
   0.00% (0/509)
   0.00% (0/462)
   0.00% (0/218)
httpserver.h
   0.00% (0/2)
   0.00% (0/4)
   0.00% (0/2)
- (0/0)
i2p.cpp
   0.00% (0/20)
   0.00% (0/307)
   0.00% (0/244)
   0.00% (0/108)
indirectmap.h
   0.00% (0/13)
   0.00% (0/13)
   0.00% (0/13)
- (0/0)
init.cpp
   0.00% (0/44)
   0.00% (0/1400)
   0.00% (0/1001)
   0.00% (0/614)
key.cpp
   6.90% (2/29)
   2.73% (10/366)
   1.96% (4/204)
   0.98% (1/102)
key.h
   0.00% (0/23)
   0.00% (0/75)
   0.00% (0/60)
   0.00% (0/32)
key_io.cpp
   0.00% (0/26)
   0.00% (0/231)
   0.00% (0/151)
   0.00% (0/98)
logging.cpp
  12.90% (4/31)
   6.63% (22/332)
   4.17% (9/216)
   1.97% (3/152)
logging.h
  25.00% (3/12)
  23.81% (10/42)
  43.48% (10/23)
  50.00% (5/10)
mapport.cpp
   0.00% (0/3)
   0.00% (0/6)
   0.00% (0/3)
- (0/0)
memusage.h
   9.52% (2/21)
  16.95% (10/59)
  21.21% (7/33)
  50.00% (2/4)
merkleblock.cpp
   0.00% (0/9)
   0.00% (0/123)
   0.00% (0/96)
   0.00% (0/62)
merkleblock.h
   0.00% (0/7)
   0.00% (0/16)
   0.00% (0/15)
- (0/0)
net.cpp
  17.18% (28/163)
  11.72% (309/2636)
   9.01% (232/2574)
   5.15% (71/1378)
net.h
  55.81% (24/43)
  48.11% (102/212)
  53.57% (60/112)
  56.67% (34/60)
net_permissions.cpp
   0.00% (0/4)
   0.00% (0/97)
   0.00% (0/95)
   0.00% (0/64)
net_permissions.h
  25.00% (1/4)
  25.00% (4/16)
  20.00% (1/5)
- (0/0)
net_processing.cpp
  37.60% (47/125)
  24.69% (868/3516)
  21.29% (811/3810)
  15.87% (347/2186)
net_processing.h
 100.00% (1/1)
 100.00% (1/1)
 100.00% (1/1)
- (0/0)
net_types.cpp
   0.00% (0/4)
   0.00% (0/39)
   0.00% (0/21)
   0.00% (0/8)
net_types.h
   0.00% (0/2)
   0.00% (0/2)
   0.00% (0/3)
- (0/0)
netaddress.cpp
  15.07% (11/73)
  11.21% (84/749)
  10.45% (63/603)
   5.89% (35/594)
netaddress.h
  47.83% (11/23)
  31.50% (40/127)
  22.78% (18/79)
  22.00% (11/50)
netbase.cpp
   0.00% (0/29)
   0.00% (0/609)
   0.00% (0/595)
   0.00% (0/444)
netbase.h
   0.00% (0/13)
   0.00% (0/48)
   0.00% (0/48)
   0.00% (0/4)
netgroup.cpp
  20.00% (1/5)
   5.49% (5/91)
   5.26% (4/76)
   2.17% (1/46)
netgroup.h
   0.00% (0/1)
   0.00% (0/2)
   0.00% (0/2)
- (0/0)
netmessagemaker.h
 100.00% (1/1)
 100.00% (6/6)
 100.00% (1/1)
- (0/0)
noui.cpp
   0.00% (0/9)
   0.00% (0/60)
   0.00% (0/38)
   0.00% (0/16)
outputtype.cpp
   0.00% (0/6)
   0.00% (0/88)
   0.00% (0/63)
   0.00% (0/64)
pow.cpp
  60.00% (3/5)
  20.83% (20/96)
  23.08% (15/65)
  12.50% (6/48)
prevector.h
  53.42% (39/73)
  35.26% (110/312)
  41.46% (68/164)
  26.56% (17/64)
protocol.cpp
  27.27% (3/11)
  24.69% (20/81)
  33.80% (24/71)
  20.69% (12/58)
protocol.h
  16.67% (3/18)
   5.17% (3/58)
   7.04% (5/71)
   0.00% (0/38)
psbt.cpp
   0.00% (0/28)
   0.00% (0/441)
   0.00% (0/324)
   0.00% (0/284)
psbt.h
   0.00% (0/19)
   0.00% (0/801)
   0.00% (0/420)
   0.00% (0/364)
pubkey.cpp
   0.00% (0/23)
   0.00% (0/304)
   0.00% (0/198)
   0.00% (0/114)
pubkey.h
   0.00% (0/49)
   0.00% (0/126)
   0.00% (0/110)
   0.00% (0/62)
random.cpp
  36.84% (14/38)
  29.08% (82/282)
  26.57% (38/143)
  16.07% (9/56)
random.h
  38.46% (10/26)
  50.00% (68/136)
  44.83% (26/58)
  40.00% (8/20)
randomenv.cpp
   0.00% (0/7)
   0.00% (0/178)
   0.00% (0/44)
   0.00% (0/38)
rest.cpp
   0.00% (0/27)
   0.00% (0/771)
   0.00% (0/418)
   0.00% (0/310)
scheduler.cpp
  52.63% (10/19)
  69.34% (95/137)
  72.64% (77/106)
  59.38% (19/32)
scheduler.h
  40.00% (2/5)
  40.00% (6/15)
  61.54% (8/13)
  50.00% (4/8)
serialize.h
  60.17% (71/118)
  50.32% (233/463)
  48.75% (117/240)
  26.92% (21/78)
signet.cpp
   0.00% (0/4)
   0.00% (0/93)
   0.00% (0/59)
   0.00% (0/34)
signet.h
   0.00% (0/1)
   0.00% (0/1)
   0.00% (0/3)
- (0/0)
span.h
  56.10% (23/41)
  54.43% (43/79)
  55.36% (31/56)
   0.00% (0/4)
streams.cpp
   0.00% (0/6)
   0.00% (0/68)
   0.00% (0/61)
   0.00% (0/40)
streams.h
  26.15% (17/65)
  20.07% (58/289)
  21.16% (40/189)
  12.79% (11/86)
sync.h
  50.00% (21/42)
  33.80% (48/142)
  42.05% (37/88)
  16.67% (4/24)
threadsafety.h
  66.67% (2/3)
  66.67% (2/3)
  75.00% (3/4)
- (0/0)
tinyformat.h
  55.56% (15/27)
  39.38% (139/353)
  43.59% (102/234)
  34.71% (59/170)
torcontrol.cpp
   0.00% (0/30)
   0.00% (0/483)
   0.00% (0/548)
   0.00% (0/270)
torcontrol.h
   0.00% (0/3)
   0.00% (0/7)
   0.00% (0/4)
- (0/0)
txdb.cpp
   0.00% (0/18)
   0.00% (0/126)
   0.00% (0/101)
   0.00% (0/40)
txdb.h
   0.00% (0/1)
   0.00% (0/1)
   0.00% (0/1)
- (0/0)
txmempool.cpp
   1.32% (1/76)
   0.42% (4/947)
   1.36% (9/661)
   0.51% (2/396)
txmempool.h
   8.33% (2/24)
   5.04% (6/119)
   3.12% (2/64)
   0.00% (0/14)
txorphanage.cpp
  25.00% (3/12)
   8.37% (17/203)
   6.88% (11/160)
   4.08% (4/98)
txorphanage.h
  50.00% (1/2)
  50.00% (3/6)
  50.00% (1/2)
- (0/0)
txrequest.cpp
  15.87% (10/63)
  12.91% (39/302)
   8.86% (21/237)
   5.00% (8/160)
uint256.cpp
   0.00% (0/3)
   0.00% (0/28)
   0.00% (0/16)
   0.00% (0/12)
uint256.h
  53.33% (16/30)
  51.85% (28/54)
  41.46% (17/41)
   0.00% (0/4)
undo.h
   0.00% (0/4)
   0.00% (0/20)
   0.00% (0/13)
   0.00% (0/4)
validation.cpp
  13.53% (23/170)
   7.62% (304/3992)
   9.71% (331/3409)
   6.91% (134/1940)
validation.h
  20.00% (9/45)
  14.42% (15/104)
  12.75% (13/102)
  18.18% (4/22)
validationinterface.cpp
  15.22% (7/46)
  15.34% (27/176)
   8.10% (17/210)
   4.76% (2/42)
validationinterface.h
   0.00% (0/10)
   0.00% (0/10)
   0.00% (0/10)
- (0/0)
versionbits.cpp
   5.88% (1/17)
   3.80% (6/158)
   7.27% (8/110)
   2.86% (2/70)
versionbits.h
   0.00% (0/1)
   0.00% (0/1)
   0.00% (0/1)
- (0/0)
walletinitinterface.h
   0.00% (0/1)
   0.00% (0/1)
   0.00% (0/1)
- (0/0)
Totals
   9.01% (825/9156)
   4.42% (5120/115793)
   4.90% (3448/70356)
   3.05% (1253/41088)

Files which contain no functions. (These files contain code pulled into other files by the preprocessor.)

config/bitcoin-config.h
obj/build.h
Generated by llvm-cov -- llvm version 18.1.8