LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit UBC GBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 91.5 % 504 461 43 1 460
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 16 16 16
Baseline: lcov-20260726-baseline Branches: 65.4 % 292 191 101 2 189
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 89.4 % 66 59 7 59
(360..) days: 91.8 % 438 402 36 1 401
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 100.0 % 10 10 10
Branch coverage date bins:
(30,360] days: 81.2 % 32 26 6 26
(360..) days: 63.5 % 260 165 95 2 163

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 212 82.8 % (77 / 93) 52.4 % (22 / 42)
copy_read_data CBC 15055 77.1 % (27 / 35) 55.0 % (11 / 20)
fetch_remote_table_info CBC 211 92.7 % (102 / 110) 54.7 % (47 / 86)
wait_for_table_state_change CBC 196 83.3 % (15 / 18) 62.5 % (5 / 8)
HasSubscriptionTablesCached CBC 92 66.7 % (4 / 6) 50.0 % (1 / 2)
wait_for_worker_state_change CBC 198 88.2 % (15 / 17) 58.3 % (7 / 12)
TableSyncWorkerMain CBC 213 80.0 % (4 / 5)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
copy_table CBC 211 98.2 % (56 / 57) 81.6 % (31 / 38)
run_tablesync_worker CBC 212 90.9 % (10 / 11)
AllTablesyncsReady CBC 176 100.0 % (6 / 6) 83.3 % (5 / 6)
ProcessSyncingTablesForApply CBC 5968 100.0 % (76 / 76) 88.5 % (46 / 52)
ProcessSyncingTablesForSync CBC 218 100.0 % (30 / 30) 66.7 % (4 / 6)
ReplicationSlotNameForTablesync CBC 415 100.0 % (3 / 3)
make_copy_attnamelist CBC 208 100.0 % (6 / 6) 100.0 % (2 / 2)
start_table_sync CBC 212 100.0 % (15 / 15) 75.0 % (6 / 8)

Generated by: LCOV version 2.0-1