LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- keyspace.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
aca8877be6ceba750c1be359ed71bc1799d52b30.info
Lines:
93.1 %
448
417
Test Date:
2024-02-14 18:05:35
Functions:
77.2 %
57
44
Function Name
Hit count
<pageserver_api::keyspace::KeySpace>::total_size
0
<pageserver_api::keyspace::KeySpace>::total_size::{closure#0}
0
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key
0
<pageserver_api::keyspace::KeySpaceRandomAccum>::new
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::KeySpace>::end
8
<pageserver_api::keyspace::KeySpace>::end::{closure#0}
8
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with
8
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0}
8
<pageserver_api::keyspace::KeySpace>::start
8
<pageserver_api::keyspace::KeySpace>::start::{closure#0}
8
pageserver_api::keyspace::tests::keyspace_consume::{closure#0}
8
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1}
20
pageserver_api::keyspace::tests::assert_ks_eq
22
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range
42
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace::{closure#0}
60
pageserver_api::keyspace::tests::kr
92
<pageserver_api::keyspace::KeySpace>::overlaps_at::{closure#0}
114
<pageserver_api::keyspace::KeySpaceRandomAccum as core::fmt::Debug>::fmt
699
::clone
0
::fmt
0
::default
699
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace
699
<pageserver_api::keyspace::KeySpace>::partition
1499
<pageserver_api::keyspace::KeyPartitioning>::new
1592
<pageserver_api::keyspace::KeyPartitioning as core::fmt::Debug>::fmt
1701
::default
0
::fmt
0
::clone
1701
<pageserver_api::keyspace::KeySpace>::overlaps
4413
<pageserver_api::keyspace::KeySpace>::overlaps_at
4449
<pageserver_api::keyspace::KeySpaceAccum as core::fmt::Debug>::fmt
16460
::clone
0
::fmt
0
::default
16460
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace
25048
<pageserver_api::keyspace::KeySpace as core::fmt::Debug>::fmt
48752
::default
0
::fmt
0
::eq
11770
::clone
36982
<pageserver_api::keyspace::KeySpaceAccum>::consume_keyspace
77919
<pageserver_api::keyspace::KeySpaceAccum>::new
92996
<pageserver_api::keyspace::KeySpaceAccum>::size
229195
<pageserver_api::keyspace::KeySpaceAccum>::add_key
2049260
pageserver_api::keyspace::singleton_range
2049317
<pageserver_api::keyspace::KeySpaceAccum>::add_range
2793829
pageserver_api::keyspace::key_range_size
4148136
Generated by:
LCOV version 2.1-beta