LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- keyspace.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
322b88762cba8ea666f63cda880cccab6936bf37.info
Lines:
92.5 %
466
431
Test Date:
2024-02-29 11:57:12
Functions:
86.7 %
60
52
Function Name
Hit count
<pageserver_api::keyspace::KeySpace>::merge::{closure#0}
0
pageserver_api::keyspace::tests::dump_keyspace
0
pageserver_api::keyspace::tests::keyspace_add_range
2
pageserver_api::keyspace::tests::keyspace_add_range::{closure#0}
2
pageserver_api::keyspace::tests::keyspace_consume
2
pageserver_api::keyspace::tests::keyspace_overlaps
2
pageserver_api::keyspace::tests::keyspace_overlaps::{closure#0}
2
pageserver_api::keyspace::tests::test_remove_full_overlapps
2
pageserver_api::keyspace::tests::test_remove_full_overlapps::{closure#0}
2
pageserver_api::keyspace::tests::test_remove_no_overlaps
2
pageserver_api::keyspace::tests::test_remove_no_overlaps::{closure#0}
2
pageserver_api::keyspace::tests::test_remove_one_range_overlaps_multiple
2
pageserver_api::keyspace::tests::test_remove_one_range_overlaps_multiple::{closure#0}
2
pageserver_api::keyspace::tests::test_remove_partial_overlaps
2
pageserver_api::keyspace::tests::test_remove_partial_overlaps::{closure#0}
2
pageserver_api::keyspace::tests::keyspace_consume::{closure#0}
8
<pageserver_api::keyspace::KeySpaceRandomAccum as core::fmt::Debug>::fmt
18
::clone
0
::fmt
0
::default
18
<pageserver_api::keyspace::KeySpace>::merge
20
<pageserver_api::keyspace::KeySpaceRandomAccum>::consume_keyspace
20
pageserver_api::keyspace::tests::assert_ks_eq
22
<pageserver_api::keyspace::KeySpace>::overlaps
26
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0}
28
<pageserver_api::keyspace::KeySpaceRandomAccum>::new
30
<pageserver_api::keyspace::KeySpace>::end
38
<pageserver_api::keyspace::KeySpace>::end::{closure#0}
38
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with
38
<pageserver_api::keyspace::KeySpace>::start
38
<pageserver_api::keyspace::KeySpace>::start::{closure#0}
38
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace
38
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1}
40
pageserver_api::keyspace::tests::kr
92
<pageserver_api::keyspace::KeySpace>::overlaps_at
102
<pageserver_api::keyspace::KeySpace>::overlaps_at::{closure#0}
134
<pageserver_api::keyspace::KeySpace>::partition
174
<pageserver_api::keyspace::KeyPartitioning>::new
296
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key
320
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range
362
<pageserver_api::keyspace::KeySpace>::total_size::{closure#0}
444
<pageserver_api::keyspace::KeySpaceAccum>::consume_keyspace
448
<pageserver_api::keyspace::KeySpace>::total_size
464
<pageserver_api::keyspace::KeyPartitioning as core::fmt::Debug>::fmt
482
::default
0
::fmt
0
::clone
482
<pageserver_api::keyspace::KeySpaceAccum>::size
598
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace::{closure#0}
680
<pageserver_api::keyspace::KeySpaceAccum>::new
7368
<pageserver_api::keyspace::KeySpace as core::fmt::Debug>::fmt
12322
::default
10
::fmt
10
::clone
532
::eq
11770
<pageserver_api::keyspace::KeySpaceAccum as core::fmt::Debug>::fmt
16918
::clone
0
::fmt
0
::default
16918
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace
24194
<pageserver_api::keyspace::KeySpaceAccum>::add_key
2077864
pageserver_api::keyspace::singleton_range
2078184
<pageserver_api::keyspace::KeySpaceAccum>::add_range
2089536
pageserver_api::keyspace::key_range_size
2091030
Generated by:
LCOV version 2.1-beta