LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- shard.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
20b6afc7b7f34578dcaab2b3acdaecfe91cd8bf1.info
Lines:
92.3 %
377
348
Test Date:
2024-11-25 17:48:16
Functions:
44.6 %
56
25
Function Name
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
2
<pageserver_api::shard::ShardIdentity>::shard_slug
8
<pageserver_api::shard::ShardIdentity>::from_params
198
<pageserver_api::shard::ShardIdentity>::shard_index
282
<pageserver_api::shard::ShardIdentity>::unsharded
910
<pageserver_api::shard::ShardIdentity>::get_shard_number
3082
<pageserver_api::shard::ShardIdentity>::new
13028
pageserver_api::shard::hash_combine
1050074
pageserver_api::shard::key_to_shard_number
1053137
<pageserver_api::shard::ShardIdentity>::is_key_local
1366479
<pageserver_api::shard::ShardIdentity>::is_broken
1369561
pageserver_api::shard::murmurhash32
2100147
<pageserver_api::shard::ShardIdentity>::is_key_disposable
3745621
pageserver_api::shard::key_is_shard0
5845748
Generated by:
LCOV version 2.1-beta