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: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 77.5 % 316 245 3 68 10 235 3 11
Current Date: 2026-03-14 14:10:32 -0400 Functions: 84.2 % 19 16 1 2 5 11
Baseline: lcov-20260315-024220-baseline Branches: 67.4 % 230 155 6 69 1 12 142 2 2 12 6
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 83.9 % 31 26 3 2 10 16
(360..) days: 76.8 % 285 219 66 219
Function coverage date bins:
(360..) days: 84.2 % 19 16 1 2 5 11
Branch coverage date bins:
(30,360] days: 71.4 % 42 30 6 6 12 18
(360..) days: 65.1 % 192 125 63 1 124 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 122880 75.4 % (43 / 57) 60.4 % (29 / 48)
SyncRepReleaseWaiters GNC 100000 97.0 % (32 / 33) 76.7 % (23 / 30)
check_synchronous_standby_names CBC 1272 64.0 % (16 / 25) 50.0 % (7 / 14)
SyncRepGetNthLatestSyncRecPtr UNC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepQueueInsert CBC 35 55.6 % (5 / 9) 40.0 % (4 / 10)
SyncRepWakeQueue CBC 165 100.0 % (16 / 16) 62.5 % (10 / 16)
SyncRepQueueIsOrderedByLSN GNC 200 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepCleanupAtProcExit CBC 16962 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepGetOldestSyncRecPtr GNC 261 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetStandbyPriority CBC 757 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepUpdateSyncStandbysDefined CBC 654 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepGetCandidateStandbys GNC 1002 93.8 % (30 / 32) 88.9 % (16 / 18)
SyncRepGetSyncRecPtr CBC 265 86.4 % (19 / 22) 83.3 % (10 / 12)
SyncRepInitConfig CBC 757 100.0 % (8 / 8) 75.0 % (3 / 4)
assign_synchronous_commit CBC 1954 80.0 % (12 / 15) 75.0 % (3 / 4)
standby_priority_comparator CBC 31 100.0 % (6 / 6) 100.0 % (2 / 2)
assign_synchronous_standby_names CBC 1262 100.0 % (3 / 3)
cmp_lsn UBC 0 0.0 % (0 / 4)

Generated by: LCOV version 2.4-beta