LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 86.3 % 401 346 55 1 345 1
Current Date: 2026-11-05 14:14:01 +0100 Functions: 96.0 % 25 24 1 1 23
Baseline: lcov-20261105-baseline Branches: 62.2 % 278 173 1 104 1 1 171
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 96.6 % 59 57 2 1 56
(360..) days: 84.5 % 342 289 53 289
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 95.5 % 22 21 1 1 20
Branch coverage date bins:
(30,360] days: 71.9 % 32 23 1 8 1 1 21
(360..) days: 61.0 % 246 150 96 150

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
RegisterBackgroundWorker CBC 999 53.8 % (14 / 26) 32.1 % (9 / 28)
SanityCheckBackgroundWorker CBC 3653 54.2 % (13 / 24) 46.9 % (15 / 32)
BackgroundWorkerStateChange CBC 1872 86.0 % (49 / 57) 61.8 % (21 / 34)
BackgroundWorkerInitializeConnection CBC 531 71.4 % (10 / 14) 33.3 % (4 / 12)
ForgetUnstartedBackgroundWorkers CBC 662 66.7 % (8 / 12) 58.3 % (7 / 12)
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
BackgroundWorkerInitializeConnectionByOid CBC 2777 85.7 % (12 / 14) 50.0 % (6 / 12)
BackgroundWorkerMain CBC 3321 95.0 % (38 / 40) 56.2 % (9 / 16)
RegisterDynamicBackgroundWorker CBC 2654 94.4 % (34 / 36) 81.8 % (18 / 22)
WaitForBackgroundWorkerShutdown CBC 2057 83.3 % (10 / 12) 83.3 % (5 / 6)
WaitForBackgroundWorkerStartup CBC 12 85.7 % (12 / 14) 75.0 % (6 / 8)
GetBackgroundWorkerTypeByPid CBC 1020 92.3 % (12 / 13) 75.0 % (6 / 8)
LookupBackgroundWorkerFunction GNC 3321 87.5 % (7 / 8) 62.5 % (5 / 8)
ResetBackgroundWorkerCrashTimes CBC 6 90.0 % (9 / 10) 62.5 % (5 / 8)
BackgroundWorkerShmemInit CBC 1303 100.0 % (22 / 22) 75.0 % (6 / 8)
BackgroundWorkerShmemRequest CBC 1307 100.0 % (5 / 5)
BackgroundWorkerStopNotifications CBC 370 100.0 % (6 / 6) 83.3 % (5 / 6)
BackgroundWorkerUnblockSignals CBC 3504 100.0 % (3 / 3)
FindRegisteredWorkerBySlotNumber CBC 6001 100.0 % (6 / 6) 83.3 % (5 / 6)
ForgetBackgroundWorker CBC 2777 100.0 % (12 / 12) 75.0 % (6 / 8)
GetBackgroundWorkerPid CBC 1862982 100.0 % (14 / 14) 90.0 % (9 / 10)
ReportBackgroundWorkerExit CBC 3305 100.0 % (11 / 11) 87.5 % (7 / 8)
ReportBackgroundWorkerPID CBC 3654 100.0 % (7 / 7) 75.0 % (3 / 4)
TerminateBackgroundWorker CBC 23 100.0 % (12 / 12) 50.0 % (3 / 6)
TerminateBackgroundWorkersForDatabase CBC 9 100.0 % (20 / 20) 81.2 % (13 / 16)

Generated by: LCOV version 2.0-1