LCOV - code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 85.9 % 389 334
Test Date: 2026-11-16 06:16:31 Functions: 96.0 % 25 24
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 63.4 % 254 161

Function Name Sort by function name Hit count Sort by function hit count
BackgroundWorkerBlockSignals 0
ResetBackgroundWorkerCrashTimes 6
TerminateBackgroundWorkersForDatabase 11
WaitForBackgroundWorkerStartup 13
TerminateBackgroundWorker 31
BackgroundWorkerStopNotifications 382
BackgroundWorkerInitializeConnection 561
ForgetUnstartedBackgroundWorkers 695
GetBackgroundWorkerTypeByPid 917
RegisterBackgroundWorker 1034
BackgroundWorkerShmemInit 1345
BackgroundWorkerShmemRequest 1349
BackgroundWorkerStateChange 1903
WaitForBackgroundWorkerShutdown 2062
RegisterDynamicBackgroundWorker 2746
BackgroundWorkerInitializeConnectionByOid 2886
ForgetBackgroundWorker 2899
ReportBackgroundWorkerExit 3458
BackgroundWorkerMain 3462
LookupBackgroundWorkerFunction 3462
BackgroundWorkerUnblockSignals 3754
SanityCheckBackgroundWorker 3780
ReportBackgroundWorkerPID 3803
FindRegisteredWorkerBySlotNumber 6195
GetBackgroundWorkerPid 10751281

Generated by: LCOV version 2.0-1