LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - worker.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 92.9 % 1878 1745 32 101 6 280 1459 5 2 68
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 98 98 51 47 4
Baseline: lcov-20260505-025707-baseline Branches: 68.0 % 1111 756 63 3 4 285 9 1 150 596 12 28
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 1 1 1
(30,360] days: 89.9 % 318 286 32 279 7
(360..) days: 93.5 % 1559 1458 101 6 1452 5
Function coverage date bins:
(30,360] days: 100.0 % 20 20 20
(360..) days: 100.0 % 78 78 31 47
Branch coverage date bins:
(1,7] days: 75.0 % 4 3 1 3
(30,360] days: 70.3 % 209 147 62 147
(360..) days: 67.5 % 898 606 3 4 285 9 1 596

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
apply_error_callback GNC 2653 64.5 % (20 / 31) 68.8 % (11 / 16)
FindDeletedTupleInLocalRel GNC 9 50.0 % (10 / 20) 50.0 % (8 / 16)
LogicalRepApplyLoop GNC 447 93.0 % (106 / 114) 74.2 % (49 / 66)
apply_handle_tuple_routing GNC 99 92.3 % (96 / 104) 62.5 % (30 / 48)
maybe_reread_subscription GNC 5792 84.8 % (39 / 46) 63.8 % (37 / 58)
should_apply_changes_for_rel GNC 168659 61.1 % (11 / 18) 40.9 % (9 / 22)
apply_handle_truncate CBC 20 88.5 % (46 / 52) 54.3 % (38 / 70)
apply_handle_stream_prepare GNC 15 90.6 % (48 / 53) 51.9 % (14 / 27)
InitializeLogRepWorker GNC 593 90.0 % (36 / 40) 60.0 % (18 / 30)
apply_dispatch CBC 357867 93.8 % (61 / 65) 81.8 % (18 / 22)
apply_handle_stream_abort CBC 38 91.3 % (42 / 46) 69.7 % (23 / 33)
apply_handle_stream_commit GNC 61 90.5 % (38 / 42) 56.5 % (13 / 23)
apply_handle_stream_start GNC 842 91.1 % (41 / 45) 61.3 % (19 / 31)
apply_handle_stream_stop CBC 841 87.9 % (29 / 33) 57.9 % (11 / 19)
handle_streamed_transaction CBC 345015 86.2 % (25 / 29) 58.6 % (17 / 29)
apply_handle_delete CBC 81942 91.4 % (32 / 35) 78.6 % (11 / 14)
apply_handle_update GNC 66169 92.9 % (39 / 42) 84.6 % (22 / 26)
check_relation_updatable CBC 72302 62.5 % (5 / 8) 30.0 % (3 / 10)
run_apply_worker GNC 285 91.9 % (34 / 37) 73.1 % (19 / 26)
apply_handle_commit_internal GNC 501 89.5 % (17 / 19) 87.5 % (7 / 8)
clear_subscription_skip_lsn GNC 556 93.3 % (28 / 30) 55.6 % (10 / 18)
send_feedback GNC 20989 94.7 % (36 / 38) 90.0 % (27 / 30)
set_wal_receiver_timeout GNC 566 77.8 % (7 / 9) 37.5 % (3 / 8)
start_apply GNC 447 83.3 % (10 / 12) 66.7 % (4 / 6)
wait_for_publisher_status GNC 3477 83.3 % (10 / 12) 87.5 % (7 / 8)
ApplyWorkerMain CBC 357 85.7 % (6 / 7)
IsIndexUsableForFindingDeletedTuple GNC 1 85.7 % (6 / 7) 25.0 % (1 / 4)
adjust_xid_advance_interval GNC 75 92.9 % (13 / 14) 85.7 % (12 / 14)
apply_handle_begin_prepare CBC 17 90.9 % (10 / 11) 33.3 % (2 / 6)
apply_handle_commit GNC 461 88.9 % (8 / 9) 25.0 % (1 / 4)
apply_handle_origin CBC 9 83.3 % (5 / 6) 40.0 % (4 / 10)
apply_handle_prepare GNC 16 94.1 % (16 / 17) 25.0 % (1 / 4)
apply_handle_type CBC 18 75.0 % (3 / 4) 50.0 % (1 / 2)
apply_spooled_messages CBC 31 97.7 % (43 / 44) 68.2 % (15 / 22)
apply_worker_exit CBC 47 83.3 % (5 / 6) 50.0 % (2 / 4)
ensure_last_message CBC 4 91.7 % (11 / 12) 37.5 % (3 / 8)
process_rdt_phase_transition GNC 5675 95.2 % (20 / 21) 85.7 % (6 / 7)
resume_conflict_info_retention GNC 1 80.0 % (4 / 5) 50.0 % (3 / 6)
should_stop_conflict_info_retention GNC 1902 90.9 % (10 / 11) 66.7 % (8 / 12)
slot_modify_data CBC 31930 97.1 % (34 / 35) 65.0 % (13 / 20)
slot_store_data CBC 168569 96.9 % (31 / 32) 72.2 % (13 / 18)
stop_conflict_info_retention GNC 1 90.0 % (9 / 10) 50.0 % (4 / 8)
update_retention_status GNC 2 90.9 % (10 / 11) 50.0 % (1 / 2)
wait_for_local_flush GNC 94 96.8 % (30 / 31) 83.3 % (25 / 30)
AtEOXact_LogicalRepWorkers CBC 423286 100.0 % (12 / 12) 93.8 % (15 / 16)
DisableSubscriptionAndExit GNC 4 100.0 % (19 / 19) 66.7 % (4 / 6)
FindReplTupleInLocalRel CBC 72271 100.0 % (12 / 12) 75.0 % (9 / 12)
IsLogicalParallelApplyWorker CBC 2026 100.0 % (2 / 2) 75.0 % (3 / 4)
IsLogicalWorker CBC 2775 100.0 % (2 / 2)
LogicalRepWorkersWakeupAtCommit CBC 280 100.0 % (6 / 6)
ReplicationOriginNameForLogicalRep CBC 1451 100.0 % (5 / 5) 100.0 % (2 / 2)
SetupApplyOrSyncWorker GNC 581 100.0 % (12 / 12) 87.5 % (7 / 8)
TargetPrivilegesCheck CBC 240842 100.0 % (10 / 10) 83.3 % (5 / 6)
UpdateWorkerStats CBC 209432 100.0 % (8 / 8) 100.0 % (2 / 2)
apply_handle_begin CBC 521 100.0 % (9 / 9) 50.0 % (1 / 2)
apply_handle_commit_prepared GNC 22 100.0 % (18 / 18)
apply_handle_delete_internal GNC 40327 100.0 % (20 / 20) 91.7 % (11 / 12)
apply_handle_insert CBC 206378 100.0 % (35 / 35) 92.9 % (13 / 14)
apply_handle_insert_internal CBC 96287 100.0 % (8 / 8) 75.0 % (6 / 8)
apply_handle_prepare_internal GNC 26 100.0 % (9 / 9) 50.0 % (1 / 2)
apply_handle_relation CBC 492 100.0 % (6 / 6) 100.0 % (2 / 2)
apply_handle_rollback_prepared GNC 5 100.0 % (19 / 19) 50.0 % (1 / 2)
apply_handle_update_internal GNC 31931 100.0 % (35 / 35) 75.0 % (9 / 12)
begin_replication_step CBC 169120 100.0 % (8 / 8) 100.0 % (2 / 2)
can_advance_nonremovable_xid GNC 228162 100.0 % (6 / 6) 100.0 % (4 / 4)
changes_filename CBC 437 100.0 % (3 / 3)
create_edata_for_relation GNC 168557 100.0 % (19 / 19)
end_replication_step CBC 169059 100.0 % (4 / 4)
finish_edata CBC 168509 100.0 % (9 / 9) 100.0 % (2 / 2)
get_candidate_xid GNC 279 100.0 % (14 / 14) 87.5 % (7 / 8)
get_flush_position GNC 21001 100.0 % (16 / 16) 83.3 % (5 / 6)
get_transaction_apply_action CBC 346812 100.0 % (12 / 12) 100.0 % (10 / 10)
maybe_advance_nonremovable_xid GNC 228162 100.0 % (4 / 4) 100.0 % (2 / 2)
maybe_start_skipping_changes GNC 565 100.0 % (8 / 8) 64.3 % (9 / 14)
on_exit_clear_xact_state GNC 519 100.0 % (3 / 3)
request_publisher_status GNC 1823 100.0 % (12 / 12) 100.0 % (4 / 4)
reset_apply_error_context_info CBC 1452 100.0 % (6 / 6)
reset_retention_data_fields GNC 36 100.0 % (10 / 10)
set_apply_error_context_origin CBC 459 100.0 % (3 / 3)
set_apply_error_context_xact CBC 2973 100.0 % (4 / 4)
set_stream_options CBC 447 100.0 % (22 / 22) 50.0 % (7 / 14)
slot_fill_defaults GNC 96286 100.0 % (25 / 25) 83.3 % (15 / 18)
stop_skipping_changes CBC 30 100.0 % (5 / 5) 75.0 % (3 / 4)
store_flush_position GNC 571 100.0 % (9 / 9) 100.0 % (2 / 2)
stream_abort_internal CBC 14 100.0 % (26 / 26) 100.0 % (8 / 8)
stream_cleanup_files CBC 31 100.0 % (6 / 6)
stream_close_file CBC 392 100.0 % (5 / 5) 50.0 % (1 / 2)
stream_open_and_write_change CBC 5 100.0 % (7 / 7) 50.0 % (2 / 4)
stream_open_file CBC 362 100.0 % (13 / 13) 60.0 % (6 / 10)
stream_start_internal GNC 362 100.0 % (12 / 12) 100.0 % (4 / 4)
stream_stop_internal CBC 362 100.0 % (7 / 7) 50.0 % (1 / 2)
stream_write_change CBC 107554 100.0 % (8 / 8) 50.0 % (1 / 2)
subscription_change_cb GNC 97 100.0 % (3 / 3)
subxact_filename CBC 745 100.0 % (3 / 3)
subxact_info_add GNC 102513 100.0 % (26 / 26) 87.5 % (14 / 16)
subxact_info_read GNC 343 100.0 % (17 / 17) 60.0 % (6 / 10)
subxact_info_write CBC 371 100.0 % (15 / 15) 83.3 % (5 / 6)

Generated by: LCOV version 2.5.0-beta