LCOV - code coverage report
Current view:
top level
-
safekeeper/tests/walproposer_sim
- safekeeper_disk.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
7eb96e224e685167ad85f58f858387d8cf253f63.info
Lines:
82.8 %
157
130
Test Date:
2024-09-23 21:23:07
Functions:
71.8 %
78
56
Function Name
Hit count
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as core::ops::deref::Deref>::deref
1016691
::deref
7457
::deref
1005673
::deref
3561
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as safekeeper::control_file::Storage>::last_persist_at
0
::last_persist_at
0
::last_persist_at
0
::last_persist_at
0
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as safekeeper::control_file::Storage>::persist
32888
::persist
168
::persist::{closure#0}
168
::persist
16264
::persist::{closure#0}
16264
::persist
12
::persist::{closure#0}
12
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage>::new
34770
::new
51
::new
34713
::new
6
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::close
0
::close
0
::close
0
::close
0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_lsn
84355
::flush_lsn
1446
::flush_lsn
82170
::flush_lsn
739
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_wal
55470
::flush_wal
663
::flush_wal::{closure#0}
663
::flush_wal
26745
::flush_wal::{closure#0}
26745
::flush_wal
327
::flush_wal::{closure#0}
327
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::get_metrics
0
::get_metrics
0
::get_metrics
0
::get_metrics
0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::initialize_first_segment
1126
::initialize_first_segment
14
::initialize_first_segment::{closure#0}
14
::initialize_first_segment
547
::initialize_first_segment::{closure#0}
547
::initialize_first_segment
2
::initialize_first_segment::{closure#0}
2
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::remove_up_to
0
::remove_up_to
0
::remove_up_to
0
::remove_up_to
0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::remove_up_to::{closure#0}
0
::remove_up_to::{closure#0}
0
::remove_up_to::{closure#0}
0
::remove_up_to::{closure#0}
0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::truncate_wal
7826
::truncate_wal
52
::truncate_wal::{closure#0}
52
::truncate_wal
3859
::truncate_wal::{closure#0}
3859
::truncate_wal
2
::truncate_wal::{closure#0}
2
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::write_lsn
13151
::write_lsn
564
::write_lsn
12185
::write_lsn
402
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::write_wal
4620
::write_wal
218
::write_wal::{closure#0}
218
::write_wal
1893
::write_wal::{closure#0}
1893
::write_wal
199
::write_wal::{closure#0}
199
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::find_end_of_wal
2393
::find_end_of_wal
33
::find_end_of_wal
2360
::find_end_of_wal
0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::new
34770
::new
51
::new
34713
::new
6
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk as core::default::Default>::default
0
::default
0
::default
0
::default
0
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::new
6024
::new
15
::new
6003
::new
6
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state
5714
::put_state
15
::put_state
5693
::put_state
6
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state::{closure#0}
0
::put_state::{closure#0}
0
::put_state::{closure#0}
0
::put_state::{closure#0}
0
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state::{closure#1}
5714
::put_state::{closure#1}
15
::put_state::{closure#1}
5693
::put_state::{closure#1}
6
Generated by:
LCOV version 2.1-beta