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: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 91.5 % 507 464 2 2 39 1 13 450 4 52
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 16 16 7 9 7
Baseline: lcov-20251028-005825-baseline Branches: 65.0 % 300 195 1 104 2 2 191
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 81.8 % 11 9 2 9
(30,360] days: 100.0 % 24 24 4 20
(360..) days: 91.3 % 472 431 2 39 1 430
Function coverage date bins:
(7,30] days: 100.0 % 4 4 4
(360..) days: 100.0 % 12 12 3 9
Branch coverage date bins:
(30,360] days: 87.5 % 8 7 1 2 5
(360..) days: 64.4 % 292 188 1 103 2 186

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 195 94.3 % (100 / 106) 54.9 % (45 / 82)
LogicalRepSyncTableStart GNC 195 81.9 % (77 / 94) 48.0 % (24 / 50)
copy_read_data CBC 13985 68.6 % (24 / 35) 50.0 % (10 / 20)
ProcessSyncingTablesForApply GNC 3032 100.0 % (82 / 82) 89.3 % (50 / 56)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
copy_table CBC 195 98.2 % (54 / 55) 83.3 % (30 / 36)
wait_for_worker_state_change CBC 184 87.5 % (14 / 16) 58.3 % (7 / 12)
ProcessSyncingTablesForSync GNC 197 100.0 % (32 / 32) 62.5 % (5 / 8)
wait_for_table_state_change GNC 182 82.4 % (14 / 17) 62.5 % (5 / 8)
start_table_sync CBC 195 100.0 % (15 / 15) 75.0 % (6 / 8)
AllTablesyncsReady GNC 165 100.0 % (8 / 8) 83.3 % (5 / 6)
HasSubscriptionTablesCached GNC 100 100.0 % (6 / 6) 100.0 % (2 / 2)
make_copy_attnamelist CBC 192 100.0 % (6 / 6) 100.0 % (2 / 2)
ReplicationSlotNameForTablesync CBC 384 100.0 % (3 / 3)
TablesyncWorkerMain GNC 198 80.0 % (4 / 5)
run_tablesync_worker CBC 195 90.9 % (10 / 11)

Generated by: LCOV version 2.4-beta