LCOV - code coverage report
Current view: top level - pageserver/src/tenant - config.rs (source / functions) Coverage Total Hit
Test: 52d9d4a58355424a48c56cb9ba9670a073f618b9.info Lines: 29.9 % 244 73
Test Date: 2024-11-21 08:31:22 Functions: 12.3 % 130 16

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver::tenant::config::AttachedLocationConfig 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::__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_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_seq:: 0
<<pageserver::tenant::config::AttachmentMode 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::__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_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum:: 0
<<pageserver::tenant::config::LocationConf 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::__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_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_seq:: 0
<<pageserver::tenant::config::LocationMode 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::__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_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum:: 0
<<pageserver::tenant::config::SecondaryLocationConfig 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::__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_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_seq:: 0
<pageserver::tenant::config::LocationConf as core::default::Default>::default 0
<pageserver::tenant::config::LocationConf as core::fmt::Debug>::fmt 0
<pageserver::tenant::config::LocationConf>::attach_in_generation 0
<pageserver::tenant::config::LocationConf>::try_from 0
<pageserver::tenant::config::LocationConf>::try_from::get_generation 0
<pageserver::tenant::config::LocationConf>::try_from::get_generation::{closure#0} 0
<pageserver::tenant::config::LocationConf>::try_from::{closure#0} 0
<pageserver::tenant::config::TenantConfOpt>::merge 0
<pageserver_api::models::TenantConfig as core::convert::From<pageserver::tenant::config::TenantConfOpt>>::from 0
<pageserver_api::models::TenantConfig as core::convert::From<pageserver::tenant::config::TenantConfOpt>>::from::humantime 0
pageserver::tenant::config::tests::de_serializing_pageserver_config_omits_empty_values 2
pageserver::tenant::config::tests::test_try_from_models_tenant_config_err 2
pageserver::tenant::config::tests::test_try_from_models_tenant_config_success 2
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<&pageserver_api::models::TenantConfig>>::try_from 4
<pageserver::tenant::config::LocationConf>::attached_single 192
<<pageserver::tenant::config::TenantConfOpt as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 196
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize:: 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith 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_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_seq::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#0} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#1} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#2} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#3} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#4} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#5} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#6} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#7} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#8} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#9} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#0} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#1} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#2} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#3} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#4} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#5} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#6} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#7} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#8} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#9} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#0} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#1} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#2} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#3} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#4} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#5} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#6} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#7} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#8} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::::{closure#9} 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut toml_edit::ser::map::MapValueSerializer> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 2
<::deserialize::__Field as serde::de::Deserialize>::deserialize:: 2
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_map:: 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 4
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::> 32
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 74
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 76
<pageserver::tenant::config::AttachedLocationConfig>::may_upload_layers_hint 428
<pageserver::tenant::config::AttachedLocationConfig>::may_delete_layers_hint 1182

Generated by: LCOV version 2.1-beta