LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit LBC UBC GBC CBC
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 91.7 % 505 463 42 2 461
Current Date: 2026-10-12 11:56:10 +0200 Functions: 100.0 % 16 16 16
Baseline: lcov-20261012-baseline Branches: 65.0 % 294 191 1 102 2 189
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 93.6 % 47 44 3 44
(360..) days: 91.5 % 458 419 39 2 417
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 14 14 14
Branch coverage date bins:
(30,360] days: 76.7 % 30 23 7 23
(360..) days: 63.6 % 264 168 1 95 2 166

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
LogicalRepSyncTableStart CBC 216 82.8 % (77 / 93) 52.4 % (22 / 42)
fetch_remote_table_info CBC 216 91.8 % (101 / 110) 52.3 % (45 / 86)
copy_read_data CBC 15101 77.1 % (27 / 35) 55.0 % (11 / 20)
HasSubscriptionTablesCached CBC 147 66.7 % (4 / 6) 50.0 % (1 / 2)
wait_for_worker_state_change CBC 204 88.2 % (15 / 17) 58.3 % (7 / 12)
TableSyncWorkerMain CBC 219 80.0 % (4 / 5)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
copy_table CBC 216 98.3 % (57 / 58) 80.0 % (32 / 40)
run_tablesync_worker CBC 216 90.9 % (10 / 11)
wait_for_table_state_change CBC 202 94.4 % (17 / 18) 75.0 % (6 / 8)
AllTablesyncsReady CBC 226 100.0 % (6 / 6) 83.3 % (5 / 6)
ProcessSyncingTablesForApply CBC 4905 100.0 % (76 / 76) 88.5 % (46 / 52)
ProcessSyncingTablesForSync CBC 224 100.0 % (30 / 30) 66.7 % (4 / 6)
ReplicationSlotNameForTablesync CBC 426 100.0 % (3 / 3)
make_copy_attnamelist CBC 214 100.0 % (6 / 6) 100.0 % (2 / 2)
start_table_sync CBC 216 100.0 % (15 / 15) 75.0 % (6 / 8)

Generated by: LCOV version 2.0-1