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 17:13:01 Functions: 100.0 % 81 81 62 19 76 5
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 100.0 % 26 26 1 25
View type: Flat (60,120] days: 90.3 % 401 362 39 9 346 7 1 11
Legend: Lines: hit not hit (120,180] days: 100.0 % 21 21 7 13 1 2 1
(180,240] days: 66.7 % 3 2 1 1 1 2
(240..) days: 94.5 % 1145 1082 1 17 42 3 17 722 4 339 49 703
Function coverage date bins:
(60,120] days: 94.7 % 19 18 18 1
(120,180] days: 50.0 % 2 1 1 1
(240..) days: 56.9 % 109 62 62 47

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
apply_error_callback GIC 599 64.5 % (20 / 31)
apply_handle_stream_prepare GIC 11 90.6 % (48 / 53)
apply_handle_stream_abort GNC 38 91.3 % (42 / 46)
apply_handle_stream_commit GIC 61 90.5 % (38 / 42)
apply_handle_stream_stop GNC 834 87.9 % (29 / 33)
check_relation_updatable GIC 72249 62.5 % (5 / 8)
apply_handle_commit_internal GIC 395 89.5 % (17 / 19)
clear_subscription_skip_lsn GIC 443 92.9 % (26 / 28)
start_apply GIC 282 81.8 % (9 / 11)
apply_handle_begin_prepare GIC 14 90.9 % (10 / 11)
apply_handle_commit GIC 355 88.9 % (8 / 9)
apply_handle_prepare GIC 13 94.1 % (16 / 17)
apply_worker_exit GNC 31 83.3 % (5 / 6)
ensure_last_message GNC 4 91.7 % (11 / 12)
AtEOXact_LogicalRepWorkers GNC 485916 100.0 % (12 / 12)
DisableSubscriptionAndExit GIC 4 100.0 % (15 / 15)
IsLogicalParallelApplyWorker GNC 2606 100.0 % (2 / 2)
TargetPrivilegesCheck GIC 220052 100.0 % (10 / 10)
UpdateWorkerStats GIC 185649 100.0 % (8 / 8)
apply_handle_begin GIC 380 100.0 % (9 / 9)
apply_handle_delete_internal GIC 40304 100.0 % (15 / 15)
apply_handle_insert GIC 185646 100.0 % (32 / 32)
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_update_internal GIC 31903 100.0 % (19 / 19)
begin_replication_step GIC 148324 100.0 % (8 / 8)
cleanup_subxact_info GIC 374 100.0 % (8 / 8)
finish_edata GIC 147792 100.0 % (9 / 9)
get_flush_position GIC 58743 100.0 % (17 / 17)
reset_apply_error_context_info GIC 1332 100.0 % (6 / 6)
set_apply_error_context_xact GIC 2695 100.0 % (4 / 4)
stop_skipping_changes GIC 26 100.0 % (5 / 5)
stream_abort_internal GNC 14 100.0 % (26 / 26)
stream_cleanup_files GIC 31 100.0 % (6 / 6)
stream_open_file GIC 361 100.0 % (13 / 13)
stream_write_change GIC 107554 100.0 % (8 / 8)
subxact_info_add GIC 102513 100.0 % (27 / 27)
subxact_info_read GIC 342 100.0 % (17 / 17)
ApplyWorkerMain ECB 305
FindReplTupleInLocalRel ECB 72219
InitializeApplyWorker ECB 315
IsLogicalWorker ECB 3003
LogicalRepApplyLoop ECB 282
LogicalRepWorkersWakeupAtCommit ECB 160
ReplicationOriginNameForLogicalRep ECB 940
TwoPhaseTransactionGid ECB 45
apply_dispatch ECB 336698
apply_handle_delete ECB 81918
apply_handle_insert_internal ECB 75594
apply_handle_stream_start ECB 835
apply_handle_truncate ECB 17
apply_handle_tuple_routing ECB 73
apply_handle_type ECB 18
apply_handle_update ECB 66137
apply_spooled_messages ECB 31
changes_filename ECB 436
create_edata_for_relation ECB 147811
end_replication_step ECB 148296
get_transaction_apply_action ECB 325903
handle_streamed_transaction ECB 324124
maybe_reread_subscription ECB 3141
maybe_start_skipping_changes ECB 421
set_apply_error_context_origin ECB 292
should_apply_changes_for_rel ECB 147877
slot_fill_defaults ECB 75593
slot_modify_data ECB 31908
slot_store_data ECB 147811
start_table_sync ECB 156
store_flush_position ECB 459
stream_close_file ECB 391
stream_open_and_write_change ECB 5
stream_start_internal ECB 361
stream_stop_internal ECB 361
subscription_change_cb ECB 58
subxact_filename ECB 743
subxact_info_write ECB 370

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