LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- keyspace.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
5994c4f679fd099a9a8c180070d049e614bb817d.info
Lines:
96.5 %
803
775
Test Date:
2025-07-31 15:05:35
Functions:
96.9 %
65
63
Function Name
Hit count
<pageserver_api::keyspace::KeyPartitioning>::into_sparse
235
<pageserver_api::keyspace::KeyPartitioning>::new
470
<pageserver_api::keyspace::KeySpace as core::fmt::Display>::fmt
0
<pageserver_api::keyspace::KeySpace>::contains
421655
<pageserver_api::keyspace::KeySpace>::end
1562431
<pageserver_api::keyspace::KeySpace>::is_empty
1310012
<pageserver_api::keyspace::KeySpace>::merge
489241
<pageserver_api::keyspace::KeySpace>::merge::{closure#0}
181268
<pageserver_api::keyspace::KeySpace>::overlaps
422562
<pageserver_api::keyspace::KeySpace>::overlaps_at
1761209
<pageserver_api::keyspace::KeySpace>::partition
169
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with
1562266
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0}
834202
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1}
800961
<pageserver_api::keyspace::KeySpace>::single
315571
<pageserver_api::keyspace::KeySpace>::start
1562271
<pageserver_api::keyspace::KeySpace>::total_raw_size
1320906
<pageserver_api::keyspace::KeySpace>::total_raw_size::{closure#0}
584135
<pageserver_api::keyspace::KeySpaceAccum>::add_key
2071653
<pageserver_api::keyspace::KeySpaceAccum>::add_range
3205688
<pageserver_api::keyspace::KeySpaceAccum>::consume_keyspace
702
<pageserver_api::keyspace::KeySpaceAccum>::new
544357
<pageserver_api::keyspace::KeySpaceAccum>::raw_size
1520
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace
965015
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key
372857
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_keyspace
503350
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range
1578352
<pageserver_api::keyspace::KeySpaceRandomAccum>::consume_keyspace
1319986
<pageserver_api::keyspace::KeySpaceRandomAccum>::new
3660394
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace
2496144
<pageserver_api::keyspace::ShardedRange>::distance_to_next_boundary
3662
<pageserver_api::keyspace::ShardedRange>::fragment
2017
<pageserver_api::keyspace::ShardedRange>::new
2024
<pageserver_api::keyspace::ShardedRange>::page_count
1019
<pageserver_api::keyspace::ShardedRange>::raw_size
3789826
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense
191
pageserver_api::keyspace::contiguous_range_len
3788848
pageserver_api::keyspace::is_contiguous_range
7580871
pageserver_api::keyspace::singleton_range
2444510
pageserver_api::keyspace::tests::assert_ks_eq
11
pageserver_api::keyspace::tests::contiguous_range_check
1
pageserver_api::keyspace::tests::do_fragment
1012
pageserver_api::keyspace::tests::do_fragment::{closure#0}
702
pageserver_api::keyspace::tests::dump_keyspace
0
pageserver_api::keyspace::tests::keyspace_add_range
1
pageserver_api::keyspace::tests::keyspace_consume
1
pageserver_api::keyspace::tests::keyspace_consume::{closure#0}
3
pageserver_api::keyspace::tests::keyspace_overlaps
1
pageserver_api::keyspace::tests::kr
46
pageserver_api::keyspace::tests::shard_identity_keyspaces_forkno_gap
1
pageserver_api::keyspace::tests::shard_identity_keyspaces_one_relation
1
pageserver_api::keyspace::tests::shard_identity_keyspaces_single_key
1
pageserver_api::keyspace::tests::sharded_range_fragment_cross_relation
1
pageserver_api::keyspace::tests::sharded_range_fragment_fuzz
1
pageserver_api::keyspace::tests::sharded_range_fragment_fuzz::{closure#0}
1073
pageserver_api::keyspace::tests::sharded_range_fragment_multi_stripe
1
pageserver_api::keyspace::tests::sharded_range_fragment_simple
1
pageserver_api::keyspace::tests::sharded_range_fragment_starting_from_logical_size
1
pageserver_api::keyspace::tests::sharded_range_fragment_tiny_nblocks
1
pageserver_api::keyspace::tests::sharded_range_fragment_unsharded
1
pageserver_api::keyspace::tests::sharded_range_relation_gap
1
pageserver_api::keyspace::tests::test_remove_full_overlapps
1
pageserver_api::keyspace::tests::test_remove_no_overlaps
1
pageserver_api::keyspace::tests::test_remove_one_range_overlaps_multiple
1
pageserver_api::keyspace::tests::test_remove_partial_overlaps
1
Generated by:
LCOV version 2.1-beta