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: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 91.7 % 505 463 42 2 461
Current Date: 2026-11-05 14:14:01 +0100 Functions: 100.0 % 16 16 16
Baseline: lcov-20261105-baseline Branches: 65.0 % 294 191 1 102 2 189
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 88.9 % 27 24 3 24
(360..) days: 91.8 % 478 439 39 2 437
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 15 15 15
Branch coverage date bins:
(30,360] days: 75.0 % 20 15 5 15
(360..) days: 64.2 % 274 176 1 97 2 174

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
AllTablesyncsReady CBC 213 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached CBC 129 100.0 % (6 / 6) 100.0 % (2 / 2)
LogicalRepSyncTableStart CBC 218 82.8 % (77 / 93) 52.4 % (22 / 42)
ProcessSyncingTablesForApply CBC 6263 100.0 % (76 / 76) 88.5 % (46 / 52)
ProcessSyncingTablesForSync CBC 234 100.0 % (30 / 30) 66.7 % (4 / 6)
ReplicationSlotNameForTablesync CBC 429 100.0 % (3 / 3)
TableSyncWorkerMain CBC 220 80.0 % (4 / 5)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
copy_read_data CBC 15104 77.1 % (27 / 35) 55.0 % (11 / 20)
copy_table CBC 217 98.3 % (57 / 58) 80.0 % (32 / 40)
fetch_remote_table_info CBC 217 91.8 % (101 / 110) 52.3 % (45 / 86)
make_copy_attnamelist CBC 215 100.0 % (6 / 6) 100.0 % (2 / 2)
run_tablesync_worker CBC 218 90.9 % (10 / 11)
start_table_sync CBC 218 100.0 % (15 / 15) 75.0 % (6 / 8)
wait_for_table_state_change CBC 200 83.3 % (15 / 18) 62.5 % (5 / 8)
wait_for_worker_state_change CBC 205 88.2 % (15 / 17) 58.3 % (7 / 12)

Generated by: LCOV version 2.0-1