LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - launcher.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GNC CBC EUB ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 89.5 % 590 528 6 56 2 113 413 17
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 37 37 15 22 3
Baseline: lcov-20260315-024220-baseline Branches: 66.5 % 394 262 31 2 99 3 69 190 1 1 6 16
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 94.8 % 134 127 6 1 113 14
(360..) days: 87.9 % 456 401 55 2 399
Function coverage date bins:
(30,360] days: 100.0 % 9 9 9
(360..) days: 100.0 % 28 28 6 22
Branch coverage date bins:
(30,360] days: 68.9 % 106 73 31 2 69 4
(360..) days: 65.2 % 290 189 2 97 3 186 1 1

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
pg_stat_get_subscription GNC 1 68.4 % (39 / 57) 50.0 % (20 / 40)
init_conflict_slot_xmin GNC 4 100.0 % (15 / 15) 50.0 % (2 / 4)
logicalrep_pa_worker_stop CBC 5 100.0 % (16 / 16) 50.0 % (7 / 14)
logicalrep_reset_seqsync_start_time GNC 5 100.0 % (8 / 8) 50.0 % (1 / 2)
compute_min_nonremovable_xid GNC 63 81.8 % (9 / 11) 40.0 % (4 / 10)
update_conflict_slot_xmin GNC 63 100.0 % (13 / 13) 60.0 % (6 / 10)
CreateConflictDetectionSlot GNC 68 100.0 % (6 / 6) 75.0 % (3 / 4)
logicalrep_worker_stop_internal CBC 91 87.0 % (20 / 23) 66.7 % (16 / 24)
logicalrep_worker_stop GNC 102 100.0 % (9 / 9) 62.5 % (5 / 8)
ApplyLauncherWakeupAtCommit CBC 151 100.0 % (4 / 4) 100.0 % (2 / 2)
ApplyLauncherSetWorkerStartTime CBC 217 100.0 % (6 / 6)
logicalrep_worker_wakeup GNC 222 100.0 % (8 / 8) 50.0 % (2 / 4)
ApplyLauncherForgetWorkerStartTime CBC 248 100.0 % (4 / 4)
ApplyLauncherGetWorkerStartTime CBC 342 100.0 % (8 / 8) 100.0 % (2 / 2)
WaitForReplicationWorkerAttach CBC 444 80.8 % (21 / 26) 68.8 % (11 / 16)
logicalrep_pa_worker_count CBC 444 100.0 % (8 / 8) 80.0 % (8 / 10)
logicalrep_worker_launch GNC 444 76.6 % (85 / 111) 47.1 % (32 / 68)
ApplyLauncherMain GNC 459 98.5 % (64 / 65) 87.0 % (47 / 54)
acquire_conflict_slot_if_exists GNC 459 100.0 % (5 / 5) 100.0 % (2 / 2)
logicalrep_launcher_onexit CBC 459 100.0 % (3 / 3)
logicalrep_worker_attach CBC 576 71.4 % (10 / 14) 33.3 % (4 / 12)
logicalrep_worker_cleanup CBC 576 100.0 % (12 / 12) 50.0 % (1 / 2)
logicalrep_worker_detach GNC 576 100.0 % (15 / 15) 83.3 % (10 / 12)
logicalrep_worker_onexit CBC 576 100.0 % (10 / 10) 100.0 % (6 / 6)
logicalrep_worker_wakeup_ptr CBC 676 100.0 % (4 / 4) 50.0 % (1 / 2)
logicalrep_workers_find CBC 708 100.0 % (12 / 12) 93.8 % (15 / 16)
ApplyLauncherWakeup CBC 765 100.0 % (4 / 4) 100.0 % (2 / 2)
logicalrep_launcher_attach_dshmem CBC 807 100.0 % (20 / 20) 87.5 % (7 / 8)
ApplyLauncherRegister CBC 929 100.0 % (14 / 14) 100.0 % (4 / 4)
GetLeaderApplyWorkerPid CBC 986 80.0 % (8 / 10) 50.0 % (5 / 10)
ApplyLauncherShmemInit CBC 1150 100.0 % (12 / 12) 75.0 % (3 / 4)
logicalrep_sync_worker_count GNC 1390 100.0 % (8 / 8) 71.4 % (10 / 14)
IsLogicalLauncher CBC 2616 100.0 % (2 / 2)
get_subscription_list GNC 2985 100.0 % (23 / 23) 100.0 % (2 / 2)
ApplyLauncherShmemSize CBC 4447 100.0 % (5 / 5)
AtEOXact_ApplyLauncher CBC 337745 100.0 % (6 / 6) 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta