LCOV - differential code coverage report
Current view: top level - src/backend/commands - async.c (source / functions) Coverage Total Hit LBC UBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 87.7 % 829 727 102 2 725 2
Current Date: 2026-08-27 14:31:44 +0300 Functions: 96.4 % 55 53 2 2 51 1
Baseline: lcov-20260827-baseline Branches: 65.8 % 552 363 2 187 363
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 83.0 % 365 303 62 1 302
(360..) days: 91.4 % 463 423 40 423
Function coverage date bins:
(30,360] days: 94.4 % 18 17 1 1 16
(360..) days: 97.3 % 37 36 1 1 35
Branch coverage date bins:
(30,360] days: 64.0 % 222 142 2 78 142
(360..) days: 67.0 % 330 221 109 221

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

Generated by: LCOV version 2.0-1