LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - key.rs (source / functions) Coverage Total Hit
Test: a2f0f8a80fbf1089336086fa360ce27fa555cb1a.info Lines: 62.9 % 464 292
Test Date: 2024-11-20 17:59:39 Functions: 56.2 % 64 36

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver_api::key::CompactKey as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<pageserver_api::key::CompactKey as core::convert::From<i128>>::from 0
<pageserver_api::key::CompactKey as core::fmt::Display>::fmt 0
<pageserver_api::key::CompactKey>::raw 0
<pageserver_api::key::Key>::is_inherited_key 0
<pageserver_api::key::Key>::is_rel_fsm_block_key 0
<pageserver_api::key::Key>::is_rel_size_key 0
<pageserver_api::key::Key>::is_rel_vm_block_key 0
<pageserver_api::key::Key>::is_slru_segment_size_key 0
<pageserver_api::key::Key>::is_valid_key_on_write_path_strong 0
<pageserver_api::key::Key>::to_slru_block 0
pageserver_api::key::dbdir_key_range 0
pageserver_api::key::repl_origin_key 0
pageserver_api::key::slru_dir_kind 0
pageserver_api::key::slru_segment_key_range 0
pageserver_api::key::twophase_file_key 0
pageserver_api::key::twophase_key_range 0
<pageserver_api::key::Key>::from_metadata_key 1
pageserver_api::key::tests::display_fromstr_bijection 1
pageserver_api::key::tests::test_metadata_keys 1
pageserver_api::key::tests::test_possible_largest_key 1
pageserver_api::key::rel_key_range 2
pageserver_api::key::slru_segment_size_to_key 6
<pageserver_api::key::Key as core::str::traits::FromStr>::from_str 9
pageserver_api::key::slru_block_to_key 14
pageserver_api::key::relmap_file_key 16
<pageserver_api::key::Key>::from_metadata_key_fixed_size 35
pageserver_api::key::is_metadata_key_slice 36
<pageserver_api::key::Key>::is_metadata_key 67
<pageserver_api::key::Key>::is_rel_dir_key 200
pageserver_api::key::repl_origin_key_range 292
<pageserver_api::key::Key>::metadata_aux_key_range 304
<pageserver_api::key::Key>::metadata_key_range 1184
pageserver_api::key::slru_dir_to_key 1416
pageserver_api::key::rel_dir_to_key 1948
<<pageserver_api::key::Key as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 2380
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 2380
<pageserver_api::key::Key>::from_hex 39613
<pageserver_api::key::Key>::to_rel_block 145648
pageserver_api::key::rel_size_to_key 289754
<pageserver_api::key::Key as core::fmt::Display>::fmt 375559
<pageserver_api::key::Key>::is_slru_block_key 572578
pageserver_api::key::rel_block_to_key 1291898
<pageserver_api::key::Key>::is_valid_key_on_write_path 4816642
<pageserver_api::key::Key>::from_compact 5030165
<pageserver_api::key::Key>::from_i128 5532875
<pageserver_api::key::Key>::from_slice 5943479
<pageserver_api::key::Key>::is_rel_block_key 6696210
<pageserver_api::key::Key>::to_compact 6875839
<pageserver_api::key::Key>::write_to_byte_slice 7257695
<pageserver_api::key::Key>::next 8883490
<pageserver_api::key::Key>::add 8893395
<pageserver_api::key::Key>::to_i128 11656375
<pageserver_api::key::Key>::is_i128_representable 16473017

Generated by: LCOV version 2.1-beta