LCOV - code coverage report
Current view:
top level
-
safekeeper/tests/walproposer_sim
- walproposer_api.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
09e7485004805bd42b53a0c369170b3228136512.info
Lines:
95.5 %
486
464
Test Date:
2024-11-21 18:36:18
Functions:
99.3 %
138
137
Function Name
Hit count
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr
121
::get_flush_rec_ptr
0
::get_flush_rec_ptr
4
::get_flush_rec_ptr
117
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming
181
::start_streaming
1
::start_streaming
9
::start_streaming
171
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn
305
::get_redo_start_lsn
3
::get_redo_start_lsn
19
::get_redo_start_lsn
283
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers
364
::finish_sync_safekeepers
3
::finish_sync_safekeepers
13
::finish_sync_safekeepers
348
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election
689
::after_election
4
::after_election
39
::after_election
646
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download
689
::recovery_download
4
::recovery_download
39
::recovery_download
646
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor
886
::update_donor
2
::update_donor
51
::update_donor
833
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read
916
::wal_read
200
::wal_read
233
::wal_read
483
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate
921
::wal_reader_allocate
2
::wal_reader_allocate
55
::wal_reader_allocate
864
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state
2274
::get_shmem_state
10
::get_shmem_state
129
::get_shmem_state
2135
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback
2349
::process_safekeeper_feedback
314
::process_safekeeper_feedback
466
::process_safekeeper_feedback
1569
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write
4795
::conn_async_write
406
::conn_async_write
658
::conn_async_write
3731
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set
6058
::active_state_update_event_set
679
::active_state_update_event_set
1039
::active_state_update_event_set
4340
<misc_test::walproposer_sim::walproposer_api::EventSet>::new
8718
::new
4
::new
47
::new
8667
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set
8718
::init_event_set
4
::init_event_set
47
::init_event_set
8667
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random
8718
::strong_random
4
::strong_random
47
::strong_random
8667
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new
8718
::new
4
::new
47
::new
8667
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message
10579
::conn_error_message
2
::conn_error_message
25
::conn_error_message
10552
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish
10852
::conn_finish
2
::conn_finish
26
::conn_finish
10824
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events
17110
::wal_reader_events
1632
::wal_reader_events
2665
::wal_reader_events
12813
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read
17903
::conn_async_read
607
::conn_async_read
1116
::conn_async_read
16180
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new
26154
::new
12
::new
141
::new
26001
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0}
26154
::new::{closure#0}
12
::new::{closure#0}
141
::new::{closure#0}
26001
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable
27303
::sort_readable
394
::sort_readable
802
::sort_readable
26107
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait
27303
::wait
394
::wait
802
::wait
26107
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll
29121
::conn_connect_poll
10
::conn_connect_poll
140
::conn_connect_poll
28971
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result
29121
::conn_get_query_result
10
::conn_get_query_result
140
::conn_get_query_result
28971
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query
29121
::conn_send_query
10
::conn_send_query
140
::conn_send_query
28971
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start
32284
::conn_connect_start
12
::conn_connect_start
158
::conn_connect_start
32114
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status
32284
::conn_status
12
::conn_status
158
::conn_status
32114
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write
32549
::conn_blocking_write
20
::conn_blocking_write
254
::conn_blocking_write
32275
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper
36810
::remove_safekeeper
10
::remove_safekeeper
148
::remove_safekeeper
36652
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set
36810
::rm_safekeeper_event_set
10
::rm_safekeeper_event_set
148
::rm_safekeeper_event_set
36652
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set
42862
::refresh_event_set
689
::refresh_event_set
1187
::refresh_event_set
40986
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper
58242
::add_safekeeper
20
::add_safekeeper
280
::add_safekeeper
57942
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set
58242
::add_safekeeper_event_set
20
::add_safekeeper_event_set
280
::add_safekeeper_event_set
57942
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set
64181
::update_event_set
38
::update_event_set
479
::update_event_set
63664
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set
64181
::update_event_set
38
::update_event_set
479
::update_event_set
63664
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0}
78292
::remove_safekeeper::{closure#0}
20
::remove_safekeeper::{closure#0}
318
::remove_safekeeper::{closure#0}
77954
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set
85545
::wait_event_set
414
::wait_event_set
1082
::wait_event_set
84049
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal
88119
::log_internal
784
::log_internal
1864
::log_internal
85471
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0}
242531
::update_event_set::{closure#0}
124
::update_event_set::{closure#0}
1662
::update_event_set::{closure#0}
240745
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn
286942
::get_conn
1125
::get_conn
3280
::get_conn
282537
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}
286942
::get_conn::{closure#0}
1125
::get_conn::{closure#0}
3280
::get_conn::{closure#0}
282537
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp
306836
::get_current_timestamp
1384
::get_current_timestamp
3872
::get_current_timestamp
301580
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0}
572829
::get_conn::{closure#0}::{closure#0}
1729
::get_conn::{closure#0}::{closure#0}
5992
::get_conn::{closure#0}::{closure#0}
565108
Generated by:
LCOV version 2.1-beta