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 DUB DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 90.8 % 502 456 4 1 41 31 425 4 77
Current Date: 2025-12-18 07:33:40 +0900 Functions: 100.0 % 16 16 11 5 9
Baseline: lcov-20251218-005734-baseline Branches: 63.3 % 300 190 4 2 104 1 16 173
Baseline Date: 2025-12-17 11:55:04 -0800 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.3 % 46 42 4 28 14
(360..) days: 90.7 % 453 411 1 41 411
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 5 5 5
(360..) days: 100.0 % 10 10 5 5
Branch coverage date bins:
(7,30] days: 87.5 % 8 7 1 7
(30,360] days: 77.8 % 18 14 3 1 9 5
(360..) days: 61.7 % 274 169 2 103 1 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 199 93.4 % (99 / 106) 52.4 % (43 / 82)
LogicalRepSyncTableStart GNC 201 81.9 % (77 / 94) 48.0 % (24 / 50)
copy_read_data CBC 14005 68.6 % (24 / 35) 50.0 % (10 / 20)
ProcessSyncingTablesForApply GNC 2965 100.0 % (76 / 76) 87.0 % (47 / 54)
copy_table GNC 199 98.2 % (55 / 56) 81.6 % (31 / 38)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
wait_for_worker_state_change GNC 185 88.2 % (15 / 17) 58.3 % (7 / 12)
ProcessSyncingTablesForSync GNC 199 100.0 % (32 / 32) 62.5 % (5 / 8)
wait_for_table_state_change GNC 183 83.3 % (15 / 18) 62.5 % (5 / 8)
start_table_sync GNC 201 100.0 % (15 / 15) 75.0 % (6 / 8)
AllTablesyncsReady GNC 165 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached GNC 85 66.7 % (4 / 6) 50.0 % (1 / 2)
make_copy_attnamelist CBC 197 100.0 % (6 / 6) 100.0 % (2 / 2)
ReplicationSlotNameForTablesync CBC 391 100.0 % (3 / 3)
TableSyncWorkerMain GNC 201 80.0 % (4 / 5)

Generated by: LCOV version 2.4-beta