LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - tablesync.c (source / functions) Coverage Total Hit LBC UBC GBC CBC
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 91.6 % 548 502 46 502
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 19 19 19
Baseline: lcov-20250908-010021-baseline Branches: 64.9 % 325 211 1 113 1 210
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 39 39 39
(360..) days: 91.0 % 509 463 46 463
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 18 18 18
Branch coverage date bins:
(30,360] days: 66.7 % 30 20 1 9 20
(360..) days: 64.7 % 295 191 104 1 190

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 193 93.4 % (99 / 106) 52.4 % (43 / 82)
LogicalRepSyncTableStart CBC 195 81.9 % (77 / 94) 48.0 % (24 / 50)
copy_read_data CBC 13982 68.6 % (24 / 35) 50.0 % (10 / 20)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
copy_table CBC 193 98.2 % (54 / 55) 83.3 % (30 / 36)
process_syncing_tables_for_apply CBC 4997 100.0 % (82 / 82) 89.3 % (50 / 56)
wait_for_worker_state_change CBC 183 87.5 % (14 / 16) 58.3 % (7 / 12)
process_syncing_tables CBC 5217 84.6 % (11 / 13) 42.9 % (3 / 7)
process_syncing_tables_for_sync CBC 198 100.0 % (32 / 32) 62.5 % (5 / 8)
wait_for_relation_state_change CBC 181 82.4 % (14 / 17) 62.5 % (5 / 8)
finish_sync_worker CBC 183 100.0 % (10 / 10) 50.0 % (2 / 4)
start_table_sync CBC 195 100.0 % (15 / 15) 75.0 % (6 / 8)
AllTablesyncsReady CBC 140 100.0 % (8 / 8) 83.3 % (5 / 6)
FetchTableStates CBC 5137 100.0 % (21 / 21) 93.8 % (15 / 16)
make_copy_attnamelist CBC 191 100.0 % (6 / 6) 100.0 % (2 / 2)
ReplicationSlotNameForTablesync CBC 383 100.0 % (3 / 3)
TablesyncWorkerMain CBC 196 80.0 % (4 / 5)
invalidate_syncing_table_states CBC 1712 100.0 % (3 / 3)
run_tablesync_worker CBC 195 90.9 % (10 / 11)

Generated by: LCOV version 2.4-beta