LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- key.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
07bee600374ccd486c69370d0972d9035964fe68.info
Lines:
62.4 %
564
352
Test Date:
2025-02-20 13:11:02
Functions:
59.2 %
76
45
Function Name
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::WithOtherTrailing
, bincode::config::trailing::AllowTrailing>>>
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::Key as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
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::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access
, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<pageserver_api::key::CompactKey as core::fmt::Display>::fmt
0
<pageserver_api::key::DecodeError as core::fmt::Display>::fmt
0
<pageserver_api::key::Key>::is_inherited_key
0
<pageserver_api::key::Key>::is_inherited_sparse_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::RelDirExists>::decode::<_>
0
::decode::<&bytes::bytes::Bytes>
0
::decode::<_>
0
<pageserver_api::key::RelDirExists>::decode_option::<_>
0
::decode_option::<_>
0
::decode_option::
0
<pageserver_api::key::RelDirExists>::encode
0
pageserver_api::key::dbdir_key_range
0
pageserver_api::key::rel_tag_sparse_key
0
pageserver_api::key::rel_tag_sparse_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
4
<pageserver_api::key::CompactKey as core::convert::From<i128>>::from
5
<pageserver_api::key::Key>::is_rel_size_key
5
<pageserver_api::key::Key as core::str::traits::FromStr>::from_str
9
<pageserver_api::key::CompactKey>::raw
10
pageserver_api::key::slru_segment_size_to_key
12
pageserver_api::key::slru_block_to_key
28
pageserver_api::key::relmap_file_key
32
<pageserver_api::key::Key>::from_metadata_key_fixed_size
63
pageserver_api::key::is_metadata_key_slice
64
<pageserver_api::key::Key>::is_metadata_key
133
<pageserver_api::key::Key>::is_rel_dir_key
400
<pageserver_api::key::Key>::rel_dir_sparse_key_range
644
pageserver_api::key::repl_origin_key_range
644
<pageserver_api::key::Key>::metadata_aux_key_range
668
<pageserver_api::key::Key>::metadata_key_range
2544
pageserver_api::key::slru_dir_to_key
3120
pageserver_api::key::rel_dir_to_key
3896
<pageserver_api::key::Key>::from_hex
80389
<pageserver_api::key::Key>::to_rel_block
291296
pageserver_api::key::rel_size_to_key
579508
<pageserver_api::key::Key as core::fmt::Display>::fmt
759193
<pageserver_api::key::Key>::is_sparse
1482275
<pageserver_api::key::Key>::sparse_non_inherited_keyspace
1707815
<pageserver_api::key::Key>::is_slru_dir_key
2098633
<pageserver_api::key::Key>::is_slru_segment_size_key
2098633
pageserver_api::key::slru_dir_kind
2098633
<pageserver_api::key::Key>::is_aux_file_key
2099033
pageserver_api::key::rel_block_to_key
2583814
<pageserver_api::key::Key>::is_slru_block_key
3244173
<pageserver_api::key::Key>::is_rel_block_key
7997182
<pageserver_api::key::Key>::is_valid_key_on_write_path
9633289
<pageserver_api::key::Key>::from_slice
11890855
<pageserver_api::key::Key>::to_compact
13754532
<pageserver_api::key::Key>::write_to_byte_slice
14516432
<pageserver_api::key::Key>::next
16364383
<pageserver_api::key::Key>::add
16376872
<pageserver_api::key::Key>::from_compact
20242023
<pageserver_api::key::Key>::from_i128
21247827
<pageserver_api::key::Key>::to_i128
23316688
<pageserver_api::key::Key>::is_i128_representable
32949977
Generated by:
LCOV version 2.1-beta