LCOV - code coverage report
Current view:
top level
-
safekeeper/tests/walproposer_sim
- walproposer_api.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
49040913899e039f968232990d494ba88feb8fb7.info
Lines:
93.8 %
486
456
Test Date:
2025-03-19 21:30:20
Functions:
97.1 %
138
134
Function Name
Hit count
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random
0
::strong_random
0
::strong_random
0
::strong_random
0
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr
85
::get_flush_rec_ptr
0
::get_flush_rec_ptr
4
::get_flush_rec_ptr
81
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming
115
::start_streaming
1
::start_streaming
9
::start_streaming
105
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn
168
::get_redo_start_lsn
2
::get_redo_start_lsn
14
::get_redo_start_lsn
152
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers
287
::finish_sync_safekeepers
3
::finish_sync_safekeepers
13
::finish_sync_safekeepers
271
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election
448
::after_election
1
::after_election
33
::after_election
414
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download
448
::recovery_download
1
::recovery_download
33
::recovery_download
414
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor
767
::update_donor
2
::update_donor
51
::update_donor
714
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate
820
::wal_reader_allocate
2
::wal_reader_allocate
55
::wal_reader_allocate
763
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read
834
::wal_read
200
::wal_read
233
::wal_read
401
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state
1667
::get_shmem_state
4
::get_shmem_state
117
::get_shmem_state
1546
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback
1874
::process_safekeeper_feedback
314
::process_safekeeper_feedback
466
::process_safekeeper_feedback
1094
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write
4222
::conn_async_write
406
::conn_async_write
658
::conn_async_write
3158
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set
5128
::active_state_update_event_set
679
::active_state_update_event_set
1039
::active_state_update_event_set
3410
<misc_test::walproposer_sim::walproposer_api::EventSet>::new
9049
::new
4
::new
47
::new
8998
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set
9049
::init_event_set
4
::init_event_set
47
::init_event_set
8998
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new
9049
::new
4
::new
47
::new
8998
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message
10853
::conn_error_message
2
::conn_error_message
25
::conn_error_message
10826
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish
11132
::conn_finish
2
::conn_finish
26
::conn_finish
11104
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events
13743
::wal_reader_events
1632
::wal_reader_events
2665
::wal_reader_events
9446
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read
16702
::conn_async_read
607
::conn_async_read
1116
::conn_async_read
14979
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable
27013
::sort_readable
394
::sort_readable
802
::sort_readable
25817
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait
27013
::wait
394
::wait
802
::wait
25817
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new
27147
::new
12
::new
141
::new
26994
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0}
27147
::new::{closure#0}
12
::new::{closure#0}
141
::new::{closure#0}
26994
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll
30062
::conn_connect_poll
10
::conn_connect_poll
140
::conn_connect_poll
29912
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result
30062
::conn_get_query_result
10
::conn_get_query_result
140
::conn_get_query_result
29912
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query
30062
::conn_send_query
10
::conn_send_query
140
::conn_send_query
29912
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write
33273
::conn_blocking_write
20
::conn_blocking_write
254
::conn_blocking_write
32999
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start
33411
::conn_connect_start
12
::conn_connect_start
158
::conn_connect_start
33241
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status
33411
::conn_status
12
::conn_status
158
::conn_status
33241
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper
37845
::remove_safekeeper
10
::remove_safekeeper
148
::remove_safekeeper
37687
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set
37845
::rm_safekeeper_event_set
10
::rm_safekeeper_event_set
148
::rm_safekeeper_event_set
37687
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set
42969
::refresh_event_set
689
::refresh_event_set
1187
::refresh_event_set
41093
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper
60124
::add_safekeeper
20
::add_safekeeper
280
::add_safekeeper
59824
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set
60124
::add_safekeeper_event_set
20
::add_safekeeper_event_set
280
::add_safekeeper_event_set
59824
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set
65142
::update_event_set
34
::update_event_set
440
::update_event_set
64668
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set
65142
::update_event_set
34
::update_event_set
440
::update_event_set
64668
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0}
80554
::remove_safekeeper::{closure#0}
20
::remove_safekeeper::{closure#0}
318
::remove_safekeeper::{closure#0}
80216
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set
87137
::wait_event_set
414
::wait_event_set
1082
::wait_event_set
85641
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal
145518
::log_internal
803
::log_internal
2139
::log_internal
142576
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0}
246887
::update_event_set::{closure#0}
112
::update_event_set::{closure#0}
1541
::update_event_set::{closure#0}
245234
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn
292180
::get_conn
1121
::get_conn
3241
::get_conn
287818
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}
292180
::get_conn::{closure#0}
1121
::get_conn::{closure#0}
3241
::get_conn::{closure#0}
287818
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp
312459
::get_current_timestamp
1384
::get_current_timestamp
3872
::get_current_timestamp
307203
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0}
583125
::get_conn::{closure#0}::{closure#0}
1721
::get_conn::{closure#0}::{closure#0}
5905
::get_conn::{closure#0}::{closure#0}
575499
Generated by:
LCOV version 2.1-beta