LCOV - code coverage report
Current view:
top level
-
safekeeper/tests/walproposer_sim
- walproposer_api.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
a2f0f8a80fbf1089336086fa360ce27fa555cb1a.info
Lines:
94.9 %
486
461
Test Date:
2024-11-20 17:59:39
Functions:
99.3 %
138
137
Function Name
Hit count
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr
77
::get_flush_rec_ptr
0
::get_flush_rec_ptr
4
::get_flush_rec_ptr
73
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming
135
::start_streaming
1
::start_streaming
9
::start_streaming
125
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn
228
::get_redo_start_lsn
3
::get_redo_start_lsn
19
::get_redo_start_lsn
206
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers
306
::finish_sync_safekeepers
3
::finish_sync_safekeepers
13
::finish_sync_safekeepers
290
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election
631
::after_election
4
::after_election
39
::after_election
588
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download
631
::recovery_download
4
::recovery_download
39
::recovery_download
588
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor
783
::update_donor
2
::update_donor
51
::update_donor
730
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate
823
::wal_reader_allocate
2
::wal_reader_allocate
55
::wal_reader_allocate
766
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read
899
::wal_read
200
::wal_read
233
::wal_read
466
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state
2045
::get_shmem_state
10
::get_shmem_state
129
::get_shmem_state
1906
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback
2114
::process_safekeeper_feedback
314
::process_safekeeper_feedback
466
::process_safekeeper_feedback
1334
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write
4434
::conn_async_write
406
::conn_async_write
658
::conn_async_write
3370
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set
5579
::active_state_update_event_set
679
::active_state_update_event_set
1039
::active_state_update_event_set
3861
<misc_test::walproposer_sim::walproposer_api::EventSet>::new
9303
::new
4
::new
47
::new
9252
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set
9303
::init_event_set
4
::init_event_set
47
::init_event_set
9252
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random
9303
::strong_random
4
::strong_random
47
::strong_random
9252
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new
9303
::new
4
::new
47
::new
9252
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message
10987
::conn_error_message
2
::conn_error_message
25
::conn_error_message
10960
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish
11231
::conn_finish
2
::conn_finish
26
::conn_finish
11203
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events
15576
::wal_reader_events
1632
::wal_reader_events
2665
::wal_reader_events
11279
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read
17165
::conn_async_read
607
::conn_async_read
1116
::conn_async_read
15442
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable
27480
::sort_readable
394
::sort_readable
802
::sort_readable
26284
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait
27480
::wait
394
::wait
802
::wait
26284
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new
27909
::new
12
::new
141
::new
27756
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0}
27909
::new::{closure#0}
12
::new::{closure#0}
141
::new::{closure#0}
27756
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll
30695
::conn_connect_poll
10
::conn_connect_poll
140
::conn_connect_poll
30545
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result
30695
::conn_get_query_result
10
::conn_get_query_result
140
::conn_get_query_result
30545
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query
30695
::conn_send_query
10
::conn_send_query
140
::conn_send_query
30545
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write
33917
::conn_blocking_write
20
::conn_blocking_write
254
::conn_blocking_write
33643
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start
34126
::conn_connect_start
12
::conn_connect_start
158
::conn_connect_start
33956
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status
34126
::conn_status
12
::conn_status
158
::conn_status
33956
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper
38495
::remove_safekeeper
10
::remove_safekeeper
148
::remove_safekeeper
38337
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set
38495
::rm_safekeeper_event_set
10
::rm_safekeeper_event_set
148
::rm_safekeeper_event_set
38337
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set
44066
::refresh_event_set
689
::refresh_event_set
1187
::refresh_event_set
42190
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper
61390
::add_safekeeper
20
::add_safekeeper
280
::add_safekeeper
61090
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set
61390
::add_safekeeper_event_set
20
::add_safekeeper_event_set
280
::add_safekeeper_event_set
61090
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set
66983
::update_event_set
38
::update_event_set
479
::update_event_set
66466
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set
66983
::update_event_set
38
::update_event_set
479
::update_event_set
66466
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0}
81720
::remove_safekeeper::{closure#0}
20
::remove_safekeeper::{closure#0}
318
::remove_safekeeper::{closure#0}
81382
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set
88870
::wait_event_set
414
::wait_event_set
1082
::wait_event_set
87374
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal
90246
::log_internal
784
::log_internal
1864
::log_internal
87598
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0}
253699
::update_event_set::{closure#0}
124
::update_event_set::{closure#0}
1662
::update_event_set::{closure#0}
251913
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn
298689
::get_conn
1125
::get_conn
3280
::get_conn
294284
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}
298689
::get_conn::{closure#0}
1125
::get_conn::{closure#0}
3280
::get_conn::{closure#0}
294284
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp
318620
::get_current_timestamp
1384
::get_current_timestamp
3872
::get_current_timestamp
313364
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0}
596447
::get_conn::{closure#0}::{closure#0}
1729
::get_conn::{closure#0}::{closure#0}
5992
::get_conn::{closure#0}::{closure#0}
588726
Generated by:
LCOV version 2.1-beta