LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - safekeeper_disk.rs (source / functions) Coverage Total Hit
Test: 09e7485004805bd42b53a0c369170b3228136512.info Lines: 82.8 % 157 130
Test Date: 2024-11-21 18:36:18 Functions: 71.8 % 78 56

Function Name Sort by function name Hit count Sort by function hit count
<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::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>::get_metrics 0
::get_metrics 0
::get_metrics 0
::get_metrics 0
<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::SafekeeperDisk as core::default::Default>::default 0
::default 0
::default 0
::default 0
<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::DiskWALStorage as safekeeper::wal_storage::Storage>::initialize_first_segment 264
::initialize_first_segment 2
::initialize_first_segment::{closure#0} 2
::initialize_first_segment 14
::initialize_first_segment::{closure#0} 14
::initialize_first_segment 116
::initialize_first_segment::{closure#0} 116
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::find_end_of_wal 512
::find_end_of_wal 0
::find_end_of_wal 33
::find_end_of_wal 479
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state 1430
::put_state 6
::put_state 15
::put_state 1409
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state::{closure#1} 1430
::put_state::{closure#1} 6
::put_state::{closure#1} 15
::put_state::{closure#1} 1409
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::new 1524
::new 6
::new 15
::new 1503
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::write_wal 1546
::write_wal 199
::write_wal::{closure#0} 199
::write_wal 218
::write_wal::{closure#0} 218
::write_wal 356
::write_wal::{closure#0} 356
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::truncate_wal 1668
::truncate_wal 2
::truncate_wal::{closure#0} 2
::truncate_wal 52
::truncate_wal::{closure#0} 52
::truncate_wal 780
::truncate_wal::{closure#0} 780
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::write_lsn 3358
::write_lsn 402
::write_lsn 564
::write_lsn 2392
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as safekeeper::control_file::Storage>::persist 7118
::persist 12
::persist::{closure#0} 12
::persist 168
::persist::{closure#0} 168
::persist 3379
::persist::{closure#0} 3379
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage>::new 8393
::new 6
::new 51
::new 8336
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::new 8393
::new 6
::new 51
::new 8336
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_wal 12978
::flush_wal 327
::flush_wal::{closure#0} 327
::flush_wal 663
::flush_wal::{closure#0} 663
::flush_wal 5499
::flush_wal::{closure#0} 5499
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_lsn 26746
::flush_lsn 1543
::flush_lsn 2574
::flush_lsn 22629
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as core::ops::deref::Deref>::deref 239899
::deref 3159
::deref 6893
::deref 229847

Generated by: LCOV version 2.1-beta