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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 90.9 % 503 457 7 39 1 39 417 5 85
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 16 16 12 4 9
Baseline: lcov-20260505-025707-baseline Branches: 65.1 % 292 190 6 1 95 3 18 169 5 5 8 37
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 89.2 % 65 58 7 39 19
(360..) days: 91.1 % 438 399 39 1 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: 78.1 % 32 25 6 1 18 7
(360..) days: 61.1 % 270 165 95 3 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
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
HasSubscriptionTablesCached GNC 94 66.7 % (4 / 6) 50.0 % (1 / 2)
AllTablesyncsReady GNC 179 100.0 % (6 / 6) 83.3 % (5 / 6)
wait_for_table_state_change GNC 196 83.3 % (15 / 18) 62.5 % (5 / 8)
wait_for_worker_state_change GNC 198 88.2 % (15 / 17) 58.3 % (7 / 12)
make_copy_attnamelist CBC 209 100.0 % (6 / 6) 100.0 % (2 / 2)
LogicalRepSyncTableStart GNC 212 82.8 % (77 / 93) 52.4 % (22 / 42)
copy_table GNC 212 98.2 % (55 / 56) 81.6 % (31 / 38)
fetch_remote_table_info GNC 212 92.7 % (102 / 110) 54.7 % (47 / 86)
start_table_sync GNC 212 100.0 % (15 / 15) 75.0 % (6 / 8)
TableSyncWorkerMain GNC 214 80.0 % (4 / 5)
ProcessSyncingTablesForSync GNC 218 100.0 % (30 / 30) 66.7 % (4 / 6)
ReplicationSlotNameForTablesync CBC 415 100.0 % (3 / 3)
ProcessSyncingTablesForApply GNC 5027 100.0 % (76 / 76) 88.5 % (46 / 52)
copy_read_data CBC 15057 68.6 % (24 / 35) 50.0 % (10 / 20)

Generated by: LCOV version 2.5.0-beta