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: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 77.2 % 316 244 72 7 237 9
Current Date: 2026-10-12 11:56:10 +0200 Functions: 84.2 % 19 16 3 2 14
Baseline: lcov-20261012-baseline Branches: 66.7 % 234 156 1 77 9 147
Baseline Date: 2026-10-12 10:36:06 +0200 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.6 % 295 229 66 229
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: 67.3 % 202 136 66 136

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)
SyncRepCleanupAtProcExit CBC 19402 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepGetCandidateStandbys CBC 763 96.9 % (31 / 32) 94.4 % (17 / 18)
SyncRepGetNthLatestSyncRecPtr UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepGetOldestSyncRecPtr CBC 149 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetStandbyPriority CBC 850 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepGetSyncRecPtr CBC 153 86.4 % (19 / 22) 83.3 % (10 / 12)
SyncRepInitConfig CBC 850 100.0 % (8 / 8) 75.0 % (3 / 4)
SyncRepQueueInsert CBC 39 55.6 % (5 / 9) 40.0 % (4 / 10)
SyncRepQueueIsOrderedByLSN CBC 219 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepReleaseWaiters GNC 136162 96.9 % (31 / 32) 76.7 % (23 / 30)
SyncRepUpdateSyncStandbysDefined CBC 744 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepWaitForLSN CBC 151694 72.9 % (43 / 59) 55.8 % (29 / 52)
SyncRepWakeQueue GNC 180 100.0 % (15 / 15) 62.5 % (10 / 16)
assign_synchronous_commit CBC 2291 80.0 % (12 / 15) 75.0 % (3 / 4)
assign_synchronous_standby_names CBC 1406 100.0 % (3 / 3)
check_synchronous_standby_names CBC 1416 64.0 % (16 / 25) 50.0 % (7 / 14)
cmp_lsn UBC 0 0.0 % (0 / 4)
standby_priority_comparator CBC 35 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1