LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - key.rs (source / functions) Coverage Total Hit
Test: 6fa910d1c9aea142e54ede6987809ef55544c500.info Lines: 63.8 % 458 292
Test Date: 2024-11-19 23:07:42 Functions: 59.0 % 61 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::<_> 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_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 5030174
<pageserver_api::key::Key>::from_i128 5531172
<pageserver_api::key::Key>::from_slice 5942421
<pageserver_api::key::Key>::is_rel_block_key 6696156
<pageserver_api::key::Key>::to_compact 6875777
<pageserver_api::key::Key>::write_to_byte_slice 7256839
<pageserver_api::key::Key>::next 8883096
<pageserver_api::key::Key>::add 8893001
<pageserver_api::key::Key>::to_i128 11654601
<pageserver_api::key::Key>::is_i128_representable 16471243

Generated by: LCOV version 2.1-beta