LCOV - code coverage report
Current view: top level - pageserver/src/tenant - config.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 61.0 % 282 172
Test Date: 2024-02-29 11:57:12 Functions: 16.7 % 222 37

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::config::AttachedLocationConfig as core::fmt::Debug>::fmt 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
::clone 0
::eq 0
::fmt 0
::deserialize:: 0
::serialize:: 0
<pageserver::tenant::config::AttachedLocationConfig>::may_upload_layers_hint 0
<pageserver::tenant::config::AttachmentMode as core::fmt::Debug>::fmt 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
::clone 0
::eq 0
::fmt 0
::deserialize::> 0
::deserialize::> 0
::deserialize::> 0
::deserialize:: 0
::serialize:: 0
::serialize:: 0
<pageserver::tenant::config::LocationConf as core::cmp::PartialEq>::eq 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
::clone 0
::eq 0
::deserialize:: 0
::serialize:: 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::LocationMode as core::fmt::Debug>::fmt 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
::clone 0
::eq 0
::fmt 0
::deserialize::> 0
::deserialize::> 0
::deserialize::> 0
::deserialize:: 0
::serialize:: 0
::serialize:: 0
<pageserver::tenant::config::SecondaryLocationConfig as core::fmt::Debug>::fmt 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
::clone 0
::eq 0
::fmt 0
::deserialize:: 0
::serialize:: 0
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<toml_edit::item::Item>>::try_from::{closure#0} 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::TenantConfOpt as core::convert::TryFrom<toml_edit::item::Item>>::try_from::{closure#1} 2
pageserver::tenant::config::tests::de_serializing_pageserver_config_omits_empty_values 2
pageserver::tenant::config::tests::de_serializing_pageserver_config_omits_empty_values::{closure#0} 2
pageserver::tenant::config::tests::test_try_from_models_tenant_config_err 2
pageserver::tenant::config::tests::test_try_from_models_tenant_config_err::{closure#0} 2
pageserver::tenant::config::tests::test_try_from_models_tenant_config_success 2
pageserver::tenant::config::tests::test_try_from_models_tenant_config_success::{closure#0} 2
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<&pageserver_api::models::TenantConfig>>::try_from 4
<pageserver::tenant::config::AttachedLocationConfig>::may_delete_layers_hint 8
<pageserver::tenant::config::TenantConfOpt as core::convert::TryFrom<toml_edit::item::Item>>::try_from 10
<pageserver::tenant::config::TenantConfOpt>::merge 18
<pageserver::tenant::config::LocationConf>::attached_single 88
<pageserver::tenant::config::TenantConf as core::fmt::Debug>::fmt 92
<<::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::<_> 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_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
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
::fmt 0
::deserialize::<_> 0
::serialize:: 0
::eq 4
::clone 88
<pageserver::tenant::config::TenantConf as core::default::Default>::default 226
<pageserver::tenant::config::TenantConfOpt as core::fmt::Debug>::fmt 2266
<<::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_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::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith 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_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::>::{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::> 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::> 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:: 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
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 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
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
::fmt 0
::deserialize::> 0
::deserialize::> 0
::deserialize::> 0
::deserialize:: 0
::serialize:: 0
::serialize:: 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 2
<::deserialize::__Field as serde::de::Deserialize>::deserialize:: 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_map:: 2
::deserialize::<&mut serde_json::de::Deserializer> 2
::deserialize::> 2
::deserialize:: 2
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 2
::serialize:: 2
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::> 4
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 4
::eq 4
::deserialize::> 4
::deserialize::> 8
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 10
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 14
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 16
::default 20
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::> 28
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 66
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 68
::clone 2002

Generated by: LCOV version 2.1-beta