LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer_name.rs (source / functions) Coverage Total Hit
Test: fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info Lines: 69.9 % 226 158
Test Date: 2024-09-24 13:57:57 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 3580
<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 10567
<pageserver::tenant::storage_layer::layer_name::LayerName as core::fmt::Display>::fmt 16903
<pageserver::tenant::storage_layer::layer_name::LayerName as core::convert::From<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>>::from 19591
<pageserver::tenant::storage_layer::layer_name::LayerName>::is_in_future 52530
<pageserver::tenant::storage_layer::layer_name::LayerName as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 106132
::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>> 52528
::serialize::> 53604
<pageserver::tenant::storage_layer::layer_name::DeltaLayerName as core::fmt::Display>::fmt 113974

Generated by: LCOV version 2.1-beta