LCOV - differential code coverage report
Current view: top level - src/backend/replication - syncrep.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 77.0 % 318 245 6 67 5 10 230 4 11
Current Date: 2026-05-29 21:51:00 -0400 Functions: 84.2 % 19 16 1 2 5 11
Baseline: lcov-20260530-034037-baseline Branches: 66.2 % 234 155 12 67 6 12 137 16 8
Baseline Date: 2026-05-29 14:39:03 -0700 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 5 230
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: 68.1 % 210 143 67 6 137

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 UNC 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 36 100.0 % (6 / 6) 100.0 % (2 / 2)
SyncRepGetOldestSyncRecPtr GNC 144 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetSyncRecPtr CBC 148 86.4 % (19 / 22) 83.3 % (10 / 12)
SyncRepWakeQueue CBC 170 100.0 % (16 / 16) 62.5 % (10 / 16)
SyncRepQueueIsOrderedByLSN GNC 206 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepGetCandidateStandbys GNC 697 93.8 % (30 / 32) 88.9 % (16 / 18)
SyncRepUpdateSyncStandbysDefined CBC 735 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepGetStandbyPriority CBC 787 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepInitConfig CBC 787 100.0 % (8 / 8) 75.0 % (3 / 4)
assign_synchronous_standby_names CBC 1365 100.0 % (3 / 3)
check_synchronous_standby_names CBC 1375 64.0 % (16 / 25) 50.0 % (7 / 14)
assign_synchronous_commit CBC 2109 80.0 % (12 / 15) 75.0 % (3 / 4)
SyncRepCleanupAtProcExit CBC 18703 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepWaitForLSN GNC 153998 72.9 % (43 / 59) 55.8 % (29 / 52)
SyncRepReleaseWaiters GNC 165772 97.0 % (32 / 33) 76.7 % (23 / 30)

Generated by: LCOV version 2.5.0-beta