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-08-05 11:15:51 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
TerminateBackgroundWorker 15
WaitForBackgroundWorkerStartup 51
BackgroundWorkerStopNotifications 362
BackgroundWorkerInitializeConnection 521
ForgetUnstartedBackgroundWorkers 641
GetBackgroundWorkerTypeByPid 811
RegisterBackgroundWorker 977
BackgroundWorkerShmemInit 1266
BackgroundWorkerShmemRequest 1269
BackgroundWorkerStateChange 1736
WaitForBackgroundWorkerShutdown 2055
RegisterDynamicBackgroundWorker 2604
BackgroundWorkerInitializeConnectionByOid 2719
ForgetBackgroundWorker 2728
ReportBackgroundWorkerExit 3246
BackgroundWorkerMain 3253
LookupBackgroundWorkerFunction 3253
BackgroundWorkerUnblockSignals 3442
SanityCheckBackgroundWorker 3581
ReportBackgroundWorkerPID 3582
FindRegisteredWorkerBySlotNumber 5738
GetBackgroundWorkerPid 9336973

Generated by: LCOV version 2.0-1