LCOV - differential code coverage report
Current view: top level - src/backend/commands - async.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 88.8 % 831 738 28 1 64 29 281 428 2 7 89
Current Date: 2026-05-05 10:23:31 +0900 Functions: 96.4 % 55 53 1 1 1 32 20 6
Baseline: lcov-20260505-025707-baseline Branches: 65.9 % 554 365 62 1 126 16 138 211 27 49
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 20 20 20
(30,360] days: 84.7 % 347 294 28 25 261 33
(360..) days: 91.4 % 464 424 1 39 29 395 2
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 93.3 % 15 14 1 14
(360..) days: 97.4 % 38 37 1 1 16 20
Branch coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 64.0 % 222 142 62 18 136 6
(360..) days: 67.0 % 330 221 1 108 16 205

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
asyncQueueErrdetailForIoError UNC 0 0.0 % (0 / 4)
asyncQueuePageDiff UBC 0 0.0 % (0 / 2)
notification_match GBC 1 90.0 % (9 / 10) 50.0 % (4 / 8)
Async_Unlisten CBC 4 66.7 % (4 / 6) 37.5 % (3 / 8)
PrepareTableEntriesForUnlisten GNC 4 83.3 % (5 / 6) 50.0 % (2 / 4)
pg_notification_queue_usage CBC 6 100.0 % (6 / 6)
HandleNotifyInterrupt GNC 11 100.0 % (3 / 3)
pg_listening_channels GNC 12 94.1 % (16 / 17) 75.0 % (6 / 8)
asyncQueueAdvanceTail CBC 14 100.0 % (19 / 19) 75.0 % (9 / 12)
Async_UnlistenOnExit GNC 19 100.0 % (4 / 4)
CleanupListenersOnExit GNC 19 79.2 % (19 / 24) 50.0 % (10 / 20)
ProcessIncomingNotify GNC 31 80.0 % (12 / 15) 42.9 % (6 / 14)
ProcessNotifyInterrupt CBC 37 100.0 % (5 / 5) 100.0 % (4 / 4)
RemoveListenerFromChannel GNC 39 100.0 % (11 / 11) 100.0 % (4 / 4)
asyncQueueUnregister GNC 44 100.0 % (18 / 18) 75.0 % (9 / 12)
asyncQueueReadAllNotifications GNC 47 90.9 % (20 / 22) 75.0 % (6 / 8)
PrepareTableEntriesForUnlistenAll GNC 50 100.0 % (6 / 6) 100.0 % (2 / 2)
asyncQueueProcessPageEntries GNC 50 91.2 % (31 / 34) 80.8 % (21 / 26)
NotifyMyFrontEnd CBC 55 88.9 % (8 / 9) 25.0 % (1 / 4)
BecomeRegisteredListener GNC 58 96.8 % (30 / 31) 73.1 % (19 / 26)
PrepareTableEntriesForListen GNC 58 100.0 % (32 / 32) 100.0 % (10 / 10)
SignalBackends GNC 59 82.7 % (43 / 52) 64.3 % (36 / 56)
Async_Listen CBC 60 80.0 % (4 / 5) 25.0 % (1 / 4)
IsListeningOn GNC 61 75.0 % (3 / 4) 50.0 % (1 / 2)
Async_UnlistenAll CBC 80 83.3 % (5 / 6) 62.5 % (5 / 8)
asyncQueueAddEntries GNC 94 91.7 % (33 / 36) 92.9 % (13 / 14)
asyncQueueFillWarning CBC 94 26.7 % (4 / 15) 4.2 % (1 / 24)
asyncQueueIsFull CBC 94 100.0 % (5 / 5)
initLocalChannelTable GNC 96 100.0 % (7 / 7) 100.0 % (2 / 2)
initPendingListenActions GNC 96 88.9 % (8 / 9) 50.0 % (1 / 2)
asyncQueueUsage CBC 100 100.0 % (7 / 7) 100.0 % (2 / 2)
AsyncNotifyFreezeXids GNC 114 35.0 % (14 / 40) 15.0 % (3 / 20)
queue_listen GNC 115 100.0 % (17 / 17) 100.0 % (4 / 4)
asyncQueuePagePrecedes CBC 133 100.0 % (2 / 2)
initGlobalChannelTable GNC 155 100.0 % (21 / 21) 87.5 % (7 / 8)
GlobalChannelKeyInit GNC 216 100.0 % (5 / 5)
globalChannelTableHash GNC 216 100.0 % (6 / 6)
AtPrepare_Notify CBC 297 75.0 % (3 / 4) 33.3 % (2 / 6)
AddEventToPendingNotifies GNC 1051 100.0 % (30 / 30) 75.0 % (15 / 20)
AsyncExistsPendingNotify CBC 1066 92.9 % (13 / 14) 83.3 % (15 / 18)
pg_notify CBC 1078 100.0 % (10 / 10) 100.0 % (4 / 4)
Async_Notify GNC 1135 92.3 % (36 / 39) 62.5 % (20 / 32)
asyncQueueNotificationToEntry CBC 1136 100.0 % (13 / 13) 50.0 % (2 / 4)
AsyncShmemInit GNC 1241 100.0 % (17 / 17) 100.0 % (2 / 2)
AsyncShmemRequest GNC 1244 100.0 % (6 / 6)
check_notify_buffers CBC 1286 100.0 % (2 / 2)
notification_hash CBC 2001 100.0 % (5 / 5) 50.0 % (1 / 2)
asyncQueueAdvance CBC 2427 100.0 % (12 / 12) 75.0 % (3 / 4)
AtSubAbort_Notify CBC 5380 100.0 % (13 / 13) 87.5 % (7 / 8)
AtSubCommit_Notify CBC 7266 100.0 % (27 / 27) 80.8 % (21 / 26)
AtAbort_Notify GNC 35316 83.3 % (5 / 6) 16.7 % (1 / 6)
ApplyPendingListenActions GNC 35471 84.4 % (27 / 32) 61.8 % (21 / 34)
ClearPendingActionsAndNotifies GNC 35471 100.0 % (5 / 5)
AtCommit_Notify GNC 386299 92.9 % (13 / 14) 77.8 % (14 / 18)
PreCommit_Notify GNC 386454 96.7 % (59 / 61) 83.3 % (45 / 54)

Generated by: LCOV version 2.5.0-beta