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 EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 93.5 % 1596 1493 392 17 43 3 17 740 388 348 52 717 6 84
Current Date: 2023-04-08 15:15:32 Functions: 100.0 % 81 81 62 19 76 5
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
ApplyWorkerMain ECB 305
AtEOXact_LogicalRepWorkers GNC 485916 100.0 % (12 / 12)
DisableSubscriptionAndExit GIC 4 100.0 % (15 / 15)
FindReplTupleInLocalRel GIC 72219 100.0 % (8 / 8)
InitializeApplyWorker ECB 315
IsLogicalParallelApplyWorker ECB 2606
IsLogicalWorker ECB 3003
LogicalRepApplyLoop ECB 282
LogicalRepWorkersWakeupAtCommit ECB 160
ReplicationOriginNameForLogicalRep GNC 940 100.0 % (5 / 5)
TargetPrivilegesCheck ECB 220052
TwoPhaseTransactionGid GIC 45 83.3 % (5 / 6)
UpdateWorkerStats ECB 185649
apply_dispatch GIC 336698 93.8 % (61 / 65)
apply_error_callback ECB 599
apply_handle_begin ECB 380
apply_handle_begin_prepare GIC 14 90.9 % (10 / 11)
apply_handle_commit GIC 355 88.9 % (8 / 9)
apply_handle_commit_internal ECB 395
apply_handle_commit_prepared GIC 19 100.0 % (18 / 18)
apply_handle_delete ECB 81918
apply_handle_delete_internal GIC 40304 100.0 % (15 / 15)
apply_handle_insert GIC 185646 100.0 % (32 / 32)
apply_handle_insert_internal ECB 75594
apply_handle_prepare GIC 13 94.1 % (16 / 17)
apply_handle_prepare_internal GIC 21 100.0 % (9 / 9)
apply_handle_relation GIC 390 100.0 % (6 / 6)
apply_handle_rollback_prepared GIC 5 100.0 % (19 / 19)
apply_handle_stream_abort GNC 38 91.3 % (42 / 46)
apply_handle_stream_commit ECB 61
apply_handle_stream_prepare GIC 11 90.6 % (48 / 53)
apply_handle_stream_start GIC 835 90.9 % (40 / 44)
apply_handle_stream_stop ECB 834
apply_handle_truncate GIC 17 90.4 % (47 / 52)
apply_handle_tuple_routing GIC 73 94.3 % (82 / 87)
apply_handle_type ECB 18
apply_handle_update GIC 66137 92.9 % (39 / 42)
apply_handle_update_internal GIC 31903 100.0 % (19 / 19)
apply_spooled_messages GNC 31 97.8 % (45 / 46)
apply_worker_exit ECB 31
begin_replication_step GIC 148324 100.0 % (8 / 8)
changes_filename GIC 436 100.0 % (3 / 3)
check_relation_updatable ECB 72249
cleanup_subxact_info ECB 374
clear_subscription_skip_lsn GIC 443 92.9 % (26 / 28)
create_edata_for_relation ECB 147811
end_replication_step GIC 148296 100.0 % (4 / 4)
ensure_last_message ECB 4
finish_edata ECB 147792
get_flush_position ECB 58743
get_transaction_apply_action GNC 325903 100.0 % (12 / 12)
handle_streamed_transaction ECB 324124
maybe_reread_subscription GIC 3141 85.0 % (34 / 40)
maybe_start_skipping_changes ECB 421
reset_apply_error_context_info ECB 1332
set_apply_error_context_origin ECB 292
set_apply_error_context_xact GIC 2695 100.0 % (4 / 4)
should_apply_changes_for_rel GIC 147877 72.7 % (8 / 11)
slot_fill_defaults GIC 75593 95.8 % (23 / 24)
slot_modify_data GIC 31908 97.1 % (34 / 35)
slot_store_data ECB 147811
start_apply ECB 282
start_table_sync ECB 156
stop_skipping_changes GIC 26 100.0 % (5 / 5)
store_flush_position GNC 459 100.0 % (9 / 9)
stream_abort_internal GNC 14 100.0 % (26 / 26)
stream_cleanup_files GIC 31 100.0 % (6 / 6)
stream_close_file GIC 391 100.0 % (5 / 5)
stream_open_and_write_change GNC 5 100.0 % (7 / 7)
stream_open_file GIC 361 100.0 % (13 / 13)
stream_start_internal GNC 361 100.0 % (12 / 12)
stream_stop_internal ECB 361
stream_write_change GIC 107554 100.0 % (8 / 8)
subscription_change_cb ECB 58
subxact_filename GIC 743 100.0 % (3 / 3)
subxact_info_add ECB 102513
subxact_info_read GIC 342 100.0 % (17 / 17)
subxact_info_write GIC 370 100.0 % (15 / 15)

Generated by: LCOV version v1.16-55-g56c0a2a