LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - safekeeper_disk.rs (source / functions) Coverage Total Hit
Test: 5994c4f679fd099a9a8c180070d049e614bb817d.info Lines: 83.0 % 147 122
Test Date: 2025-07-31 15:05:35 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 254
::initialize_first_segment 3
::initialize_first_segment::{closure#0} 3
::initialize_first_segment 12
::initialize_first_segment::{closure#0} 12
::initialize_first_segment 112
::initialize_first_segment::{closure#0} 112
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::find_end_of_wal 448
::find_end_of_wal 0
::find_end_of_wal 7
::find_end_of_wal 441
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::truncate_wal 1282
::truncate_wal 3
::truncate_wal::{closure#0} 3
::truncate_wal 21
::truncate_wal::{closure#0} 21
::truncate_wal 617
::truncate_wal::{closure#0} 617
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state 1457
::put_state 6
::put_state 15
::put_state 1436
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state::{closure#1} 1457
::put_state::{closure#1} 6
::put_state::{closure#1} 15
::put_state::{closure#1} 1436
<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 1946
::write_wal 299
::write_wal::{closure#0} 299
::write_wal 303
::write_wal::{closure#0} 303
::write_wal 371
::write_wal::{closure#0} 371
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::write_lsn 3244
::write_lsn 605
::write_lsn 657
::write_lsn 1982
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as safekeeper::control_file::Storage>::persist 6142
::persist 15
::persist::{closure#0} 15
::persist 56
::persist::{closure#0} 56
::persist 3000
::persist::{closure#0} 3000
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage>::new 8860
::new 6
::new 40
::new 8814
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::new 8860
::new 6
::new 40
::new 8814
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_wal 11790
::flush_wal 483
::flush_wal::{closure#0} 483
::flush_wal 671
::flush_wal::{closure#0} 671
::flush_wal 4741
::flush_wal::{closure#0} 4741
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_lsn 25770
::flush_lsn 2311
::flush_lsn 2703
::flush_lsn 20756
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as core::ops::deref::Deref>::deref 350807
::deref 5816
::deref 8237
::deref 336754

Generated by: LCOV version 2.1-beta