LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC EUB ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 91.7 % 504 462 5 1 36 3 41 418 5 85
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 16 16 12 4 9
Baseline: lcov-20260630-baseline Branches: 65.1 % 292 190 5 3 94 1 19 170 5 5
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 92.4 % 66 61 5 41 20
(360..) days: 91.6 % 438 401 1 36 3 398
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 100.0 % 10 10 6 4
Branch coverage date bins:
(30,360] days: 84.4 % 32 27 5 19 8
(360..) days: 60.4 % 270 163 3 94 1 162 5 5

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 GNC 210 82.8 % (77 / 93) 52.4 % (22 / 42)
fetch_remote_table_info GNC 210 91.8 % (101 / 110) 52.3 % (45 / 86)
copy_read_data CBC 15055 77.1 % (27 / 35) 55.0 % (11 / 20)
wait_for_table_state_change GNC 195 83.3 % (15 / 18) 62.5 % (5 / 8)
wait_for_worker_state_change GNC 198 88.2 % (15 / 17) 58.3 % (7 / 12)
TableSyncWorkerMain GNC 212 80.0 % (4 / 5)
UpdateTwoPhaseState CBC 9 93.8 % (15 / 16) 40.0 % (4 / 10)
copy_table GNC 210 98.2 % (56 / 57) 81.6 % (31 / 38)
AllTablesyncsReady GNC 197 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached GNC 114 100.0 % (6 / 6) 100.0 % (2 / 2)
ProcessSyncingTablesForApply GNC 5031 100.0 % (76 / 76) 88.5 % (46 / 52)
ProcessSyncingTablesForSync GNC 222 100.0 % (30 / 30) 66.7 % (4 / 6)
ReplicationSlotNameForTablesync CBC 413 100.0 % (3 / 3)
make_copy_attnamelist CBC 208 100.0 % (6 / 6) 100.0 % (2 / 2)
start_table_sync GNC 210 100.0 % (15 / 15) 75.0 % (6 / 8)

Generated by: LCOV version 2.0-1