LCOV - code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 73.7 % 482 355
Test Date: 2026-01-26 10:56:24 Functions: 80.8 % 26 21
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 39.8 % 382 152

Function Name Sort by function name Hit count Sort by function hit count
BackgroundWorkerBlockSignals 0
BackgroundWorkerInitializeConnection 1
BackgroundWorkerInitializeConnectionByOid 478
BackgroundWorkerMain 481
BackgroundWorkerShmemInit 6
BackgroundWorkerShmemSize 15
BackgroundWorkerStateChange 207
BackgroundWorkerStopNotifications 22
BackgroundWorkerUnblockSignals 481
FindRegisteredWorkerBySlotNumber 752
ForgetBackgroundWorker 478
ForgetUnstartedBackgroundWorkers 1
GetBackgroundWorkerPid 1619043
GetBackgroundWorkerTypeByPid 5
LookupBackgroundWorkerFunction 479
RegisterBackgroundWorker 2
RegisterDynamicBackgroundWorker 481
ReportBackgroundWorkerExit 479
ReportBackgroundWorkerPID 480
ResetBackgroundWorkerCrashTimes 0
SanityCheckBackgroundWorker 1445
TerminateBackgroundWorker 2
TerminateBackgroundWorkersForDatabase 0
WaitForBackgroundWorkerShutdown 477
WaitForBackgroundWorkerStartup 0
bgworker_die 0

Generated by: LCOV version 2.3.2-1