LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer_name.rs (source / functions) Coverage Total Hit
Test: 49aa928ec5b4b510172d8b5c6d154da28e70a46c.info Lines: 68.0 % 219 149
Test Date: 2024-11-13 18:23:39 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::DeltaLayerName as core::fmt::Display>::fmt 38183
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>::parse_str 3262
<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::ImageLayerName as core::fmt::Display>::fmt 3645
<pageserver::tenant::storage_layer::layer_name::ImageLayerName>::lsn_as_range 1604
<pageserver::tenant::storage_layer::layer_name::ImageLayerName>::parse_str 3262
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>>::from 6661
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::ImageLayerName>>::from 1268
<pageserver::tenant::storage_layer::layer_name::LayerName as core::fmt::Display>::fmt 5768
<pageserver::tenant::storage_layer::layer_name::LayerName as core::str::traits::FromStr>::from_str 3262
<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::LayerName as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 35546
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::, serde_json::ser::CompactFormatter>> 17654
::serialize::, serde_json::ser::PrettyFormatter>> 0
::serialize::> 17892
::serialize::, serde_json::ser::CompactFormatter>> 0
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_delta 8
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_in_future 17627
<pageserver::tenant::storage_layer::layer_name::LayerName>::key_range 8
<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> 3188
<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

Generated by: LCOV version 2.1-beta