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-10-06 01:15:45 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 5
TerminateBackgroundWorkersForDatabase 8
WaitForBackgroundWorkerStartup 12
TerminateBackgroundWorker 21
BackgroundWorkerStopNotifications 370
BackgroundWorkerInitializeConnection 540
ForgetUnstartedBackgroundWorkers 669
GetBackgroundWorkerTypeByPid 866
RegisterBackgroundWorker 1007
BackgroundWorkerShmemInit 1309
BackgroundWorkerShmemRequest 1313
BackgroundWorkerStateChange 1781
WaitForBackgroundWorkerShutdown 2005
RegisterDynamicBackgroundWorker 2626
BackgroundWorkerInitializeConnectionByOid 2753
ForgetBackgroundWorker 2764
ReportBackgroundWorkerExit 3301
BackgroundWorkerMain 3306
LookupBackgroundWorkerFunction 3306
BackgroundWorkerUnblockSignals 3516
SanityCheckBackgroundWorker 3633
ReportBackgroundWorkerPID 3641
FindRegisteredWorkerBySlotNumber 5842
GetBackgroundWorkerPid 11099012

Generated by: LCOV version 2.0-1