LCOV - differential code coverage report
Current view: top level - src/backend/replication - syncrep.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 77.2 % 316 244 72 2 7 235 9
Current Date: 2026-11-05 14:14:01 +0100 Functions: 84.2 % 19 16 3 2 14
Baseline: lcov-20261105-baseline Branches: 66.7 % 234 156 1 77 1 9 146
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 62.5 % 16 10 6 7 3
(360..) days: 78.0 % 300 234 66 2 232
Function coverage date bins:
(360..) days: 84.2 % 19 16 3 2 14
Branch coverage date bins:
(30,360] days: 56.2 % 16 9 1 6 9
(360..) days: 67.4 % 218 147 71 1 146

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)
standby_priority_comparator CBC 35 100.0 % (6 / 6) 100.0 % (2 / 2)
SyncRepQueueInsert CBC 40 55.6 % (5 / 9) 40.0 % (4 / 10)
SyncRepGetOldestSyncRecPtr CBC 168 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetSyncRecPtr CBC 174 86.4 % (19 / 22) 83.3 % (10 / 12)
SyncRepWakeQueue GNC 188 100.0 % (15 / 15) 62.5 % (10 / 16)
SyncRepQueueIsOrderedByLSN CBC 228 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepUpdateSyncStandbysDefined CBC 756 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepGetCandidateStandbys CBC 784 96.9 % (31 / 32) 94.4 % (17 / 18)
SyncRepGetStandbyPriority CBC 854 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepInitConfig CBC 854 100.0 % (8 / 8) 75.0 % (3 / 4)
assign_synchronous_standby_names CBC 1425 100.0 % (3 / 3)
check_synchronous_standby_names CBC 1435 64.0 % (16 / 25) 50.0 % (7 / 14)
assign_synchronous_commit CBC 2330 80.0 % (12 / 15) 75.0 % (3 / 4)
SyncRepCleanupAtProcExit CBC 19643 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepReleaseWaiters GNC 140353 96.9 % (31 / 32) 76.7 % (23 / 30)
SyncRepWaitForLSN CBC 152012 72.9 % (43 / 59) 55.8 % (29 / 52)

Generated by: LCOV version 2.0-1