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
BackgroundWorkerInitializeConnection 561
BackgroundWorkerInitializeConnectionByOid 2886
BackgroundWorkerMain 3462
BackgroundWorkerShmemInit 1345
BackgroundWorkerShmemRequest 1349
BackgroundWorkerStateChange 1903
BackgroundWorkerStopNotifications 382
BackgroundWorkerUnblockSignals 3754
FindRegisteredWorkerBySlotNumber 6195
ForgetBackgroundWorker 2899
ForgetUnstartedBackgroundWorkers 695
GetBackgroundWorkerPid 10751281
GetBackgroundWorkerTypeByPid 917
LookupBackgroundWorkerFunction 3462
RegisterBackgroundWorker 1034
RegisterDynamicBackgroundWorker 2746
ReportBackgroundWorkerExit 3458
ReportBackgroundWorkerPID 3803
ResetBackgroundWorkerCrashTimes 6
SanityCheckBackgroundWorker 3780
TerminateBackgroundWorker 31
TerminateBackgroundWorkersForDatabase 11
WaitForBackgroundWorkerShutdown 2062
WaitForBackgroundWorkerStartup 13

Generated by: LCOV version 2.0-1