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: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 90.7 % 503 456 2 3 42 6 450 2 8
Current Date: 2026-11-28 16:48:44 +0900 Functions: 100.0 % 16 16 2 14
Baseline: lcov-20261128-baseline Branches: 64.2 % 296 190 1 1 104 1 1 188
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 75.0 % 8 6 2 6
(30,360] days: 88.9 % 27 24 3 24
(360..) days: 91.0 % 468 426 3 39 426
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 15 15 2 13
Branch coverage date bins:
(1,7] days: 50.0 % 2 1 1 1
(30,360] days: 75.0 % 20 15 5 15
(360..) days: 63.5 % 274 174 1 99 1 173

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 221 91.8 % (101 / 110) 52.3 % (45 / 86)
LogicalRepSyncTableStart CBC 221 82.8 % (77 / 93) 52.4 % (22 / 42)
copy_read_data GNC 15107 67.6 % (23 / 34) 50.0 % (11 / 22)
copy_table GNC 221 98.2 % (56 / 57) 80.0 % (32 / 40)
ProcessSyncingTablesForApply CBC 4885 100.0 % (76 / 76) 88.5 % (46 / 52)
UpdateTwoPhaseState CBC 11 93.8 % (15 / 16) 40.0 % (4 / 10)
wait_for_worker_state_change CBC 208 88.2 % (15 / 17) 58.3 % (7 / 12)
wait_for_table_state_change CBC 206 83.3 % (15 / 18) 62.5 % (5 / 8)
ProcessSyncingTablesForSync CBC 227 100.0 % (30 / 30) 66.7 % (4 / 6)
start_table_sync CBC 221 100.0 % (15 / 15) 75.0 % (6 / 8)
AllTablesyncsReady CBC 301 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached CBC 212 66.7 % (4 / 6) 50.0 % (1 / 2)
make_copy_attnamelist CBC 218 100.0 % (6 / 6) 100.0 % (2 / 2)
ReplicationSlotNameForTablesync CBC 435 100.0 % (3 / 3)
TableSyncWorkerMain CBC 222 80.0 % (4 / 5)
run_tablesync_worker CBC 221 90.9 % (10 / 11)

Generated by: LCOV version 2.0-1