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: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 86.3 % 401 346 55 10 1 335 1
Current Date: 2026-10-12 11:56:10 +0200 Functions: 96.0 % 25 24 1 1 23
Baseline: lcov-20261012-baseline Branches: 62.2 % 278 173 1 104 5 1 167
Baseline Date: 2026-10-12 10:36:06 +0200 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 10 279
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 4 146

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 984 53.8 % (14 / 26) 32.1 % (9 / 28)
SanityCheckBackgroundWorker CBC 3585 54.2 % (13 / 24) 46.9 % (15 / 32)
BackgroundWorkerStateChange CBC 1873 86.0 % (49 / 57) 61.8 % (21 / 34)
BackgroundWorkerInitializeConnection CBC 518 71.4 % (10 / 14) 33.3 % (4 / 12)
BackgroundWorkerMain CBC 3254 95.0 % (38 / 40) 56.2 % (9 / 16)
BackgroundWorkerInitializeConnectionByOid CBC 2723 85.7 % (12 / 14) 50.0 % (6 / 12)
ForgetUnstartedBackgroundWorkers CBC 650 66.7 % (8 / 12) 58.3 % (7 / 12)
RegisterDynamicBackgroundWorker CBC 2601 94.4 % (34 / 36) 81.8 % (18 / 22)
LookupBackgroundWorkerFunction GNC 3254 87.5 % (7 / 8) 62.5 % (5 / 8)
ResetBackgroundWorkerCrashTimes CBC 6 90.0 % (9 / 10) 62.5 % (5 / 8)
TerminateBackgroundWorker CBC 23 100.0 % (12 / 12) 50.0 % (3 / 6)
TerminateBackgroundWorkersForDatabase CBC 8 100.0 % (20 / 20) 81.2 % (13 / 16)
BackgroundWorkerShmemInit CBC 1283 100.0 % (22 / 22) 75.0 % (6 / 8)
ForgetBackgroundWorker CBC 2726 100.0 % (12 / 12) 75.0 % (6 / 8)
GetBackgroundWorkerTypeByPid CBC 1022 92.3 % (12 / 13) 75.0 % (6 / 8)
WaitForBackgroundWorkerStartup CBC 12 85.7 % (12 / 14) 75.0 % (6 / 8)
BackgroundWorkerStopNotifications CBC 368 100.0 % (6 / 6) 83.3 % (5 / 6)
FindRegisteredWorkerBySlotNumber CBC 5918 100.0 % (6 / 6) 83.3 % (5 / 6)
GetBackgroundWorkerPid CBC 1636105 100.0 % (14 / 14) 90.0 % (9 / 10)
ReportBackgroundWorkerExit CBC 3241 100.0 % (11 / 11) 87.5 % (7 / 8)
ReportBackgroundWorkerPID CBC 3584 100.0 % (7 / 7) 75.0 % (3 / 4)
WaitForBackgroundWorkerShutdown CBC 2005 83.3 % (10 / 12) 83.3 % (5 / 6)
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
BackgroundWorkerShmemRequest CBC 1287 100.0 % (5 / 5)
BackgroundWorkerUnblockSignals CBC 3437 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1