LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit UBC GBC CBC
Current: b368bdd230181c60e085267fe65d42fd372d3a24 vs d39fda1cc404834781458376173e5293f870e83a Lines: 91.5 % 505 462 43 4 458
Current Date: 2026-09-21 17:36:50 +0700 Functions: 100.0 % 16 16 16
Baseline: lcov-20260921-baseline Branches: 65.6 % 294 193 101 4 189
Baseline Date: 2026-09-21 12:11:14 +0200 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: 91.6 % 450 412 38 4 408
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: 64.4 % 264 170 94 4 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
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 77.1 % (27 / 35) 55.0 % (11 / 20)
copy_table CBC 216 98.3 % (57 / 58) 80.0 % (32 / 40)
UpdateTwoPhaseState CBC 8 93.8 % (15 / 16) 40.0 % (4 / 10)
ProcessSyncingTablesForApply CBC 5755 100.0 % (76 / 76) 90.4 % (47 / 52)
wait_for_worker_state_change CBC 203 88.2 % (15 / 17) 58.3 % (7 / 12)
wait_for_table_state_change CBC 201 83.3 % (15 / 18) 62.5 % (5 / 8)
ProcessSyncingTablesForSync CBC 228 100.0 % (30 / 30) 66.7 % (4 / 6)
start_table_sync CBC 217 100.0 % (15 / 15) 75.0 % (6 / 8)
AllTablesyncsReady CBC 183 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached CBC 103 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 218 80.0 % (4 / 5)
run_tablesync_worker CBC 217 90.9 % (10 / 11)

Generated by: LCOV version 2.0-1