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: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 77.2 % 316 244 72 7 237 9
Current Date: 2026-11-28 16:48:44 +0900 Functions: 84.2 % 19 16 3 2 14
Baseline: lcov-20261128-baseline Branches: 66.7 % 234 156 1 77 9 147
Baseline Date: 2026-11-28 16:48:48 +0900 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 234
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 147

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 20349 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepGetCandidateStandbys CBC 815 96.9 % (31 / 32) 94.4 % (17 / 18)
SyncRepGetNthLatestSyncRecPtr UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepGetOldestSyncRecPtr CBC 163 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetStandbyPriority CBC 894 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepGetSyncRecPtr CBC 168 86.4 % (19 / 22) 83.3 % (10 / 12)
SyncRepInitConfig CBC 894 100.0 % (8 / 8) 75.0 % (3 / 4)
SyncRepQueueInsert CBC 40 55.6 % (5 / 9) 40.0 % (4 / 10)
SyncRepQueueIsOrderedByLSN CBC 218 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepReleaseWaiters GNC 141707 96.9 % (31 / 32) 76.7 % (23 / 30)
SyncRepUpdateSyncStandbysDefined CBC 767 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepWaitForLSN CBC 157338 72.9 % (43 / 59) 55.8 % (29 / 52)
SyncRepWakeQueue GNC 178 100.0 % (15 / 15) 62.5 % (10 / 16)
assign_synchronous_commit CBC 2554 80.0 % (12 / 15) 75.0 % (3 / 4)
assign_synchronous_standby_names CBC 1446 100.0 % (3 / 3)
check_synchronous_standby_names CBC 1456 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