LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- key.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
1c072cf775425a8f441e533586eea4edd880d500.info
Lines:
67.3 %
498
335
Test Date:
2025-02-14 11:35:56
Functions:
65.7 %
67
44
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::convert::From<i128>>::from
5
<pageserver_api::key::CompactKey as core::fmt::Display>::fmt
0
<pageserver_api::key::CompactKey>::raw
10
<pageserver_api::key::Key as core::fmt::Display>::fmt
760246
<pageserver_api::key::Key as core::str::traits::FromStr>::from_str
9
<pageserver_api::key::Key>::add
16670196
<pageserver_api::key::Key>::from_compact
20242679
<pageserver_api::key::Key>::from_hex
80395
<pageserver_api::key::Key>::from_i128
21398739
<pageserver_api::key::Key>::from_metadata_key
1
<pageserver_api::key::Key>::from_metadata_key_fixed_size
63
<pageserver_api::key::Key>::from_slice
12171145
<pageserver_api::key::Key>::is_aux_file_key
2098633
<pageserver_api::key::Key>::is_i128_representable
33179269
<pageserver_api::key::Key>::is_inherited_key
0
<pageserver_api::key::Key>::is_inherited_sparse_key
0
<pageserver_api::key::Key>::is_metadata_key
1227
<pageserver_api::key::Key>::is_rel_block_key
7997189
<pageserver_api::key::Key>::is_rel_dir_key
400
<pageserver_api::key::Key>::is_rel_fsm_block_key
0
<pageserver_api::key::Key>::is_rel_size_key
5
<pageserver_api::key::Key>::is_rel_vm_block_key
0
<pageserver_api::key::Key>::is_slru_block_key
3244180
<pageserver_api::key::Key>::is_slru_dir_key
2098633
<pageserver_api::key::Key>::is_slru_segment_size_key
2098633
<pageserver_api::key::Key>::is_sparse
1555955
<pageserver_api::key::Key>::is_valid_key_on_write_path
9633289
<pageserver_api::key::Key>::is_valid_key_on_write_path_strong
0
<pageserver_api::key::Key>::metadata_aux_key_range
669
<pageserver_api::key::Key>::metadata_key_range
2626
<pageserver_api::key::Key>::next
16657700
<pageserver_api::key::Key>::sparse_non_inherited_keyspace
1706985
<pageserver_api::key::Key>::to_compact
13753668
<pageserver_api::key::Key>::to_i128
23545980
<pageserver_api::key::Key>::to_rel_block
291296
<pageserver_api::key::Key>::to_slru_block
0
<pageserver_api::key::Key>::write_to_byte_slice
14583530
pageserver_api::key::dbdir_key_range
0
pageserver_api::key::is_metadata_key_slice
64
pageserver_api::key::rel_block_to_key
2583814
pageserver_api::key::rel_dir_to_key
3896
pageserver_api::key::rel_key_range
4
pageserver_api::key::rel_size_to_key
579508
pageserver_api::key::relmap_file_key
32
pageserver_api::key::repl_origin_key
0
pageserver_api::key::repl_origin_key_range
645
pageserver_api::key::slru_block_to_key
28
pageserver_api::key::slru_dir_kind
2098633
pageserver_api::key::slru_dir_to_key
3126
pageserver_api::key::slru_segment_key_range
0
pageserver_api::key::slru_segment_size_to_key
12
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