LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer_name.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 69.9 % 226 158
Test Date: 2024-10-22 22:13:45 Functions: 57.6 % 33 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::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 1150
<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 3258
<pageserver::tenant::storage_layer::layer_name::ImageLayerName>::parse_str 3258
<pageserver::tenant::storage_layer::layer_name::LayerName as core::str::traits::FromStr>::from_str 3258
<pageserver::tenant::storage_layer::layer_name::ImageLayerName as core::fmt::Display>::fmt 3502
<pageserver::tenant::storage_layer::layer_name::LayerName as core::fmt::Display>::fmt 5651
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>>::from 6579
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_in_future 17633
<pageserver::tenant::storage_layer::layer_name::LayerName as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 35471
::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>> 17631
::serialize::> 17840
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName as core::fmt::Display>::fmt 38110

Generated by: LCOV version 2.1-beta