LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer_name.rs (source / functions) Coverage Total Hit
Test: 8b13a09a5c233d98abd4a0d3e59157e7db16d6fd.info Lines: 68.0 % 219 149
Test Date: 2024-11-21 10:53:51 Functions: 55.9 % 34 19

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName as core::cmp::Ord>::cmp 0
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName as core::cmp::PartialOrd>::partial_cmp 0
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer_name::ImageLayerName as core::cmp::Ord>::cmp 0
<pageserver::tenant::storage_layer::layer_name::ImageLayerName as core::cmp::PartialOrd>::partial_cmp 0
<pageserver::tenant::storage_layer::layer_name::ImageLayerName as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer_name::LayerName>::kind 0
<pageserver::tenant::storage_layer::layer_name::LayerName>::lsn_as_range 0
<pageserver::tenant::storage_layer::layer_name::LayerNameVisitor as serde::de::Visitor>::expecting 0
<pageserver::tenant::storage_layer::layer_name::LayerNameVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>::{closure#0} 0
pageserver::tenant::storage_layer::layer_name::test::delta_layer_parse 2
pageserver::tenant::storage_layer::layer_name::test::image_layer_parse 2
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_delta 8
<pageserver::tenant::storage_layer::layer_name::LayerName>::key_range 8
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::ImageLayerName>>::from 1296
<pageserver::tenant::storage_layer::layer_name::ImageLayerName>::lsn_as_range 1604
<pageserver::tenant::storage_layer::layer_name::LayerName as serde::de::Deserialize>::deserialize::<serde_json::de::MapKey<serde_json::read::StrRead>> 3188
::deserialize::<&mut serde_json::de::Deserializer> 0
::deserialize::> 0
::deserialize::> 60
::deserialize::> 3128
<pageserver::tenant::storage_layer::layer_name::LayerNameVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> 3188
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>::parse_str 3262
<pageserver::tenant::storage_layer::layer_name::ImageLayerName>::parse_str 3262
<pageserver::tenant::storage_layer::layer_name::LayerName as core::str::traits::FromStr>::from_str 3262
<pageserver::tenant::storage_layer::layer_name::ImageLayerName as core::fmt::Display>::fmt 3679
<pageserver::tenant::storage_layer::layer_name::LayerName as core::fmt::Display>::fmt 5801
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>>::from 6665
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_in_future 17498
<pageserver::tenant::storage_layer::layer_name::LayerName as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 35405
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::, serde_json::ser::PrettyFormatter>> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::serialize::, serde_json::ser::CompactFormatter>> 17511
::serialize::> 17894
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName as core::fmt::Display>::fmt 38045

Generated by: LCOV version 2.1-beta