LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- key.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
5994c4f679fd099a9a8c180070d049e614bb817d.info
Lines:
62.2 %
547
340
Test Date:
2025-07-31 15:05:35
Functions:
62.2 %
74
46
Function Name
Hit count
<<pageserver_api::key::CompactKey as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
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>::visit_map::<_>
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::convert::From<i128>>::from
5
<pageserver_api::key::CompactKey as core::fmt::Display>::fmt
0
<pageserver_api::key::CompactKey>::raw
10
<pageserver_api::key::DecodeError as core::fmt::Display>::fmt
0
<pageserver_api::key::Key as core::fmt::Display>::fmt
98018
<pageserver_api::key::Key as core::str::traits::FromStr>::from_str
9
<pageserver_api::key::Key>::add
6141745
<pageserver_api::key::Key>::from_compact
5075177
<pageserver_api::key::Key>::from_hex
20952
<pageserver_api::key::Key>::from_i128
5909821
<pageserver_api::key::Key>::from_metadata_key
1
<pageserver_api::key::Key>::from_metadata_key_fixed_size
21
<pageserver_api::key::Key>::from_slice
3968723
<pageserver_api::key::Key>::is_aux_file_key
36292
<pageserver_api::key::Key>::is_i128_representable
8935535
<pageserver_api::key::Key>::is_inherited_key
0
<pageserver_api::key::Key>::is_inherited_sparse_key
0
<pageserver_api::key::Key>::is_metadata_key
322
<pageserver_api::key::Key>::is_rel_block_key
533787
<pageserver_api::key::Key>::is_rel_block_of_rel
0
<pageserver_api::key::Key>::is_rel_dir_key
100
<pageserver_api::key::Key>::is_rel_fsm_block_key
0
<pageserver_api::key::Key>::is_rel_size_key
82
<pageserver_api::key::Key>::is_rel_vm_block_key
0
<pageserver_api::key::Key>::is_slru_block_key
322636
<pageserver_api::key::Key>::is_slru_dir_key
36192
<pageserver_api::key::Key>::is_slru_segment_size_key
36192
<pageserver_api::key::Key>::is_sparse
1796295
<pageserver_api::key::Key>::is_valid_key_on_write_path
2408328
<pageserver_api::key::Key>::is_valid_key_on_write_path_strong
0
<pageserver_api::key::Key>::metadata_aux_key_range
175
<pageserver_api::key::Key>::metadata_key_range
450
<pageserver_api::key::Key>::next
6075544
<pageserver_api::key::Key>::rel_dir_sparse_key_range
169
<pageserver_api::key::Key>::sparse_non_inherited_keyspace
425946
<pageserver_api::key::Key>::to_compact
3473530
<pageserver_api::key::Key>::to_i128
6527207
<pageserver_api::key::Key>::to_rel_block
72824
<pageserver_api::key::Key>::to_slru_block
0
<pageserver_api::key::Key>::write_to_byte_slice
3423325
<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::ToRelBlockError as core::fmt::Display>::fmt
0
pageserver_api::key::dbdir_key_range
0
pageserver_api::key::is_metadata_key_slice
22
pageserver_api::key::rel_block_to_key
645958
pageserver_api::key::rel_dir_to_key
974
pageserver_api::key::rel_key_range
1
pageserver_api::key::rel_size_to_key
142314
pageserver_api::key::rel_tag_sparse_key
0
pageserver_api::key::rel_tag_sparse_key_range
0
pageserver_api::key::relmap_file_key
8
pageserver_api::key::repl_origin_key
3
pageserver_api::key::repl_origin_key_range
171
pageserver_api::key::slru_block_to_key
7
pageserver_api::key::slru_dir_kind
36192
pageserver_api::key::slru_dir_to_key
828
pageserver_api::key::slru_segment_key_range
0
pageserver_api::key::slru_segment_size_to_key
3
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::twophase_file_key
0
pageserver_api::key::twophase_key_range
0
Generated by:
LCOV version 2.1-beta