LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - launcher.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 88.9 % 587 522 6 1 58 1 122 399 30
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 37 37 17 20 5
Baseline: lcov-20260630-baseline Branches: 65.8 % 392 258 33 3 2 96 4 69 185 1 1
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 95.3 % 129 123 6 122 1
(360..) days: 87.1 % 458 399 1 58 1 398
Function coverage date bins:
(30,360] days: 100.0 % 11 11 11
(360..) days: 100.0 % 26 26 6 20
Branch coverage date bins:
(30,360] days: 67.6 % 102 69 33 69
(360..) days: 64.7 % 292 189 3 2 96 4 185 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
logicalrep_worker_launch GNC 459 76.6 % (85 / 111) 47.1 % (32 / 68)
pg_stat_get_subscription GNC 1 64.9 % (37 / 57) 45.0 % (18 / 40)
WaitForReplicationWorkerAttach CBC 459 80.8 % (21 / 26) 68.8 % (11 / 16)
logicalrep_worker_attach CBC 588 71.4 % (10 / 14) 33.3 % (4 / 12)
logicalrep_worker_stop_internal CBC 90 87.0 % (20 / 23) 66.7 % (16 / 24)
ApplyLauncherMain GNC 487 96.9 % (63 / 65) 85.2 % (46 / 54)
GetLeaderApplyWorkerPid CBC 909 80.0 % (8 / 10) 50.0 % (5 / 10)
compute_min_nonremovable_xid GNC 59 81.8 % (9 / 11) 40.0 % (4 / 10)
ApplyLauncherForgetWorkerStartTime CBC 273 100.0 % (4 / 4)
ApplyLauncherGetWorkerStartTime CBC 353 100.0 % (8 / 8) 100.0 % (2 / 2)
ApplyLauncherRegister CBC 976 100.0 % (14 / 14) 100.0 % (4 / 4)
ApplyLauncherSetWorkerStartTime CBC 227 100.0 % (6 / 6)
ApplyLauncherShmemRequest GNC 1212 100.0 % (6 / 6)
ApplyLauncherWakeup CBC 776 100.0 % (4 / 4) 100.0 % (2 / 2)
ApplyLauncherWakeupAtCommit CBC 155 100.0 % (4 / 4) 100.0 % (2 / 2)
AtEOXact_ApplyLauncher CBC 426887 100.0 % (6 / 6) 100.0 % (4 / 4)
CreateConflictDetectionSlot GNC 65 100.0 % (6 / 6) 75.0 % (3 / 4)
IsLogicalLauncher CBC 2727 100.0 % (2 / 2)
acquire_conflict_slot_if_exists GNC 487 100.0 % (5 / 5) 100.0 % (2 / 2)
get_subscription_list GNC 3207 100.0 % (23 / 23) 100.0 % (2 / 2)
init_conflict_slot_xmin GNC 4 100.0 % (15 / 15) 50.0 % (2 / 4)
logicalrep_launcher_attach_dshmem CBC 853 100.0 % (20 / 20) 87.5 % (7 / 8)
logicalrep_launcher_onexit CBC 487 100.0 % (3 / 3)
logicalrep_pa_worker_count CBC 459 100.0 % (8 / 8) 80.0 % (8 / 10)
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)
logicalrep_sync_worker_count GNC 1460 100.0 % (8 / 8) 71.4 % (10 / 14)
logicalrep_worker_cleanup CBC 588 100.0 % (12 / 12) 50.0 % (1 / 2)
logicalrep_worker_detach GNC 588 100.0 % (15 / 15) 83.3 % (10 / 12)
logicalrep_worker_onexit CBC 588 100.0 % (10 / 10) 100.0 % (6 / 6)
logicalrep_worker_wakeup_ptr CBC 699 100.0 % (4 / 4) 50.0 % (1 / 2)
logicalrep_workers_find CBC 790 100.0 % (12 / 12) 93.8 % (15 / 16)
update_conflict_slot_xmin GNC 59 100.0 % (13 / 13) 60.0 % (6 / 10)

Generated by: LCOV version 2.0-1