LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer_name.rs (source / functions) Coverage Total Hit
Test: f8d8f5b90fa487a9e82c42da223f012f5d4fece7.info Lines: 69.9 % 226 158
Test Date: 2024-09-19 20:36:02 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 6
pageserver::tenant::storage_layer::layer_name::test::image_layer_parse 6
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_delta 24
<pageserver::tenant::storage_layer::layer_name::LayerName>::key_range 24
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::ImageLayerName>>::from 3559
<pageserver::tenant::storage_layer::layer_name::ImageLayerName>::lsn_as_range 4812
<pageserver::tenant::storage_layer::layer_name::LayerName as serde::de::Deserialize>::deserialize::<serde_json::de::MapKey<serde_json::read::StrRead>> 9564
::deserialize::<&mut serde_json::de::Deserializer> 0
::deserialize::> 0
::deserialize::> 180
::deserialize::> 9384
<pageserver::tenant::storage_layer::layer_name::LayerNameVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> 9564
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>::parse_str 9774
<pageserver::tenant::storage_layer::layer_name::ImageLayerName>::parse_str 9774
<pageserver::tenant::storage_layer::layer_name::LayerName as core::str::traits::FromStr>::from_str 9774
<pageserver::tenant::storage_layer::layer_name::ImageLayerName as core::fmt::Display>::fmt 10530
<pageserver::tenant::storage_layer::layer_name::LayerName as core::fmt::Display>::fmt 16881
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>>::from 19584
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_in_future 52514
<pageserver::tenant::storage_layer::layer_name::LayerName as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 106121
::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>> 52523
::serialize::> 53598
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName as core::fmt::Display>::fmt 113966

Generated by: LCOV version 2.1-beta