LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - shard.rs (source / functions) Coverage Total Hit
Test: 4f58e98c51285c7fa348e0b410c88a10caf68ad2.info Lines: 92.3 % 392 362
Test Date: 2025-01-07 20:58:07 Functions: 46.4 % 56 26

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::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 2
<pageserver_api::shard::ShardIdentity>::shard_slug 8
<pageserver_api::shard::ShardIdentity>::from_params 202
<pageserver_api::shard::ShardIdentity>::shard_index 286
<pageserver_api::shard::ShardIdentity>::unsharded 918
<pageserver_api::shard::ShardIdentity>::get_shard_number 3082
<pageserver_api::shard::ShardIdentity>::new 13034
<pageserver_api::shard::ShardIdentity>::is_key_global 1050057
pageserver_api::shard::hash_combine 1050074
pageserver_api::shard::key_to_shard_number 1053137
pageserver_api::shard::key_is_shard0 2100127
pageserver_api::shard::murmurhash32 2100147
<pageserver_api::shard::ShardIdentity>::is_key_disposable 3746595
<pageserver_api::shard::ShardIdentity>::is_key_local 6437318
<pageserver_api::shard::ShardIdentity>::is_broken 6440400

Generated by: LCOV version 2.1-beta