LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit LBC UBC CBC
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 90.9 % 505 459 46 459
Current Date: 2026-09-20 14:13:17 +0900 Functions: 100.0 % 16 16 16
Baseline: lcov-20260920-baseline Branches: 65.0 % 294 191 1 102 191
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 5 5 5
(30,360] days: 90.0 % 50 45 5 45
(360..) days: 90.9 % 450 409 41 409
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 100.0 % 10 10 10
Branch coverage date bins:
(7,30] days: 78.6 % 14 11 3 11
(30,360] days: 75.0 % 16 12 4 12
(360..) days: 63.6 % 264 168 1 95 168

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
fetch_remote_table_info CBC 216 92.7 % (102 / 110) 54.7 % (47 / 86)
LogicalRepSyncTableStart CBC 217 82.8 % (77 / 93) 52.4 % (22 / 42)
copy_read_data CBC 15080 68.6 % (24 / 35) 50.0 % (10 / 20)
copy_table CBC 216 98.3 % (57 / 58) 80.0 % (32 / 40)
ProcessSyncingTablesForApply CBC 5115 100.0 % (76 / 76) 88.5 % (46 / 52)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
wait_for_worker_state_change CBC 203 88.2 % (15 / 17) 58.3 % (7 / 12)
wait_for_table_state_change CBC 200 83.3 % (15 / 18) 62.5 % (5 / 8)
ProcessSyncingTablesForSync CBC 222 100.0 % (30 / 30) 66.7 % (4 / 6)
start_table_sync CBC 217 100.0 % (15 / 15) 75.0 % (6 / 8)
AllTablesyncsReady CBC 204 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached CBC 121 66.7 % (4 / 6) 50.0 % (1 / 2)
make_copy_attnamelist CBC 213 100.0 % (6 / 6) 100.0 % (2 / 2)
ReplicationSlotNameForTablesync CBC 426 100.0 % (3 / 3)
TableSyncWorkerMain CBC 217 80.0 % (4 / 5)
run_tablesync_worker CBC 217 90.9 % (10 / 11)

Generated by: LCOV version 2.0-1