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: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 76.9 % 316 243 73 7 236 9
Current Date: 2026-09-20 14:13:17 +0900 Functions: 84.2 % 19 16 3 2 14
Baseline: lcov-20260920-baseline Branches: 66.2 % 234 155 1 78 9 146
Baseline Date: 2026-09-20 14:13:13 +0900 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.3 % 295 228 67 228
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: 66.8 % 202 135 67 135

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 UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepWaitForLSN CBC 151692 72.9 % (43 / 59) 55.8 % (29 / 52)
check_synchronous_standby_names CBC 1403 64.0 % (16 / 25) 50.0 % (7 / 14)
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepCleanupAtProcExit CBC 19220 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepQueueInsert CBC 39 55.6 % (5 / 9) 40.0 % (4 / 10)
cmp_lsn UBC 0 0.0 % (0 / 4)
SyncRepGetSyncRecPtr CBC 166 86.4 % (19 / 22) 83.3 % (10 / 12)
assign_synchronous_commit CBC 2267 80.0 % (12 / 15) 75.0 % (3 / 4)
SyncRepGetCandidateStandbys CBC 771 93.8 % (30 / 32) 88.9 % (16 / 18)
SyncRepQueueIsOrderedByLSN CBC 215 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepReleaseWaiters GNC 139658 96.9 % (31 / 32) 76.7 % (23 / 30)
SyncRepGetOldestSyncRecPtr CBC 162 100.0 % (12 / 12) 78.6 % (11 / 14)
SyncRepGetStandbyPriority CBC 840 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepInitConfig CBC 840 100.0 % (8 / 8) 75.0 % (3 / 4)
SyncRepUpdateSyncStandbysDefined CBC 732 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepWakeQueue GNC 176 100.0 % (15 / 15) 62.5 % (10 / 16)
assign_synchronous_standby_names CBC 1393 100.0 % (3 / 3)
standby_priority_comparator CBC 36 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1