LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit LBC UBC CBC
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 90.7 % 504 457 3 44 457
Current Date: 2026-08-27 14:31:44 +0300 Functions: 100.0 % 16 16 16
Baseline: lcov-20260827-baseline Branches: 64.4 % 292 188 1 103 188
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 87.0 % 54 47 7 47
(360..) days: 91.1 % 449 409 3 37 409
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 100.0 % 10 10 10
Branch coverage date bins:
(30,360] days: 76.9 % 26 20 6 20
(360..) days: 63.2 % 266 168 1 97 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
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
HasSubscriptionTablesCached CBC 97 66.7 % (4 / 6) 50.0 % (1 / 2)
AllTablesyncsReady CBC 181 100.0 % (6 / 6) 83.3 % (5 / 6)
wait_for_table_state_change CBC 197 83.3 % (15 / 18) 62.5 % (5 / 8)
wait_for_worker_state_change CBC 199 88.2 % (15 / 17) 58.3 % (7 / 12)
make_copy_attnamelist CBC 209 100.0 % (6 / 6) 100.0 % (2 / 2)
LogicalRepSyncTableStart CBC 211 82.8 % (77 / 93) 52.4 % (22 / 42)
copy_table CBC 211 98.2 % (56 / 57) 81.6 % (31 / 38)
fetch_remote_table_info CBC 211 91.8 % (101 / 110) 52.3 % (45 / 86)
run_tablesync_worker CBC 211 90.9 % (10 / 11)
start_table_sync CBC 211 100.0 % (15 / 15) 75.0 % (6 / 8)
TableSyncWorkerMain CBC 213 80.0 % (4 / 5)
ProcessSyncingTablesForSync CBC 222 100.0 % (30 / 30) 66.7 % (4 / 6)
ReplicationSlotNameForTablesync CBC 416 100.0 % (3 / 3)
ProcessSyncingTablesForApply CBC 6121 100.0 % (76 / 76) 88.5 % (46 / 52)
copy_read_data CBC 15066 68.6 % (24 / 35) 50.0 % (10 / 20)

Generated by: LCOV version 2.0-1