LCOV - differential code coverage report
Current view: top level - src/backend/commands - async.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 87.4 % 826 722 104 4 6 712 6
Current Date: 2026-11-05 14:14:01 +0100 Functions: 96.4 % 55 53 2 4 49 1
Baseline: lcov-20261105-baseline Branches: 65.2 % 552 360 192 4 356
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 78.6 % 14 11 3 1 10
(30,360] days: 82.9 % 356 295 61 5 290
(360..) days: 91.2 % 456 416 40 4 412
Function coverage date bins:
(30,360] days: 94.4 % 18 17 1 2 15
(360..) days: 97.3 % 37 36 1 2 34
Branch coverage date bins:
(7,30] days: 50.0 % 8 4 4 4
(30,360] days: 63.4 % 216 137 79 137
(360..) days: 66.8 % 328 219 109 4 215

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 UBC 0 0.0 % (0 / 4)
asyncQueuePageDiff UBC 0 0.0 % (0 / 2)
notification_match CBC 1 90.0 % (9 / 10) 50.0 % (4 / 8)
Async_Unlisten CBC 4 66.7 % (4 / 6) 37.5 % (3 / 8)
PrepareTableEntriesForUnlisten CBC 4 83.3 % (5 / 6) 50.0 % (2 / 4)
pg_notification_queue_usage CBC 6 100.0 % (6 / 6)
HandleNotifyInterrupt CBC 7 100.0 % (3 / 3)
pg_listening_channels CBC 12 100.0 % (10 / 10) 75.0 % (3 / 4)
asyncQueueAdvanceTail CBC 14 100.0 % (19 / 19) 75.0 % (9 / 12)
Async_UnlistenOnExit CBC 18 100.0 % (4 / 4)
CleanupListenersOnExit CBC 18 79.2 % (19 / 24) 50.0 % (10 / 20)
ProcessIncomingNotify CBC 27 80.0 % (12 / 15) 42.9 % (6 / 14)
RemoveListenerFromChannel CBC 32 100.0 % (11 / 11) 100.0 % (4 / 4)
ProcessNotifyInterrupt CBC 34 100.0 % (5 / 5) 100.0 % (4 / 4)
asyncQueueUnregister CBC 39 100.0 % (18 / 18) 75.0 % (9 / 12)
PrepareTableEntriesForUnlistenAll CBC 41 100.0 % (6 / 6) 100.0 % (2 / 2)
asyncQueueReadAllNotifications GNC 45 90.9 % (20 / 22) 75.0 % (6 / 8)
asyncQueueProcessPageEntries CBC 48 91.2 % (31 / 34) 76.9 % (20 / 26)
BecomeRegisteredListener CBC 50 96.8 % (30 / 31) 73.1 % (19 / 26)
PrepareTableEntriesForListen CBC 50 71.9 % (23 / 32) 90.0 % (9 / 10)
Async_Listen CBC 52 80.0 % (4 / 5) 25.0 % (1 / 4)
IsListeningOn CBC 53 75.0 % (3 / 4) 50.0 % (1 / 2)
NotifyMyFrontEnd CBC 53 88.9 % (8 / 9) 25.0 % (1 / 4)
SignalBackends CBC 59 82.0 % (41 / 50) 64.8 % (35 / 54)
Async_UnlistenAll CBC 62 83.3 % (5 / 6) 62.5 % (5 / 8)
initLocalChannelTable CBC 82 100.0 % (7 / 7) 100.0 % (2 / 2)
initPendingListenActions CBC 82 88.9 % (8 / 9) 50.0 % (1 / 2)
asyncQueueAddEntries CBC 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)
queue_listen CBC 98 100.0 % (17 / 17) 100.0 % (4 / 4)
asyncQueueUsage CBC 100 100.0 % (7 / 7) 100.0 % (2 / 2)
AsyncNotifyFreezeXids CBC 116 35.0 % (14 / 40) 15.0 % (3 / 20)
asyncQueuePagePrecedes CBC 120 100.0 % (2 / 2)
initGlobalChannelTable CBC 141 100.0 % (21 / 21) 87.5 % (7 / 8)
GlobalChannelKeyInit CBC 193 100.0 % (5 / 5)
globalChannelTableHash GNC 193 100.0 % (6 / 6)
AtPrepare_Notify CBC 309 75.0 % (3 / 4) 33.3 % (2 / 6)
AddEventToPendingNotifies CBC 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 CBC 1135 92.3 % (36 / 39) 62.5 % (20 / 32)
asyncQueueNotificationToEntry CBC 1136 100.0 % (13 / 13) 50.0 % (2 / 4)
AsyncShmemInit CBC 1303 100.0 % (17 / 17) 100.0 % (2 / 2)
AsyncShmemRequest CBC 1307 100.0 % (6 / 6)
check_notify_buffers CBC 1348 100.0 % (2 / 2)
notification_hash GNC 2001 100.0 % (5 / 5) 50.0 % (1 / 2)
AtSubAbort_Notify CBC 5617 100.0 % (13 / 13) 87.5 % (7 / 8)
AtSubCommit_Notify CBC 17382 100.0 % (27 / 27) 80.8 % (21 / 26)
AtAbort_Notify CBC 35767 60.0 % (6 / 10) 20.0 % (2 / 10)
ApplyPendingListenActions CBC 35908 84.4 % (27 / 32) 61.8 % (21 / 34)
ClearPendingActionsAndNotifies CBC 35908 100.0 % (5 / 5)
AtCommit_Notify CBC 392403 92.9 % (13 / 14) 77.8 % (14 / 18)
PreCommit_Notify CBC 392563 96.7 % (59 / 61) 83.3 % (45 / 54)

Generated by: LCOV version 2.0-1