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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 77.0 % 318 245 6 67 10 235 4 11
Current Date: 2026-05-05 10:23:31 +0900 Functions: 84.2 % 19 16 1 2 5 11
Baseline: lcov-20260505-025707-baseline Branches: 66.2 % 234 155 12 67 1 12 142 2 2 14 6
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 0.0 % 3 0 3
(30,360] days: 76.9 % 13 10 3 10
(360..) days: 77.8 % 302 235 67 235
Function coverage date bins:
(360..) days: 84.2 % 19 16 1 2 5 11
Branch coverage date bins:
(7,30] days: 0.0 % 6 0 6
(30,360] days: 66.7 % 18 12 6 12
(360..) days: 66.8 % 214 143 67 1 142 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
SyncRepGetNthLatestSyncRecPtr UNC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepWaitForLSN GNC 153127 72.9 % (43 / 59) 55.8 % (29 / 52)
check_synchronous_standby_names CBC 1371 64.0 % (16 / 25) 50.0 % (7 / 14)
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepCleanupAtProcExit CBC 18582 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepQueueInsert CBC 34 55.6 % (5 / 9) 40.0 % (4 / 10)
cmp_lsn UBC 0 0.0 % (0 / 4)
SyncRepGetSyncRecPtr CBC 148 86.4 % (19 / 22) 83.3 % (10 / 12)
assign_synchronous_commit CBC 2097 80.0 % (12 / 15) 75.0 % (3 / 4)
SyncRepGetCandidateStandbys GNC 694 93.8 % (30 / 32) 88.9 % (16 / 18)
SyncRepQueueIsOrderedByLSN GNC 201 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepReleaseWaiters GNC 107118 97.0 % (32 / 33) 76.7 % (23 / 30)
SyncRepGetOldestSyncRecPtr GNC 143 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetStandbyPriority CBC 783 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepInitConfig CBC 783 100.0 % (8 / 8) 75.0 % (3 / 4)
SyncRepUpdateSyncStandbysDefined CBC 732 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepWakeQueue CBC 167 100.0 % (16 / 16) 62.5 % (10 / 16)
assign_synchronous_standby_names CBC 1361 100.0 % (3 / 3)
standby_priority_comparator CBC 34 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta