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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 87.3 % 829 724 37 4 64 29 270 425 2 7 89
Current Date: 2026-05-29 21:51:00 -0400 Functions: 96.4 % 55 53 1 1 1 32 20 6
Baseline: lcov-20260530-034037-baseline Branches: 65.8 % 552 363 60 3 126 16 138 209 27 49
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 75.0 % 4 3 1 3
(30,360] days: 83.1 % 361 300 36 25 267 33
(360..) days: 90.7 % 464 421 4 39 29 392 2
Function coverage date bins:
(30,360] days: 94.1 % 17 16 1 16
(360..) days: 97.4 % 38 37 1 1 16 20
Branch coverage date bins:
(1,7] days: 0.0 % 2 0 2
(30,360] days: 65.5 % 220 144 58 18 138 6
(360..) days: 66.4 % 330 219 3 108 16 203

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 94 26.7 % (4 / 15) 4.2 % (1 / 24)
SignalBackends GNC 59 82.0 % (41 / 50) 64.8 % (35 / 54)
AsyncNotifyFreezeXids GNC 114 35.0 % (14 / 40) 15.0 % (3 / 20)
ApplyPendingListenActions GNC 35491 84.4 % (27 / 32) 61.8 % (21 / 34)
Async_Notify GNC 1135 92.3 % (36 / 39) 62.5 % (20 / 32)
BecomeRegisteredListener GNC 50 87.1 % (27 / 31) 65.4 % (17 / 26)
PreCommit_Notify GNC 388618 96.7 % (59 / 61) 83.3 % (45 / 54)
CleanupListenersOnExit GNC 18 79.2 % (19 / 24) 60.0 % (12 / 20)
ProcessIncomingNotify GNC 26 80.0 % (12 / 15) 42.9 % (6 / 14)
AddEventToPendingNotifies GNC 1051 100.0 % (30 / 30) 75.0 % (15 / 20)
Async_Unlisten CBC 4 66.7 % (4 / 6) 37.5 % (3 / 8)
AtAbort_Notify GNC 35350 83.3 % (5 / 6) 16.7 % (1 / 6)
AtSubCommit_Notify CBC 7276 100.0 % (27 / 27) 80.8 % (21 / 26)
asyncQueueProcessPageEntries GNC 47 91.2 % (31 / 34) 80.8 % (21 / 26)
AtCommit_Notify GNC 388463 92.9 % (13 / 14) 77.8 % (14 / 18)
AtPrepare_Notify CBC 336 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 52 80.0 % (4 / 5) 25.0 % (1 / 4)
Async_UnlistenAll CBC 62 83.3 % (5 / 6) 62.5 % (5 / 8)
NotifyMyFrontEnd CBC 53 88.9 % (8 / 9) 25.0 % (1 / 4)
asyncQueueAdvanceTail CBC 14 100.0 % (19 / 19) 75.0 % (9 / 12)
asyncQueueUnregister GNC 39 100.0 % (18 / 18) 75.0 % (9 / 12)
PrepareTableEntriesForUnlisten GNC 4 83.3 % (5 / 6) 50.0 % (2 / 4)
asyncQueueNotificationToEntry CBC 1136 100.0 % (13 / 13) 50.0 % (2 / 4)
asyncQueueReadAllNotifications GNC 44 90.9 % (20 / 22) 75.0 % (6 / 8)
pg_listening_channels GNC 12 94.1 % (16 / 17) 75.0 % (6 / 8)
AtSubAbort_Notify CBC 5394 100.0 % (13 / 13) 87.5 % (7 / 8)
IsListeningOn GNC 55 75.0 % (3 / 4) 50.0 % (1 / 2)
PrepareTableEntriesForListen GNC 50 71.9 % (23 / 32) 90.0 % (9 / 10)
asyncQueueAddEntries GNC 94 91.7 % (33 / 36) 92.9 % (13 / 14)
asyncQueueAdvance CBC 2505 100.0 % (12 / 12) 75.0 % (3 / 4)
initGlobalChannelTable GNC 141 100.0 % (21 / 21) 87.5 % (7 / 8)
initPendingListenActions GNC 82 88.9 % (8 / 9) 50.0 % (1 / 2)
notification_hash CBC 2001 100.0 % (5 / 5) 50.0 % (1 / 2)
AsyncShmemInit GNC 1248 100.0 % (17 / 17) 100.0 % (2 / 2)
PrepareTableEntriesForUnlistenAll GNC 41 100.0 % (6 / 6) 100.0 % (2 / 2)
ProcessNotifyInterrupt CBC 33 100.0 % (5 / 5) 100.0 % (4 / 4)
RemoveListenerFromChannel GNC 32 100.0 % (11 / 11) 100.0 % (4 / 4)
asyncQueueUsage CBC 100 100.0 % (7 / 7) 100.0 % (2 / 2)
initLocalChannelTable GNC 82 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_notify CBC 1078 100.0 % (10 / 10) 100.0 % (4 / 4)
queue_listen GNC 98 100.0 % (17 / 17) 100.0 % (4 / 4)
AsyncShmemRequest GNC 1251 100.0 % (6 / 6)
Async_UnlistenOnExit GNC 18 100.0 % (4 / 4)
ClearPendingActionsAndNotifies GNC 35491 100.0 % (5 / 5)
GlobalChannelKeyInit GNC 193 100.0 % (5 / 5)
HandleNotifyInterrupt GNC 6 100.0 % (3 / 3)
asyncQueueErrdetailForIoError UNC 0 0.0 % (0 / 4)
asyncQueueIsFull CBC 94 100.0 % (5 / 5)
asyncQueuePageDiff UBC 0 0.0 % (0 / 2)
asyncQueuePagePrecedes CBC 116 100.0 % (2 / 2)
check_notify_buffers CBC 1292 100.0 % (2 / 2)
globalChannelTableHash GNC 193 100.0 % (6 / 6)
pg_notification_queue_usage CBC 6 100.0 % (6 / 6)

Generated by: LCOV version 2.5.0-beta