LCOV - differential code coverage report
Current view: top level - src/backend/replication - syncrep.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 76.0 % 317 241 5 71 2 239 2
Current Date: 2025-09-06 07:49:51 +0900 Functions: 84.2 % 19 16 3 2 14
Baseline: lcov-20250907-010129-baseline Branches: 62.0 % 234 145 1 5 83 1 144
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 88.9 % 27 24 3 2 22
(360..) days: 74.8 % 290 217 5 68 217
Function coverage date bins:
(360..) days: 84.2 % 19 16 3 2 14
Branch coverage date bins:
(30,360] days: 73.1 % 26 19 1 6 1 18
(360..) days: 60.6 % 208 126 5 77 126

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 120146 75.4 % (43 / 57) 60.4 % (29 / 48)
SyncRepGetOldestSyncRecPtr CBC 108 100.0 % (12 / 12) 35.7 % (5 / 14)
SyncRepReleaseWaiters GNC 145266 87.9 % (29 / 33) 70.0 % (21 / 30)
check_synchronous_standby_names CBC 1158 64.0 % (16 / 25) 50.0 % (7 / 14)
SyncRepGetNthLatestSyncRecPtr UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepGetSyncRecPtr CBC 108 77.3 % (17 / 22) 50.0 % (6 / 12)
SyncRepQueueInsert CBC 35 55.6 % (5 / 9) 40.0 % (4 / 10)
SyncRepWakeQueue CBC 127 100.0 % (16 / 16) 62.5 % (10 / 16)
SyncRepQueueIsOrderedByLSN CBC 162 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepCleanupAtProcExit CBC 14828 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepGetCandidateStandbys CBC 764 93.9 % (31 / 33) 85.0 % (17 / 20)
SyncRepGetStandbyPriority CBC 668 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepUpdateSyncStandbysDefined CBC 548 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepInitConfig CBC 668 100.0 % (8 / 8) 66.7 % (4 / 6)
assign_synchronous_commit CBC 1775 80.0 % (12 / 15) 75.0 % (3 / 4)
standby_priority_comparator CBC 19 100.0 % (6 / 6) 100.0 % (2 / 2)
assign_synchronous_standby_names CBC 1148 100.0 % (3 / 3)
cmp_lsn UBC 0 0.0 % (0 / 4)

Generated by: LCOV version 2.4-beta