LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - shard.rs (source / functions) Coverage Total Hit
Test: f8d8f5b90fa487a9e82c42da223f012f5d4fece7.info Lines: 92.3 % 377 348
Test Date: 2024-09-19 20:36:02 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>::is_shard_zero 0
<pageserver_api::shard::ShardIdentity>::is_unsharded 0
pageserver_api::shard::describe 0
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
<pageserver_api::shard::ShardStripeSize as core::default::Default>::default 6
<pageserver_api::shard::ShardIdentity>::shard_slug 24
<pageserver_api::shard::ShardIdentity>::new 536
<pageserver_api::shard::ShardIdentity>::from_params 606
<pageserver_api::shard::ShardIdentity>::shard_index 840
<pageserver_api::shard::ShardIdentity>::unsharded 1668
<pageserver_api::shard::ShardIdentity>::get_shard_number 10038
pageserver_api::shard::hash_combine 3147218
pageserver_api::shard::key_to_shard_number 3157249
<pageserver_api::shard::ShardIdentity>::is_key_local 3657155
<pageserver_api::shard::ShardIdentity>::is_broken 3667193
pageserver_api::shard::murmurhash32 6294435
<pageserver_api::shard::ShardIdentity>::is_key_disposable 11229785
pageserver_api::shard::key_is_shard0 17524212

Generated by: LCOV version 2.1-beta