LCOV - code coverage report
Current view:
top level
-
safekeeper/tests/walproposer_sim
- walproposer_api.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
5994c4f679fd099a9a8c180070d049e614bb817d.info
Lines:
92.9 %
453
421
Test Date:
2025-07-31 15:05:35
Functions:
96.4 %
138
133
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
115
::get_flush_rec_ptr
1
::get_flush_rec_ptr
3
::get_flush_rec_ptr
111
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming
115
::start_streaming
1
::start_streaming
5
::start_streaming
109
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn
178
::get_redo_start_lsn
2
::get_redo_start_lsn
9
::get_redo_start_lsn
167
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers
272
::finish_sync_safekeepers
3
::finish_sync_safekeepers
6
::finish_sync_safekeepers
263
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election
387
::after_election
1
::after_election
7
::after_election
379
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download
387
::recovery_download
1
::recovery_download
7
::recovery_download
379
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor
765
::update_donor
3
::update_donor
21
::update_donor
741
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate
777
::wal_reader_allocate
3
::wal_reader_allocate
21
::wal_reader_allocate
753
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read
1122
::wal_read
300
::wal_read
316
::wal_read
506
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state
1549
::get_shmem_state
5
::get_shmem_state
35
::get_shmem_state
1509
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback
2368
::process_safekeeper_feedback
466
::process_safekeeper_feedback
613
::process_safekeeper_feedback
1289
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write
4602
::conn_async_write
611
::conn_async_write
707
::conn_async_write
3284
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set
6011
::active_state_update_event_set
1001
::active_state_update_event_set
1268
::active_state_update_event_set
3742
<misc_test::walproposer_sim::walproposer_api::EventSet>::new
9048
::new
4
::new
39
::new
9005
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set
9048
::init_event_set
4
::init_event_set
39
::init_event_set
9005
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new
9048
::new
4
::new
39
::new
9005
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message
11246
::conn_error_message
0
::conn_error_message
19
::conn_error_message
11227
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish
11508
::conn_finish
0
::conn_finish
19
::conn_finish
11489
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read
17791
::conn_async_read
880
::conn_async_read
1264
::conn_async_read
15647
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events
18494
::wal_reader_events
3391
::wal_reader_events
4364
::wal_reader_events
10739
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new
27144
::new
12
::new
117
::new
27015
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0}
27144
::new::{closure#0}
12
::new::{closure#0}
117
::new::{closure#0}
27015
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable
27747
::sort_readable
516
::sort_readable
800
::sort_readable
26431
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait
27747
::wait
516
::wait
800
::wait
26431
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll
30265
::conn_connect_poll
12
::conn_connect_poll
114
::conn_connect_poll
30139
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result
30265
::conn_get_query_result
12
::conn_get_query_result
114
::conn_get_query_result
30139
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query
30265
::conn_send_query
12
::conn_send_query
114
::conn_send_query
30139
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write
33412
::conn_blocking_write
24
::conn_blocking_write
146
::conn_blocking_write
33242
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start
33680
::conn_connect_start
12
::conn_connect_start
128
::conn_connect_start
33540
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status
33680
::conn_status
12
::conn_status
128
::conn_status
33540
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper
38358
::remove_safekeeper
12
::remove_safekeeper
119
::remove_safekeeper
38227
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set
38358
::rm_safekeeper_event_set
12
::rm_safekeeper_event_set
119
::rm_safekeeper_event_set
38227
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set
44362
::refresh_event_set
1013
::refresh_event_set
1387
::refresh_event_set
41962
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper
60530
::add_safekeeper
24
::add_safekeeper
228
::add_safekeeper
60278
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set
60530
::add_safekeeper_event_set
24
::add_safekeeper_event_set
228
::add_safekeeper_event_set
60278
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set
65442
::update_event_set
40
::update_event_set
274
::update_event_set
65128
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set
65442
::update_event_set
40
::update_event_set
274
::update_event_set
65128
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0}
81537
::remove_safekeeper::{closure#0}
24
::remove_safekeeper::{closure#0}
252
::remove_safekeeper::{closure#0}
81261
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set
88277
::wait_event_set
540
::wait_event_set
1028
::wait_event_set
86709
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal
148824
::log_internal
1178
::log_internal
1954
::log_internal
145692
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0}
248169
::update_event_set::{closure#0}
142
::update_event_set::{closure#0}
1016
::update_event_set::{closure#0}
247011
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn
295818
::get_conn
1615
::get_conn
3001
::get_conn
291202
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}
295818
::get_conn::{closure#0}
1615
::get_conn::{closure#0}
3001
::get_conn::{closure#0}
291202
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp
316468
::get_current_timestamp
1922
::get_current_timestamp
3700
::get_current_timestamp
310846
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0}
591912
::get_conn::{closure#0}::{closure#0}
3228
::get_conn::{closure#0}::{closure#0}
5999
::get_conn::{closure#0}::{closure#0}
582685
Generated by:
LCOV version 2.1-beta