LCOV - code coverage report
Current view:
top level
-
safekeeper/tests/walproposer_sim
- walproposer_api.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
7eb96e224e685167ad85f58f858387d8cf253f63.info
Lines:
95.5 %
486
464
Test Date:
2024-09-23 21:23:07
Functions:
99.3 %
138
137
Function Name
Hit count
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr
445
::get_flush_rec_ptr
0
::get_flush_rec_ptr
4
::get_flush_rec_ptr
441
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming
769
::start_streaming
1
::start_streaming
9
::start_streaming
759
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn
1259
::get_redo_start_lsn
3
::get_redo_start_lsn
19
::get_redo_start_lsn
1237
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers
1540
::finish_sync_safekeepers
3
::finish_sync_safekeepers
13
::finish_sync_safekeepers
1524
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election
3196
::after_election
4
::after_election
39
::after_election
3153
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download
3196
::recovery_download
4
::recovery_download
39
::recovery_download
3153
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor
4396
::update_donor
2
::update_donor
51
::update_donor
4343
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate
4563
::wal_reader_allocate
2
::wal_reader_allocate
55
::wal_reader_allocate
4506
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback
8532
::process_safekeeper_feedback
314
::process_safekeeper_feedback
466
::process_safekeeper_feedback
7752
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state
10820
::get_shmem_state
10
::get_shmem_state
129
::get_shmem_state
10681
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read
15693
::wal_read
404
::wal_read
603
::wal_read
14686
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write
20256
::conn_async_write
406
::conn_async_write
658
::conn_async_write
19192
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set
23636
::active_state_update_event_set
679
::active_state_update_event_set
1039
::active_state_update_event_set
21918
<misc_test::walproposer_sim::walproposer_api::EventSet>::new
36337
::new
4
::new
47
::new
36286
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set
36337
::init_event_set
4
::init_event_set
47
::init_event_set
36286
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random
36337
::strong_random
4
::strong_random
47
::strong_random
36286
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new
36337
::new
4
::new
47
::new
36286
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message
42701
::conn_error_message
2
::conn_error_message
25
::conn_error_message
42674
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish
43747
::conn_finish
2
::conn_finish
26
::conn_finish
43719
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events
67988
::wal_reader_events
1632
::wal_reader_events
2665
::wal_reader_events
63691
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read
72417
::conn_async_read
607
::conn_async_read
1116
::conn_async_read
70694
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new
109011
::new
12
::new
141
::new
108858
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0}
109011
::new::{closure#0}
12
::new::{closure#0}
141
::new::{closure#0}
108858
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable
111973
::sort_readable
394
::sort_readable
802
::sort_readable
110777
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait
111973
::wait
394
::wait
802
::wait
110777
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll
120197
::conn_connect_poll
10
::conn_connect_poll
140
::conn_connect_poll
120047
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result
120197
::conn_get_query_result
10
::conn_get_query_result
140
::conn_get_query_result
120047
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query
120197
::conn_send_query
10
::conn_send_query
140
::conn_send_query
120047
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start
133571
::conn_connect_start
12
::conn_connect_start
158
::conn_connect_start
133401
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status
133571
::conn_status
12
::conn_status
158
::conn_status
133401
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write
135631
::conn_blocking_write
20
::conn_blocking_write
254
::conn_blocking_write
135357
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper
150570
::remove_safekeeper
10
::remove_safekeeper
148
::remove_safekeeper
150412
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set
150570
::rm_safekeeper_event_set
10
::rm_safekeeper_event_set
148
::rm_safekeeper_event_set
150412
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set
174175
::refresh_event_set
689
::refresh_event_set
1187
::refresh_event_set
172299
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper
240394
::add_safekeeper
20
::add_safekeeper
280
::add_safekeeper
240094
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set
240394
::add_safekeeper_event_set
20
::add_safekeeper_event_set
280
::add_safekeeper_event_set
240094
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set
266941
::update_event_set
38
::update_event_set
479
::update_event_set
266424
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set
266941
::update_event_set
38
::update_event_set
479
::update_event_set
266424
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0}
320073
::remove_safekeeper::{closure#0}
20
::remove_safekeeper::{closure#0}
318
::remove_safekeeper::{closure#0}
319735
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set
352367
::wait_event_set
414
::wait_event_set
1082
::wait_event_set
350871
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal
365359
::log_internal
781
::log_internal
1858
::log_internal
362720
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0}
1006633
::update_event_set::{closure#0}
124
::update_event_set::{closure#0}
1662
::update_event_set::{closure#0}
1004847
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn
1184943
::get_conn
1125
::get_conn
3280
::get_conn
1180538
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}
1184943
::get_conn::{closure#0}
1125
::get_conn::{closure#0}
3280
::get_conn::{closure#0}
1180538
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp
1265808
::get_current_timestamp
1384
::get_current_timestamp
3872
::get_current_timestamp
1260552
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0}
2367243
::get_conn::{closure#0}::{closure#0}
1729
::get_conn::{closure#0}::{closure#0}
5992
::get_conn::{closure#0}::{closure#0}
2359522
Generated by:
LCOV version 2.1-beta