LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - shard.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 92.3 % 377 348
Test Date: 2024-10-22 22:13:45 Functions: 44.6 % 56 25

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver_api::shard::ShardIdentity as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq:: 0
<<pageserver_api::shard::ShardLayout as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<<pageserver_api::shard::ShardStripeSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::>>>>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<pageserver_api::shard::ShardConfigError as core::fmt::Display>::fmt 0
<pageserver_api::shard::ShardIdentity>::broken 0
<pageserver_api::shard::ShardIdentity>::from_params 190
<pageserver_api::shard::ShardIdentity>::get_shard_number 3046
<pageserver_api::shard::ShardIdentity>::is_broken 1223865
<pageserver_api::shard::ShardIdentity>::is_key_disposable 3744676
<pageserver_api::shard::ShardIdentity>::is_key_local 1220819
<pageserver_api::shard::ShardIdentity>::is_shard_zero 0
<pageserver_api::shard::ShardIdentity>::is_unsharded 0
<pageserver_api::shard::ShardIdentity>::new 13028
<pageserver_api::shard::ShardIdentity>::shard_index 276
<pageserver_api::shard::ShardIdentity>::shard_slug 8
<pageserver_api::shard::ShardIdentity>::unsharded 896
<pageserver_api::shard::ShardStripeSize as core::default::Default>::default 2
pageserver_api::shard::describe 0
pageserver_api::shard::hash_combine 1050058
pageserver_api::shard::key_is_shard0 5844787
pageserver_api::shard::key_to_shard_number 1053101
pageserver_api::shard::murmurhash32 2100115
pageserver_api::shard::tests::murmur_hash 1
pageserver_api::shard::tests::shard_id_split 1
pageserver_api::shard::tests::shard_identity_validation 1
pageserver_api::shard::tests::shard_index_binary_encoding 1
pageserver_api::shard::tests::shard_index_human_encoding 1
pageserver_api::shard::tests::shard_mapping 1
pageserver_api::shard::tests::tenant_shard_id_backward_compat 1
pageserver_api::shard::tests::tenant_shard_id_binary 1
pageserver_api::shard::tests::tenant_shard_id_forward_compat 1
pageserver_api::shard::tests::tenant_shard_id_legacy_binary 1
pageserver_api::shard::tests::tenant_shard_id_string 1

Generated by: LCOV version 2.1-beta