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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 90.7 % 504 457 7 1 39 39 418 5 85
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 16 16 12 4 9
Baseline: lcov-20260530-034037-baseline Branches: 64.7 % 292 189 6 2 95 1 18 170 13 42
Baseline Date: 2026-05-29 14:39:03 -0700 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: 89.2 % 65 58 7 39 19
(360..) days: 90.9 % 438 398 1 39 398
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 100.0 % 10 10 6 4
Branch coverage date bins:
(30,360] days: 81.2 % 32 26 6 1 18 7
(360..) days: 62.7 % 260 163 2 95 163

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 GNC 211 91.8 % (101 / 110) 52.3 % (45 / 86)
LogicalRepSyncTableStart GNC 211 82.8 % (77 / 93) 52.4 % (22 / 42)
copy_read_data CBC 15057 68.6 % (24 / 35) 50.0 % (10 / 20)
copy_table GNC 211 98.2 % (56 / 57) 81.6 % (31 / 38)
UpdateTwoPhaseState CBC 10 93.8 % (15 / 16) 40.0 % (4 / 10)
ProcessSyncingTablesForApply GNC 5458 100.0 % (76 / 76) 90.4 % (47 / 52)
wait_for_worker_state_change GNC 198 88.2 % (15 / 17) 58.3 % (7 / 12)
wait_for_table_state_change GNC 196 83.3 % (15 / 18) 62.5 % (5 / 8)
ProcessSyncingTablesForSync GNC 211 100.0 % (30 / 30) 66.7 % (4 / 6)
start_table_sync GNC 211 100.0 % (15 / 15) 75.0 % (6 / 8)
AllTablesyncsReady GNC 186 100.0 % (6 / 6) 83.3 % (5 / 6)
HasSubscriptionTablesCached GNC 103 66.7 % (4 / 6) 50.0 % (1 / 2)
make_copy_attnamelist CBC 209 100.0 % (6 / 6) 100.0 % (2 / 2)
ReplicationSlotNameForTablesync CBC 414 100.0 % (3 / 3)
TableSyncWorkerMain GNC 212 80.0 % (4 / 5)

Generated by: LCOV version 2.5.0-beta