LCOV - code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 85.8 % 386 331
Test Date: 2026-07-15 14:15:45 Functions: 96.0 % 25 24
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 63.0 % 254 160

Function Name Sort by function name Hit count Sort by function hit count
BackgroundWorkerBlockSignals 0
ResetBackgroundWorkerCrashTimes 5
TerminateBackgroundWorkersForDatabase 7
TerminateBackgroundWorker 15
WaitForBackgroundWorkerStartup 35
BackgroundWorkerStopNotifications 349
BackgroundWorkerInitializeConnection 517
ForgetUnstartedBackgroundWorkers 636
GetBackgroundWorkerTypeByPid 778
RegisterBackgroundWorker 959
BackgroundWorkerShmemInit 1248
BackgroundWorkerShmemRequest 1251
BackgroundWorkerStateChange 1715
WaitForBackgroundWorkerShutdown 2036
RegisterDynamicBackgroundWorker 2570
BackgroundWorkerInitializeConnectionByOid 2692
ForgetBackgroundWorker 2699
ReportBackgroundWorkerExit 3213
BackgroundWorkerMain 3222
LookupBackgroundWorkerFunction 3222
BackgroundWorkerUnblockSignals 3415
SanityCheckBackgroundWorker 3529
ReportBackgroundWorkerPID 3546
FindRegisteredWorkerBySlotNumber 5668
GetBackgroundWorkerPid 10393188

Generated by: LCOV version 2.0-1