LCOV - differential code coverage report
Current view: top level - src/backend/replication - syncrep.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC EUB ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 77.0 % 318 245 6 67 10 235 4 11
Current Date: 2026-06-29 16:15:13 +0200 Functions: 84.2 % 19 16 1 2 5 11
Baseline: lcov-20260630-baseline Branches: 66.2 % 234 155 12 67 1 12 142 2 2
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 62.5 % 16 10 6 10
(360..) days: 77.8 % 302 235 67 235
Function coverage date bins:
(360..) days: 84.2 % 19 16 1 2 5 11
Branch coverage date bins:
(30,360] days: 50.0 % 24 12 12 12
(360..) days: 66.8 % 214 143 67 1 142 2 2

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
SyncRepWaitForLSN GNC 154350 72.9 % (43 / 59) 55.8 % (29 / 52)
SyncRepReleaseWaiters GNC 144051 97.0 % (32 / 33) 76.7 % (23 / 30)
check_synchronous_standby_names CBC 1336 64.0 % (16 / 25) 50.0 % (7 / 14)
SyncRepGetNthLatestSyncRecPtr UNC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepQueueInsert CBC 37 55.6 % (5 / 9) 40.0 % (4 / 10)
SyncRepWakeQueue CBC 176 100.0 % (16 / 16) 62.5 % (10 / 16)
SyncRepQueueIsOrderedByLSN GNC 213 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepCleanupAtProcExit CBC 18351 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepGetOldestSyncRecPtr GNC 155 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetStandbyPriority CBC 787 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepUpdateSyncStandbysDefined CBC 692 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepGetCandidateStandbys GNC 761 93.8 % (30 / 32) 88.9 % (16 / 18)
SyncRepGetSyncRecPtr CBC 160 86.4 % (19 / 22) 83.3 % (10 / 12)
SyncRepInitConfig CBC 787 100.0 % (8 / 8) 75.0 % (3 / 4)
assign_synchronous_commit CBC 2150 80.0 % (12 / 15) 75.0 % (3 / 4)
standby_priority_comparator CBC 35 100.0 % (6 / 6) 100.0 % (2 / 2)
assign_synchronous_standby_names CBC 1326 100.0 % (3 / 3)
cmp_lsn UBC 0 0.0 % (0 / 4)

Generated by: LCOV version 2.0-1