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-26 13:15:50 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 10
WaitForBackgroundWorkerStartup 12
TerminateBackgroundWorker 23
BackgroundWorkerStopNotifications 374
BackgroundWorkerInitializeConnection 552
ForgetUnstartedBackgroundWorkers 682
GetBackgroundWorkerTypeByPid 882
RegisterBackgroundWorker 1024
BackgroundWorkerShmemInit 1327
BackgroundWorkerShmemRequest 1331
BackgroundWorkerStateChange 1800
WaitForBackgroundWorkerShutdown 2049
RegisterDynamicBackgroundWorker 2674
BackgroundWorkerInitializeConnectionByOid 2810
ForgetBackgroundWorker 2819
ReportBackgroundWorkerExit 3368
BackgroundWorkerMain 3375
LookupBackgroundWorkerFunction 3375
BackgroundWorkerUnblockSignals 3597
SanityCheckBackgroundWorker 3698
ReportBackgroundWorkerPID 3713
FindRegisteredWorkerBySlotNumber 5980
GetBackgroundWorkerPid 10470151

Generated by: LCOV version 2.0-1