Coverage Report

Created: 2024-05-02 10:17

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
full-node/bin/cli.rs
   0.00% (0/28)
   0.00% (0/109)
   0.00% (0/106)
- (0/0)
full-node/bin/main.rs
   0.00% (0/21)
   0.00% (0/352)
   0.00% (0/203)
- (0/0)
full-node/src/consensus_service.rs
  16.67% (20/120)
  12.45% (296/2378)
  12.36% (130/1052)
- (0/0)
full-node/src/database_thread.rs
  62.50% (5/8)
  66.67% (36/54)
  60.00% (15/25)
- (0/0)
full-node/src/jaeger_service.rs
  12.50% (2/16)
  10.00% (14/140)
   9.68% (6/62)
- (0/0)
full-node/src/json_rpc_service.rs
  33.33% (8/24)
  24.82% (102/411)
  16.11% (29/180)
- (0/0)
full-node/src/json_rpc_service/chain_head_subscriptions.rs
   0.00% (0/9)
   0.00% (0/212)
   0.00% (0/85)
- (0/0)
full-node/src/json_rpc_service/legacy_api_subscriptions.rs
   0.00% (0/22)
   0.00% (0/607)
   0.00% (0/266)
- (0/0)
full-node/src/json_rpc_service/requests_handler.rs
  29.73% (11/37)
  37.08% (241/650)
  36.36% (108/297)
- (0/0)
full-node/src/json_rpc_service/runtime_caches_service.rs
  71.43% (5/7)
  84.27% (75/89)
  66.67% (26/39)
- (0/0)
full-node/src/lib.rs
  41.67% (20/48)
  54.55% (360/660)
  44.34% (145/327)
- (0/0)
full-node/src/network_service.rs
  37.29% (22/59)
  17.18% (286/1665)
  18.73% (94/502)
- (0/0)
full-node/src/network_service/tasks.rs
   0.00% (0/10)
   0.00% (0/186)
   0.00% (0/123)
- (0/0)
full-node/src/util.rs
   0.00% (0/2)
   0.00% (0/36)
   0.00% (0/13)
- (0/0)
full-node/tests/author.rs
   0.00% (0/4)
   0.00% (0/45)
   0.00% (0/21)
- (0/0)
full-node/tests/json-rpc-basic.rs
 100.00% (8/8)
  97.14% (68/70)
  94.44% (34/36)
- (0/0)
full-node/tests/json-rpc-general-requests.rs
 100.00% (45/45)
 100.00% (524/524)
  94.57% (261/276)
- (0/0)
lib/src/author/aura.rs
   0.00% (0/2)
   0.00% (0/46)
   0.00% (0/33)
- (0/0)
lib/src/author/build.rs
   0.00% (0/31)
   0.00% (0/223)
   0.00% (0/65)
- (0/0)
lib/src/author/runtime.rs
  38.98% (23/59)
  52.66% (267/507)
  46.59% (82/176)
- (0/0)
lib/src/author/runtime/tests.rs
 100.00% (8/8)
  93.02% (80/86)
  90.24% (37/41)
- (0/0)
lib/src/chain/async_tree.rs
   0.00% (0/49)
   0.00% (0/629)
   0.00% (0/320)
- (0/0)
lib/src/chain/blocks_tree.rs
  15.00% (6/40)
  23.18% (70/302)
  18.75% (21/112)
- (0/0)
lib/src/chain/blocks_tree/finality.rs
   3.33% (1/30)
   4.89% (16/327)
   2.60% (4/154)
- (0/0)
lib/src/chain/blocks_tree/tests.rs
 100.00% (2/2)
  98.99% (393/397)
  81.82% (18/22)
- (0/0)
lib/src/chain/blocks_tree/verify.rs
  37.50% (6/16)
  62.77% (236/376)
  62.65% (104/166)
- (0/0)
lib/src/chain/chain_information.rs
  43.48% (10/23)
  43.61% (99/227)
  36.51% (46/126)
- (0/0)
lib/src/chain/chain_information/build.rs
  59.32% (35/59)
  65.29% (521/798)
  57.30% (157/274)
- (0/0)
lib/src/chain/fork_tree.rs
  72.58% (45/62)
  80.56% (373/463)
  80.00% (200/250)
- (0/0)
lib/src/chain_spec.rs
  65.31% (32/49)
  66.16% (217/328)
  62.50% (110/176)
- (0/0)
lib/src/chain_spec/light_sync_state.rs
  71.74% (33/46)
  75.00% (291/388)
  68.79% (97/141)
- (0/0)
lib/src/chain_spec/structs.rs
  72.73% (8/11)
  59.65% (34/57)
  45.54% (46/101)
- (0/0)
lib/src/chain_spec/tests.rs
 100.00% (3/3)
 100.00% (124/124)
  91.67% (11/12)
- (0/0)
lib/src/database/finalized_serialize.rs
   0.00% (0/7)
   0.00% (0/45)
   0.00% (0/22)
- (0/0)
lib/src/database/finalized_serialize/defs.rs
   0.00% (0/44)
   0.00% (0/287)
   0.00% (0/212)
- (0/0)
lib/src/database/full_sqlite.rs
  23.75% (38/160)
  63.57% (829/1304)
  41.94% (333/794)
- (0/0)
lib/src/database/full_sqlite/open.rs
 100.00% (4/4)
  94.76% (181/191)
  64.29% (27/42)
- (0/0)
lib/src/database/full_sqlite/tests.rs
  85.19% (23/27)
  97.22% (875/900)
  80.73% (176/218)
- (0/0)
lib/src/executor.rs
  25.00% (1/4)
  42.86% (6/14)
  20.00% (4/20)
- (0/0)
lib/src/executor/allocator.rs
  90.00% (54/60)
  96.76% (537/555)
  86.15% (199/231)
- (0/0)
lib/src/executor/host.rs
  21.61% (59/273)
  45.44% (1017/2238)
  40.75% (469/1151)
- (0/0)
lib/src/executor/host/functions.rs
 100.00% (3/3)
  65.22% (75/115)
  48.53% (363/748)
- (0/0)
lib/src/executor/host/runtime_version.rs
  73.33% (33/45)
  84.95% (271/319)
  71.52% (113/158)
- (0/0)
lib/src/executor/host/tests.rs
 100.00% (5/5)
  97.89% (93/95)
  89.47% (17/19)
- (0/0)
lib/src/executor/host/tests/hash_algorithms.rs
 100.00% (1/1)
  99.38% (161/162)
  90.00% (9/10)
- (0/0)
lib/src/executor/host/tests/initialization.rs
 100.00% (8/8)
  95.18% (158/166)
  86.21% (50/58)
- (0/0)
lib/src/executor/host/tests/run.rs
 100.00% (10/10)
  97.89% (557/569)
  88.00% (88/100)
- (0/0)
lib/src/executor/host/zstd.rs
  75.00% (3/4)
  90.00% (27/30)
  79.17% (19/24)
- (0/0)
lib/src/executor/host/zstd/tests.rs
 100.00% (5/5)
 100.00% (26/26)
  83.33% (10/12)
- (0/0)
lib/src/executor/runtime_call.rs
  41.07% (46/112)
  53.96% (633/1173)
  45.86% (255/556)
- (0/0)
lib/src/executor/runtime_call/tests.rs
  94.12% (16/17)
  94.51% (155/164)
  74.76% (77/103)
- (0/0)
lib/src/executor/storage_diff.rs
  34.48% (10/29)
  44.09% (82/186)
  30.30% (30/99)
- (0/0)
lib/src/executor/trie_root_calculator.rs
  83.33% (45/54)
  95.51% (404/423)
  91.94% (171/186)
- (0/0)
lib/src/executor/trie_root_calculator/tests.rs
 100.00% (13/13)
  92.31% (312/338)
  92.54% (124/134)
- (0/0)
lib/src/executor/vm.rs
  72.22% (39/54)
  81.09% (283/349)
  68.91% (133/193)
- (0/0)
lib/src/executor/vm/interpreter.rs
  71.11% (32/45)
  89.43% (364/407)
  84.43% (206/244)
- (0/0)
lib/src/executor/vm/jit.rs
  72.73% (32/44)
  90.40% (537/594)
  80.06% (261/326)
- (0/0)
lib/src/executor/vm/tests.rs
  62.50% (55/88)
  95.67% (973/1017)
  83.46% (318/381)
- (0/0)
lib/src/finality/decode.rs
  55.81% (24/43)
  75.74% (459/606)
  43.27% (45/104)
- (0/0)
lib/src/finality/verify.rs
   0.00% (0/14)
   0.00% (0/261)
   0.00% (0/97)
- (0/0)
lib/src/header.rs
  60.00% (42/70)
  61.34% (487/794)
  50.98% (209/410)
- (0/0)
lib/src/header/aura.rs
  42.11% (8/19)
  41.53% (49/118)
  36.84% (28/76)
- (0/0)
lib/src/header/babe.rs
  65.12% (28/43)
  66.27% (224/338)
  58.29% (102/175)
- (0/0)
lib/src/header/grandpa.rs
  57.14% (16/28)
  62.03% (183/295)
  51.81% (43/83)
- (0/0)
lib/src/header/tests.rs
 100.00% (4/4)
 100.00% (54/54)
 100.00% (5/5)
- (0/0)
lib/src/identity/keystore.rs
  71.11% (32/45)
  69.78% (314/450)
  60.98% (186/305)
- (0/0)
lib/src/identity/seed_phrase.rs
  80.77% (21/26)
  95.05% (269/283)
  80.56% (87/108)
- (0/0)
lib/src/identity/ss58.rs
  46.67% (7/15)
  83.19% (94/113)
  61.22% (30/49)
- (0/0)
lib/src/informant.rs
  25.00% (1/4)
   8.78% (13/148)
  12.86% (9/70)
- (0/0)
lib/src/json_rpc/methods.rs
  37.50% (24/64)
  60.49% (323/534)
  12.12% (462/3812)
- (0/0)
lib/src/json_rpc/parse.rs
  90.70% (39/43)
  90.96% (302/332)
  75.58% (164/217)
- (0/0)
lib/src/json_rpc/payment_info.rs
   0.00% (0/9)
   0.00% (0/97)
   0.00% (0/44)
- (0/0)
lib/src/json_rpc/service/client_main_task.rs
  39.53% (17/43)
  39.33% (280/712)
  35.21% (100/284)
- (0/0)
lib/src/json_rpc/service/deliver_channel.rs
   0.00% (0/8)
   0.00% (0/79)
   0.00% (0/38)
- (0/0)
lib/src/libp2p/collection.rs
  11.43% (4/35)
   6.79% (62/913)
   4.30% (17/395)
- (0/0)
lib/src/libp2p/collection/multi_stream.rs
   0.00% (0/13)
   0.00% (0/503)
   0.00% (0/193)
- (0/0)
lib/src/libp2p/collection/single_stream.rs
   0.00% (0/10)
   0.00% (0/534)
   0.00% (0/158)
- (0/0)
lib/src/libp2p/connection/established/multi_stream.rs
   0.00% (0/23)
   0.00% (0/444)
   0.00% (0/159)
- (0/0)
lib/src/libp2p/connection/established/single_stream.rs
  50.00% (14/28)
  68.24% (333/488)
  54.12% (92/170)
- (0/0)
lib/src/libp2p/connection/established/substream.rs
  57.58% (19/33)
  58.13% (497/855)
  49.31% (179/363)
- (0/0)
lib/src/libp2p/connection/established/tests.rs
  88.89% (16/18)
  77.37% (523/676)
  64.62% (137/212)
- (0/0)
lib/src/libp2p/connection/multistream_select.rs
  81.25% (13/16)
  91.57% (304/332)
  76.15% (83/109)
- (0/0)
lib/src/libp2p/connection/noise.rs
  72.00% (36/50)
  94.15% (1127/1197)
  78.71% (207/263)
- (0/0)
lib/src/libp2p/connection/single_stream_handshake.rs
  50.00% (3/6)
  87.67% (128/146)
  72.73% (48/66)
- (0/0)
lib/src/libp2p/connection/single_stream_handshake/tests.rs
 100.00% (4/4)
  99.25% (132/133)
  93.33% (14/15)
- (0/0)
lib/src/libp2p/connection/webrtc_framing.rs
   0.00% (0/14)
   0.00% (0/186)
   0.00% (0/105)
- (0/0)
lib/src/libp2p/connection/yamux.rs
  48.39% (30/62)
  58.59% (658/1123)
  53.44% (295/552)
- (0/0)
lib/src/libp2p/connection/yamux/header.rs
  95.45% (21/22)
  98.29% (288/293)
  93.75% (105/112)
- (0/0)
lib/src/libp2p/multiaddr.rs
  63.64% (35/55)
  77.14% (334/433)
  73.27% (222/303)
- (0/0)
lib/src/libp2p/multihash.rs
  64.29% (9/14)
  68.25% (43/63)
  58.62% (17/29)
- (0/0)
lib/src/libp2p/peer_id.rs
  48.72% (19/39)
  66.99% (140/209)
  55.96% (61/109)
- (0/0)
lib/src/libp2p/read_write.rs
  78.95% (15/19)
  87.92% (233/265)
  77.94% (106/136)
- (0/0)
lib/src/libp2p/websocket.rs
   7.14% (1/14)
   3.49% (8/229)
   0.84% (1/119)
- (0/0)
lib/src/libp2p/with_buffers.rs
   0.00% (0/17)
   0.00% (0/257)
   0.00% (0/131)
- (0/0)
lib/src/network/basic_peering_strategy.rs
  52.38% (22/42)
  51.28% (301/587)
  44.37% (126/284)
- (0/0)
lib/src/network/codec.rs
   0.00% (0/26)
   0.00% (0/197)
   0.00% (0/77)
- (0/0)
lib/src/network/codec/block_announces.rs
   0.00% (0/15)
   0.00% (0/107)
   0.00% (0/43)
- (0/0)
lib/src/network/codec/block_request.rs
  25.00% (6/24)
  43.33% (143/330)
  27.87% (34/122)
- (0/0)
lib/src/network/codec/grandpa.rs
  34.38% (11/32)
  60.00% (204/340)
  38.98% (23/59)
- (0/0)
lib/src/network/codec/grandpa_warp_sync.rs
   0.00% (0/15)
   0.00% (0/71)
   0.00% (0/27)
- (0/0)
lib/src/network/codec/identify.rs
   0.00% (0/6)
   0.00% (0/82)
   0.00% (0/25)
- (0/0)
lib/src/network/codec/kademlia.rs
   0.00% (0/7)
   0.00% (0/46)
   0.00% (0/42)
- (0/0)
lib/src/network/codec/state_request.rs
   0.00% (0/4)
   0.00% (0/36)
   0.00% (0/17)
- (0/0)
lib/src/network/codec/storage_call_proof.rs
   0.00% (0/9)
   0.00% (0/68)
   0.00% (0/30)
- (0/0)
lib/src/network/kademlia.rs
   0.00% (0/2)
   0.00% (0/6)
   0.00% (0/2)
- (0/0)
lib/src/network/kademlia/kbuckets.rs
  40.54% (15/37)
  55.02% (181/329)
  41.52% (71/171)
- (0/0)
lib/src/network/service.rs
   8.64% (14/162)
   5.78% (173/2991)
   3.11% (29/931)
- (0/0)
lib/src/sync/all.rs
  10.31% (10/97)
  13.36% (158/1183)
   9.52% (48/504)
- (0/0)
lib/src/sync/all_forks.rs
  10.71% (9/84)
   8.41% (107/1273)
   7.14% (23/322)
- (0/0)
lib/src/sync/all_forks/disjoint.rs
  55.81% (24/43)
  72.19% (218/302)
  65.41% (104/159)
- (0/0)
lib/src/sync/all_forks/pending_blocks.rs
  10.94% (7/64)
  13.88% (73/526)
  10.58% (20/189)
- (0/0)
lib/src/sync/all_forks/sources.rs
  57.14% (16/28)
  75.83% (160/211)
  68.67% (57/83)
- (0/0)
lib/src/sync/para.rs
  57.14% (4/7)
  78.95% (75/95)
  38.10% (8/21)
- (0/0)
lib/src/sync/warp_sync.rs
   8.45% (6/71)
  12.06% (156/1293)
   8.17% (50/612)
- (0/0)
lib/src/transactions/light_pool.rs
  38.89% (21/54)
  57.49% (376/654)
  54.02% (195/361)
- (0/0)
lib/src/transactions/light_pool/tests.rs
 100.00% (11/11)
 100.00% (259/259)
 100.00% (60/60)
- (0/0)
lib/src/transactions/pool.rs
  23.91% (11/46)
  28.84% (139/482)
  25.98% (53/204)
- (0/0)
lib/src/transactions/pool/tests.rs
 100.00% (1/1)
 100.00% (31/31)
 100.00% (4/4)
- (0/0)
lib/src/transactions/validate.rs
   6.45% (2/31)
  11.39% (23/202)
   9.52% (6/63)
- (0/0)
lib/src/transactions/validate/tests.rs
 100.00% (3/3)
  69.01% (49/71)
  46.67% (14/30)
- (0/0)
lib/src/trie.rs
 100.00% (20/20)
  97.31% (217/223)
  91.89% (68/74)
- (0/0)
lib/src/trie/branch_search.rs
  91.67% (11/12)
  99.33% (149/150)
  98.11% (52/53)
- (0/0)
lib/src/trie/branch_search/tests.rs
 100.00% (6/6)
  93.33% (112/120)
  96.77% (60/62)
- (0/0)
lib/src/trie/calculate_root.rs
  88.46% (23/26)
  96.02% (241/251)
  92.23% (95/103)
- (0/0)
lib/src/trie/nibble.rs
  81.82% (27/33)
  92.09% (256/278)
  84.00% (105/125)
- (0/0)
lib/src/trie/prefix_proof.rs
  45.45% (5/11)
  74.81% (98/131)
  73.08% (57/78)
- (0/0)
lib/src/trie/prefix_proof/tests.rs
  85.71% (6/7)
  80.00% (44/55)
  65.22% (30/46)
- (0/0)
lib/src/trie/proof_decode.rs
  60.00% (45/75)
  85.98% (2809/3267)
  55.88% (323/578)
- (0/0)
lib/src/trie/proof_encode.rs
  92.31% (24/26)
  92.52% (371/401)
  85.45% (141/165)
- (0/0)
lib/src/trie/trie_node.rs
  83.33% (20/24)
  92.31% (372/403)
  85.32% (186/218)
- (0/0)
lib/src/trie/trie_structure.rs
  80.83% (97/120)
  86.60% (989/1142)
  84.42% (607/719)
- (0/0)
lib/src/trie/trie_structure/tests.rs
 100.00% (19/19)
  98.12% (784/799)
  91.88% (147/160)
- (0/0)
lib/src/util.rs
  73.68% (14/19)
  83.98% (194/231)
  75.68% (56/74)
- (0/0)
lib/src/util/leb128.rs
 100.00% (11/11)
  90.77% (118/130)
  93.62% (44/47)
- (0/0)
lib/src/util/protobuf.rs
  92.16% (47/51)
  88.89% (240/270)
  89.11% (90/101)
- (0/0)
lib/src/verify/aura.rs
   0.00% (0/5)
   0.00% (0/82)
   0.00% (0/46)
- (0/0)
lib/src/verify/babe.rs
  52.38% (11/21)
  81.51% (216/265)
  70.91% (117/165)
- (0/0)
lib/src/verify/body_only.rs
   0.00% (0/13)
   0.00% (0/113)
   0.00% (0/46)
- (0/0)
lib/src/verify/header_only.rs
  60.00% (3/5)
  61.00% (61/100)
  40.91% (18/44)
- (0/0)
lib/src/verify/inherents.rs
  50.00% (1/2)
  45.45% (5/11)
  50.00% (1/2)
- (0/0)
light-base/src/database.rs
   0.00% (0/19)
   0.00% (0/137)
   0.00% (0/104)
- (0/0)
light-base/src/json_rpc_service.rs
   0.00% (0/7)
   0.00% (0/76)
   0.00% (0/21)
- (0/0)
light-base/src/json_rpc_service/background.rs
   0.00% (0/92)
   0.00% (0/4037)
   0.00% (0/1418)
- (0/0)
light-base/src/lib.rs
   0.00% (0/36)
   0.00% (0/726)
   0.00% (0/234)
- (0/0)
light-base/src/network_service.rs
   0.00% (0/68)
   0.00% (0/1957)
   0.00% (0/545)
- (0/0)
light-base/src/network_service/tasks.rs
   0.00% (0/16)
   0.00% (0/365)
   0.00% (0/180)
- (0/0)
light-base/src/platform.rs
   0.00% (0/2)
   0.00% (0/24)
   0.00% (0/14)
- (0/0)
light-base/src/platform/address_parse.rs
   0.00% (0/3)
   0.00% (0/84)
   0.00% (0/62)
- (0/0)
light-base/src/platform/default.rs
  29.63% (8/27)
  32.68% (67/205)
  23.76% (24/101)
- (0/0)
light-base/src/platform/with_prefix.rs
   0.00% (0/18)
   0.00% (0/79)
   0.00% (0/19)
- (0/0)
light-base/src/runtime_service.rs
   0.00% (0/103)
   0.00% (0/2151)
   0.00% (0/771)
- (0/0)
light-base/src/sync_service.rs
   0.00% (0/26)
   0.00% (0/553)
   0.00% (0/223)
- (0/0)
light-base/src/sync_service/parachain.rs
   0.00% (0/49)
   0.00% (0/1034)
   0.00% (0/404)
- (0/0)
light-base/src/sync_service/standalone.rs
   0.00% (0/44)
   0.00% (0/1140)
   0.00% (0/371)
- (0/0)
light-base/src/transactions_service.rs
   0.00% (0/51)
   0.00% (0/968)
   0.00% (0/371)
- (0/0)
light-base/src/util.rs
   0.00% (0/4)
   0.00% (0/42)
   0.00% (0/15)
- (0/0)
target/debug/build/cranelift-codegen-3781b3fa280d2340/out/inst_builder.rs
  29.15% (65/223)
  32.07% (414/1291)
  25.75% (86/334)
- (0/0)
target/debug/build/cranelift-codegen-3781b3fa280d2340/out/isle_opt.rs
  21.76% (42/193)
  33.32% (3394/10186)
  33.67% (1950/5791)
- (0/0)
target/debug/build/cranelift-codegen-3781b3fa280d2340/out/isle_x64.rs
  20.24% (100/494)
  16.79% (2960/17630)
  21.69% (1183/5454)
- (0/0)
target/debug/build/cranelift-codegen-3781b3fa280d2340/out/opcodes.rs
  55.88% (19/34)
  18.20% (243/1335)
  21.41% (158/738)
- (0/0)
target/debug/build/cranelift-codegen-3781b3fa280d2340/out/settings-x86.rs
  65.79% (25/38)
  70.79% (126/178)
  60.91% (67/110)
- (0/0)
target/debug/build/cranelift-codegen-3781b3fa280d2340/out/settings.rs
  44.68% (21/47)
  31.91% (75/235)
  22.00% (33/150)
- (0/0)
target/debug/build/target-lexicon-50af4f3b0cef4ec3/out/host.rs
  16.67% (1/6)
  37.50% (9/24)
  16.67% (1/6)
- (0/0)
wasm-node/rust/src/allocator.rs
  66.67% (4/6)
  60.53% (23/38)
  52.94% (9/17)
- (0/0)
wasm-node/rust/src/bindings.rs
   0.00% (0/15)
   0.00% (0/73)
   0.00% (0/15)
- (0/0)
wasm-node/rust/src/init.rs
   0.00% (0/2)
   0.00% (0/62)
   0.00% (0/6)
- (0/0)
wasm-node/rust/src/lib.rs
   0.00% (0/17)
   0.00% (0/234)
   0.00% (0/104)
- (0/0)
wasm-node/rust/src/platform.rs
   0.00% (0/42)
   0.00% (0/898)
   0.00% (0/308)
- (0/0)
wasm-node/rust/src/timers.rs
   0.00% (0/13)
   0.00% (0/147)
   0.00% (0/74)
- (0/0)
Totals
  36.70% (2263/6166)
  36.46% (38553/105729)
  31.94% (14920/46707)
- (0/0)
Generated by llvm-cov -- llvm version 17.0.6-rust-1.77.2-stable