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-20250906-005545-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
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepGetNthLatestSyncRecPtr UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
cmp_lsn UBC 0 0.0 % (0 / 4)
standby_priority_comparator CBC 19 100.0 % (6 / 6) 100.0 % (2 / 2)
SyncRepQueueInsert CBC 31 55.6 % (5 / 9) 40.0 % (4 / 10)
SyncRepGetOldestSyncRecPtr CBC 99 100.0 % (12 / 12) 35.7 % (5 / 14)
SyncRepGetSyncRecPtr CBC 99 77.3 % (17 / 22) 50.0 % (6 / 12)
SyncRepWakeQueue CBC 119 100.0 % (16 / 16) 62.5 % (10 / 16)
SyncRepQueueIsOrderedByLSN CBC 150 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepUpdateSyncStandbysDefined CBC 548 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepGetStandbyPriority CBC 670 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepInitConfig CBC 670 100.0 % (8 / 8) 66.7 % (4 / 6)
SyncRepGetCandidateStandbys CBC 760 93.9 % (31 / 33) 85.0 % (17 / 20)
assign_synchronous_standby_names CBC 1145 100.0 % (3 / 3)
check_synchronous_standby_names CBC 1155 64.0 % (16 / 25) 50.0 % (7 / 14)
assign_synchronous_commit CBC 1775 80.0 % (12 / 15) 75.0 % (3 / 4)
SyncRepCleanupAtProcExit CBC 14831 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepWaitForLSN GNC 120042 75.4 % (43 / 57) 60.4 % (29 / 48)
SyncRepReleaseWaiters GNC 146214 87.9 % (29 / 33) 70.0 % (21 / 30)

Generated by: LCOV version 2.4-beta