LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - key.rs (source / functions) Coverage Total Hit
Test: 4f58e98c51285c7fa348e0b410c88a10caf68ad2.info Lines: 66.8 % 470 314
Test Date: 2025-01-07 20:58:07 Functions: 65.2 % 66 43

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::fmt::Display>::fmt 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_vm_block_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_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::CompactKey as core::convert::From<i128>>::from 5
<pageserver_api::key::Key>::is_rel_size_key 5
pageserver_api::key::slru_segment_size_to_key 6
<pageserver_api::key::Key as core::str::traits::FromStr>::from_str 9
<pageserver_api::key::CompactKey>::raw 10
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 296
<pageserver_api::key::Key>::metadata_aux_key_range 308
<pageserver_api::key::Key>::metadata_key_range 1216
pageserver_api::key::slru_dir_to_key 1404
pageserver_api::key::rel_dir_to_key 1948
<<pageserver_api::key::Key as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 2456
<::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>>> 2456
<pageserver_api::key::Key>::from_hex 40473
<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 376919
<pageserver_api::key::Key>::is_aux_file_key 1050057
<pageserver_api::key::Key>::is_slru_dir_key 1050057
<pageserver_api::key::Key>::is_slru_segment_size_key 1050057
pageserver_api::key::slru_dir_kind 1050057
pageserver_api::key::rel_block_to_key 1291910
<pageserver_api::key::Key>::is_slru_block_key 1622645
<pageserver_api::key::Key>::is_rel_block_key 4000626
<pageserver_api::key::Key>::is_valid_key_on_write_path 4816647
<pageserver_api::key::Key>::from_slice 5945597
<pageserver_api::key::Key>::to_compact 6876182
<pageserver_api::key::Key>::write_to_byte_slice 7259471
<pageserver_api::key::Key>::next 8885112
<pageserver_api::key::Key>::add 8895027
<pageserver_api::key::Key>::from_compact 10120596
<pageserver_api::key::Key>::from_i128 10626454
<pageserver_api::key::Key>::to_i128 11660010
<pageserver_api::key::Key>::is_i128_representable 16476657

Generated by: LCOV version 2.1-beta