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
ResetBackgroundWorkerCrashTimes 0
TerminateBackgroundWorkersForDatabase 0
WaitForBackgroundWorkerStartup 0
bgworker_die 0
BackgroundWorkerInitializeConnection 1
ForgetUnstartedBackgroundWorkers 1
RegisterBackgroundWorker 2
TerminateBackgroundWorker 2
GetBackgroundWorkerTypeByPid 5
BackgroundWorkerShmemInit 6
BackgroundWorkerShmemSize 15
BackgroundWorkerStopNotifications 22
BackgroundWorkerStateChange 207
WaitForBackgroundWorkerShutdown 477
BackgroundWorkerInitializeConnectionByOid 478
ForgetBackgroundWorker 478
LookupBackgroundWorkerFunction 479
ReportBackgroundWorkerExit 479
ReportBackgroundWorkerPID 480
BackgroundWorkerMain 481
BackgroundWorkerUnblockSignals 481
RegisterDynamicBackgroundWorker 481
FindRegisteredWorkerBySlotNumber 752
SanityCheckBackgroundWorker 1445
GetBackgroundWorkerPid 1619043

Generated by: LCOV version 2.3.2-1