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-25 12:16:01 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 16
BackgroundWorkerStopNotifications 363
BackgroundWorkerInitializeConnection 521
ForgetUnstartedBackgroundWorkers 644
GetBackgroundWorkerTypeByPid 815
RegisterBackgroundWorker 978
BackgroundWorkerShmemInit 1265
BackgroundWorkerShmemRequest 1268
BackgroundWorkerStateChange 1772
WaitForBackgroundWorkerShutdown 2019
RegisterDynamicBackgroundWorker 2614
BackgroundWorkerInitializeConnectionByOid 2736
ForgetBackgroundWorker 2743
ReportBackgroundWorkerExit 3261
BackgroundWorkerMain 3270
LookupBackgroundWorkerFunction 3270
BackgroundWorkerUnblockSignals 3470
SanityCheckBackgroundWorker 3592
ReportBackgroundWorkerPID 3601
FindRegisteredWorkerBySlotNumber 5819
GetBackgroundWorkerPid 10566649

Generated by: LCOV version 2.0-1