LCOV - code coverage report
Current view:
top level
-
safekeeper/tests/walproposer_sim
- walproposer_api.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
960803fca14b2e843c565dddf575f7017d250bc3.info
Lines:
95.5 %
486
464
Test Date:
2024-06-22 23:41:44
Functions:
99.3 %
138
137
Function Name
Hit count
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr
753
::get_flush_rec_ptr
0
::get_flush_rec_ptr
8
::get_flush_rec_ptr
745
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming
1167
::start_streaming
2
::start_streaming
18
::start_streaming
1147
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn
2047
::get_redo_start_lsn
6
::get_redo_start_lsn
38
::get_redo_start_lsn
2003
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers
2590
::finish_sync_safekeepers
6
::finish_sync_safekeepers
26
::finish_sync_safekeepers
2558
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election
5268
::after_election
8
::after_election
78
::after_election
5182
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download
5268
::recovery_download
8
::recovery_download
78
::recovery_download
5182
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor
6662
::update_donor
4
::update_donor
102
::update_donor
6556
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate
7034
::wal_reader_allocate
4
::wal_reader_allocate
110
::wal_reader_allocate
6920
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback
12470
::process_safekeeper_feedback
628
::process_safekeeper_feedback
932
::process_safekeeper_feedback
10910
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state
17242
::get_shmem_state
20
::get_shmem_state
258
::get_shmem_state
16964
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read
24195
::wal_read
808
::wal_read
1206
::wal_read
22181
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write
31229
::conn_async_write
812
::conn_async_write
1316
::conn_async_write
29101
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set
35773
::active_state_update_event_set
1358
::active_state_update_event_set
2078
::active_state_update_event_set
32337
<misc_test::walproposer_sim::walproposer_api::EventSet>::new
72420
::new
8
::new
94
::new
72318
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set
72420
::init_event_set
8
::init_event_set
94
::init_event_set
72318
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random
72420
::strong_random
8
::strong_random
94
::strong_random
72318
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new
72420
::new
8
::new
94
::new
72318
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message
89413
::conn_error_message
4
::conn_error_message
50
::conn_error_message
89359
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish
91454
::conn_finish
4
::conn_finish
52
::conn_finish
91398
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events
101383
::wal_reader_events
3264
::wal_reader_events
5330
::wal_reader_events
92789
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read
134162
::conn_async_read
1214
::conn_async_read
2232
::conn_async_read
130716
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new
217260
::new
24
::new
282
::new
216954
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0}
217260
::new::{closure#0}
24
::new::{closure#0}
282
::new::{closure#0}
216954
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable
217949
::sort_readable
788
::sort_readable
1604
::sort_readable
215557
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait
217949
::wait
788
::wait
1604
::wait
215557
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll
241297
::conn_connect_poll
20
::conn_connect_poll
280
::conn_connect_poll
240997
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result
241297
::conn_get_query_result
20
::conn_get_query_result
280
::conn_get_query_result
240997
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query
241297
::conn_send_query
20
::conn_send_query
280
::conn_send_query
240997
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start
267960
::conn_connect_start
24
::conn_connect_start
316
::conn_connect_start
267620
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status
267960
::conn_status
24
::conn_status
316
::conn_status
267620
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write
269062
::conn_blocking_write
40
::conn_blocking_write
508
::conn_blocking_write
268514
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper
306088
::remove_safekeeper
20
::remove_safekeeper
296
::remove_safekeeper
305772
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set
306088
::rm_safekeeper_event_set
20
::rm_safekeeper_event_set
296
::rm_safekeeper_event_set
305772
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set
341816
::refresh_event_set
1378
::refresh_event_set
2374
::refresh_event_set
338064
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper
482594
::add_safekeeper
40
::add_safekeeper
560
::add_safekeeper
481994
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set
482594
::add_safekeeper_event_set
40
::add_safekeeper_event_set
560
::add_safekeeper_event_set
481994
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set
530609
::update_event_set
76
::update_event_set
958
::update_event_set
529575
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set
530609
::update_event_set
76
::update_event_set
958
::update_event_set
529575
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0}
650522
::remove_safekeeper::{closure#0}
40
::remove_safekeeper::{closure#0}
636
::remove_safekeeper::{closure#0}
649846
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set
700543
::wait_event_set
828
::wait_event_set
2164
::wait_event_set
697551
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal
711248
::log_internal
1562
::log_internal
3716
::log_internal
705970
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0}
2005711
::update_event_set::{closure#0}
248
::update_event_set::{closure#0}
3324
::update_event_set::{closure#0}
2002139
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn
2356451
::get_conn
2250
::get_conn
6560
::get_conn
2347641
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}
2356451
::get_conn::{closure#0}
2250
::get_conn::{closure#0}
6560
::get_conn::{closure#0}
2347641
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp
2512712
::get_current_timestamp
2768
::get_current_timestamp
7744
::get_current_timestamp
2502200
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0}
4709712
::get_conn::{closure#0}::{closure#0}
3458
::get_conn::{closure#0}::{closure#0}
11984
::get_conn::{closure#0}::{closure#0}
4694270
Generated by:
LCOV version 2.1-beta