LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC EUB ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 91.0 % 499 454 5 40 35 419 5 83
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 16 16 12 4 9
Baseline: lcov-20260315-024220-baseline Branches: 64.9 % 288 187 4 97 1 16 170 5 5 8 37
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 3 3 3
(30,360] days: 91.4 % 58 53 5 32 21
(360..) days: 90.9 % 438 398 40 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: 85.7 % 28 24 4 1 16 7
(360..) days: 60.4 % 270 163 97 163 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
AllTablesyncsReady GNC 201 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached GNC 117 66.7 % (4 / 6) 50.0 % (1 / 2)
LogicalRepSyncTableStart GNC 207 82.8 % (77 / 93) 52.4 % (22 / 42)
ProcessSyncingTablesForApply GNC 5420 100.0 % (76 / 76) 90.4 % (47 / 52)
ProcessSyncingTablesForSync GNC 205 100.0 % (30 / 30) 66.7 % (4 / 6)
ReplicationSlotNameForTablesync CBC 405 100.0 % (3 / 3)
TableSyncWorkerMain GNC 208 80.0 % (4 / 5)
UpdateTwoPhaseState CBC 9 93.8 % (15 / 16) 40.0 % (4 / 10)
copy_read_data CBC 15022 68.6 % (24 / 35) 50.0 % (10 / 20)
copy_table GNC 207 98.2 % (55 / 56) 81.6 % (31 / 38)
fetch_remote_table_info GNC 207 93.4 % (99 / 106) 52.4 % (43 / 82)
make_copy_attnamelist CBC 204 100.0 % (6 / 6) 100.0 % (2 / 2)
start_table_sync GNC 207 100.0 % (15 / 15) 75.0 % (6 / 8)
wait_for_table_state_change GNC 191 83.3 % (15 / 18) 62.5 % (5 / 8)
wait_for_worker_state_change GNC 193 88.2 % (15 / 17) 58.3 % (7 / 12)

Generated by: LCOV version 2.4-beta