LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 86.2 % 398 343 2 53 10 1 53 279 4 37
Current Date: 2026-06-29 16:15:13 +0200 Functions: 96.0 % 25 24 1 8 16 1 2
Baseline: lcov-20260630-baseline Branches: 61.9 % 278 172 9 97 4 21 147
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 96.4 % 56 54 2 53 1
(360..) days: 84.5 % 342 289 53 10 1 278
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 95.5 % 22 21 1 5 16
Branch coverage date bins:
(30,360] days: 70.0 % 30 21 9 21
(360..) days: 60.9 % 248 151 97 4 147

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 924 53.8 % (14 / 26) 32.1 % (9 / 28)
SanityCheckBackgroundWorker GNC 3478 54.2 % (13 / 24) 46.9 % (15 / 32)
BackgroundWorkerStateChange CBC 1764 86.0 % (49 / 57) 61.8 % (21 / 34)
BackgroundWorkerInitializeConnection GNC 487 71.4 % (10 / 14) 33.3 % (4 / 12)
BackgroundWorkerMain GNC 3150 95.0 % (38 / 40) 56.2 % (9 / 16)
BackgroundWorkerInitializeConnectionByOid GNC 2650 85.7 % (12 / 14) 50.0 % (6 / 12)
ForgetUnstartedBackgroundWorkers CBC 609 66.7 % (8 / 12) 58.3 % (7 / 12)
RegisterDynamicBackgroundWorker GNC 2554 94.4 % (34 / 36) 81.8 % (18 / 22)
TerminateBackgroundWorkersForDatabase GNC 8 100.0 % (17 / 17) 75.0 % (12 / 16)
LookupBackgroundWorkerFunction CBC 3150 87.5 % (7 / 8) 62.5 % (5 / 8)
ResetBackgroundWorkerCrashTimes CBC 5 90.0 % (9 / 10) 62.5 % (5 / 8)
TerminateBackgroundWorker CBC 16 100.0 % (12 / 12) 50.0 % (3 / 6)
ForgetBackgroundWorker CBC 2653 100.0 % (12 / 12) 75.0 % (6 / 8)
GetBackgroundWorkerTypeByPid CBC 910 92.3 % (12 / 13) 75.0 % (6 / 8)
WaitForBackgroundWorkerStartup CBC 35 85.7 % (12 / 14) 75.0 % (6 / 8)
BackgroundWorkerStopNotifications CBC 341 100.0 % (6 / 6) 83.3 % (5 / 6)
FindRegisteredWorkerBySlotNumber CBC 5622 100.0 % (6 / 6) 83.3 % (5 / 6)
GetBackgroundWorkerPid CBC 1898842 100.0 % (14 / 14) 90.0 % (9 / 10)
ReportBackgroundWorkerExit CBC 3137 100.0 % (11 / 11) 87.5 % (7 / 8)
ReportBackgroundWorkerPID CBC 3476 100.0 % (7 / 7) 75.0 % (3 / 4)
WaitForBackgroundWorkerShutdown CBC 2043 83.3 % (10 / 12) 83.3 % (5 / 6)
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
BackgroundWorkerShmemRequest GNC 1212 100.0 % (5 / 5)
BackgroundWorkerUnblockSignals CBC 3298 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1