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: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 88.9 % 840 747 28 1 64 29 266 452 2 7 65
Current Date: 2026-03-14 14:10:32 -0400 Functions: 96.4 % 55 53 1 1 1 30 22 4
Baseline: lcov-20260315-024220-baseline Branches: 65.8 % 558 367 62 2 127 17 136 214 25 45
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 37.5 % 8 3 5 3
(30,360] days: 86.0 % 344 296 23 25 263 33
(360..) days: 91.8 % 488 448 1 39 29 419 2
Function coverage date bins:
(1,7] days: 0.0 % 1 0 1
(30,360] days: 100.0 % 14 14 14
(360..) days: 97.5 % 40 39 1 1 16 22
Branch coverage date bins:
(30,360] days: 63.5 % 222 141 62 1 18 136 5
(360..) days: 67.3 % 336 226 1 109 17 209

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
asyncQueueFillWarning CBC 90 26.7 % (4 / 15) 4.2 % (1 / 24)
SignalBackends GNC 55 82.7 % (43 / 52) 64.3 % (36 / 56)
AsyncNotifyFreezeXids GNC 103 35.0 % (14 / 40) 15.0 % (3 / 20)
ApplyPendingListenActions GNC 26888 84.4 % (27 / 32) 61.8 % (21 / 34)
Async_Notify GNC 1128 92.3 % (36 / 39) 62.5 % (20 / 32)
CleanupListenersOnExit GNC 17 79.2 % (19 / 24) 50.0 % (10 / 20)
PreCommit_Notify GNC 310613 96.7 % (59 / 61) 83.3 % (45 / 54)
ProcessIncomingNotify GNC 31 80.0 % (12 / 15) 42.9 % (6 / 14)
BecomeRegisteredListener GNC 56 96.8 % (30 / 31) 73.1 % (19 / 26)
asyncQueueProcessPageEntries GNC 49 91.2 % (31 / 34) 76.9 % (20 / 26)
AddEventToPendingNotifies GNC 1051 100.0 % (30 / 30) 75.0 % (15 / 20)
Async_Unlisten CBC 3 66.7 % (4 / 6) 37.5 % (3 / 8)
AtAbort_Notify GNC 26742 83.3 % (5 / 6) 16.7 % (1 / 6)
AtSubCommit_Notify CBC 6982 100.0 % (27 / 27) 80.8 % (21 / 26)
AtCommit_Notify GNC 310458 92.9 % (13 / 14) 77.8 % (14 / 18)
AtPrepare_Notify CBC 315 75.0 % (3 / 4) 33.3 % (2 / 6)
notification_match GBC 1 90.0 % (9 / 10) 50.0 % (4 / 8)
AsyncExistsPendingNotify CBC 1066 92.9 % (13 / 14) 83.3 % (15 / 18)
Async_Listen CBC 58 80.0 % (4 / 5) 25.0 % (1 / 4)
Async_UnlistenAll CBC 78 83.3 % (5 / 6) 62.5 % (5 / 8)
NotifyMyFrontEnd CBC 55 88.9 % (8 / 9) 25.0 % (1 / 4)
asyncQueueAdvanceTail CBC 13 100.0 % (19 / 19) 75.0 % (9 / 12)
AsyncShmemInit GNC 1150 100.0 % (26 / 26) 66.7 % (4 / 6)
PrepareTableEntriesForUnlisten GNC 3 83.3 % (5 / 6) 50.0 % (2 / 4)
asyncQueueNotificationToEntry CBC 1132 100.0 % (13 / 13) 50.0 % (2 / 4)
asyncQueueReadAllNotifications GNC 46 90.9 % (20 / 22) 75.0 % (6 / 8)
asyncQueueUnregister GNC 40 100.0 % (18 / 18) 83.3 % (10 / 12)
pg_listening_channels GNC 9 94.1 % (16 / 17) 75.0 % (6 / 8)
AtSubAbort_Notify CBC 4703 100.0 % (13 / 13) 87.5 % (7 / 8)
IsListeningOn GNC 55 75.0 % (3 / 4) 50.0 % (1 / 2)
asyncQueueAddEntries GNC 90 91.7 % (33 / 36) 92.9 % (13 / 14)
asyncQueueAdvance CBC 2413 100.0 % (12 / 12) 75.0 % (3 / 4)
initGlobalChannelTable GNC 146 100.0 % (21 / 21) 87.5 % (7 / 8)
initPendingListenActions GNC 91 88.9 % (8 / 9) 50.0 % (1 / 2)
notification_hash CBC 2001 100.0 % (5 / 5) 50.0 % (1 / 2)
PrepareTableEntriesForListen GNC 56 100.0 % (32 / 32) 100.0 % (10 / 10)
PrepareTableEntriesForUnlistenAll GNC 48 100.0 % (6 / 6) 100.0 % (2 / 2)
ProcessNotifyInterrupt CBC 38 100.0 % (5 / 5) 100.0 % (4 / 4)
RemoveListenerFromChannel GNC 37 100.0 % (11 / 11) 100.0 % (4 / 4)
asyncQueueUsage CBC 95 100.0 % (7 / 7) 100.0 % (2 / 2)
initLocalChannelTable GNC 91 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_notify CBC 1072 100.0 % (10 / 10) 100.0 % (4 / 4)
queue_listen GNC 110 100.0 % (17 / 17) 100.0 % (4 / 4)
AsyncShmemSize CBC 2147 100.0 % (5 / 5)
Async_UnlistenOnExit GNC 17 100.0 % (4 / 4)
ClearPendingActionsAndNotifies GNC 26888 100.0 % (5 / 5)
GlobalChannelKeyInit GNC 206 100.0 % (5 / 5)
HandleNotifyInterrupt CBC 11 100.0 % (4 / 4)
asyncQueueErrdetailForIoError UNC 0 0.0 % (0 / 4)
asyncQueueIsFull CBC 90 100.0 % (5 / 5)
asyncQueuePageDiff UBC 0 0.0 % (0 / 2)
asyncQueuePagePrecedes CBC 144 100.0 % (2 / 2)
check_notify_buffers CBC 1184 100.0 % (2 / 2)
globalChannelTableHash GNC 206 100.0 % (6 / 6)
pg_notification_queue_usage CBC 5 100.0 % (6 / 6)

Generated by: LCOV version 2.4-beta