LCOV - differential code coverage report
Current view: top level - src/backend/replication - syncrep.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 77.5 % 316 245 3 68 8 237 3 9
Current Date: 2025-12-18 07:33:40 +0900 Functions: 84.2 % 19 16 1 2 4 12
Baseline: lcov-20251218-005734-baseline Branches: 64.1 % 234 150 12 72 6 144
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 25.0 % 4 1 3 1
(30,360] days: 92.9 % 28 26 2 7 19
(360..) days: 76.8 % 284 218 66 218
Function coverage date bins:
(360..) days: 84.2 % 19 16 1 2 4 12
Branch coverage date bins:
(30,360] days: 57.1 % 42 24 12 6 6 18
(360..) days: 65.6 % 192 126 66 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
SyncRepGetNthLatestSyncRecPtr UNC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SyncRepWaitForLSN GNC 126425 75.4 % (43 / 57) 60.4 % (29 / 48)
check_synchronous_standby_names CBC 1197 64.0 % (16 / 25) 50.0 % (7 / 14)
SyncRepCancelWait UBC 0 0.0 % (0 / 7) 0.0 % (0 / 2)
SyncRepCleanupAtProcExit CBC 15469 42.9 % (3 / 7) 25.0 % (1 / 4)
SyncRepQueueInsert CBC 32 55.6 % (5 / 9) 40.0 % (4 / 10)
cmp_lsn UBC 0 0.0 % (0 / 4)
SyncRepGetSyncRecPtr CBC 114 86.4 % (19 / 22) 75.0 % (9 / 12)
assign_synchronous_commit CBC 1836 80.0 % (12 / 15) 75.0 % (3 / 4)
SyncRepGetCandidateStandbys GNC 790 93.8 % (30 / 32) 85.0 % (17 / 20)
SyncRepQueueIsOrderedByLSN CBC 164 88.9 % (8 / 9) 60.0 % (6 / 10)
SyncRepReleaseWaiters GNC 98105 97.0 % (32 / 33) 76.7 % (23 / 30)
SyncRepGetOldestSyncRecPtr GNC 113 100.0 % (12 / 12) 35.7 % (5 / 14)
SyncRepGetStandbyPriority CBC 688 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepInitConfig CBC 688 100.0 % (8 / 8) 66.7 % (4 / 6)
SyncRepUpdateSyncStandbysDefined CBC 582 100.0 % (16 / 16) 83.3 % (15 / 18)
SyncRepWakeQueue CBC 132 100.0 % (16 / 16) 62.5 % (10 / 16)
assign_synchronous_standby_names CBC 1187 100.0 % (3 / 3)
standby_priority_comparator CBC 20 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta