LCOV - differential code coverage report
Current view: top level - src/backend/replication - syncrep.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 76.9 % 316 243 73 7 236 9
Current Date: 2026-08-27 14:31:44 +0300 Functions: 84.2 % 19 16 3 2 14
Baseline: lcov-20260827-baseline Branches: 66.2 % 234 155 1 78 9 146
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 71.4 % 21 15 6 7 8
(360..) days: 77.3 % 295 228 67 228
Function coverage date bins:
(360..) days: 84.2 % 19 16 3 2 14
Branch coverage date bins:
(30,360] days: 62.5 % 32 20 1 11 9 11
(360..) days: 66.8 % 202 135 67 135

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
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepGetNthLatestSyncRecPtr UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
cmp_lsn UBC 0 0.0 % (0 / 4)
SyncRepQueueInsert CBC 36 55.6 % (5 / 9) 40.0 % (4 / 10)
standby_priority_comparator CBC 37 100.0 % (6 / 6) 100.0 % (2 / 2)
SyncRepGetOldestSyncRecPtr CBC 165 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetSyncRecPtr CBC 169 86.4 % (19 / 22) 83.3 % (10 / 12)
SyncRepWakeQueue GNC 177 100.0 % (15 / 15) 62.5 % (10 / 16)
SyncRepQueueIsOrderedByLSN CBC 213 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepUpdateSyncStandbysDefined CBC 709 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepGetCandidateStandbys CBC 768 93.8 % (30 / 32) 88.9 % (16 / 18)
SyncRepGetStandbyPriority CBC 819 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepInitConfig CBC 819 100.0 % (8 / 8) 75.0 % (3 / 4)
assign_synchronous_standby_names CBC 1354 100.0 % (3 / 3)
check_synchronous_standby_names CBC 1364 64.0 % (16 / 25) 50.0 % (7 / 14)
assign_synchronous_commit CBC 2215 80.0 % (12 / 15) 75.0 % (3 / 4)
SyncRepCleanupAtProcExit CBC 18966 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepReleaseWaiters GNC 147574 96.9 % (31 / 32) 76.7 % (23 / 30)
SyncRepWaitForLSN CBC 153150 72.9 % (43 / 59) 55.8 % (29 / 52)

Generated by: LCOV version 2.0-1