LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 86.2 % 398 343 55 1 342 1
Current Date: 2026-07-25 17:13:00 -0400 Functions: 96.0 % 25 24 1 1 23
Baseline: lcov-20260726-baseline Branches: 61.9 % 278 172 1 105 1 171
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 96.4 % 55 53 2 53
(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:
(7,30] days: 50.0 % 2 1 1 1
(30,360] days: 70.0 % 30 21 9 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 938 53.8 % (14 / 26) 32.1 % (9 / 28)
SanityCheckBackgroundWorker CBC 3489 54.2 % (13 / 24) 46.9 % (15 / 32)
BackgroundWorkerStateChange CBC 1757 86.0 % (49 / 57) 61.8 % (21 / 34)
BackgroundWorkerInitializeConnection CBC 495 71.4 % (10 / 14) 33.3 % (4 / 12)
BackgroundWorkerMain CBC 3167 95.0 % (38 / 40) 56.2 % (9 / 16)
BackgroundWorkerInitializeConnectionByOid CBC 2659 85.7 % (12 / 14) 50.0 % (6 / 12)
ForgetUnstartedBackgroundWorkers CBC 614 66.7 % (8 / 12) 58.3 % (7 / 12)
RegisterDynamicBackgroundWorker CBC 2551 94.4 % (34 / 36) 81.8 % (18 / 22)
TerminateBackgroundWorkersForDatabase CBC 7 100.0 % (17 / 17) 75.0 % (12 / 16)
LookupBackgroundWorkerFunction GNC 3167 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)
BackgroundWorkerShmemInit CBC 1223 100.0 % (22 / 22) 75.0 % (6 / 8)
ForgetBackgroundWorker CBC 2659 100.0 % (12 / 12) 75.0 % (6 / 8)
GetBackgroundWorkerTypeByPid CBC 912 92.3 % (12 / 13) 75.0 % (6 / 8)
WaitForBackgroundWorkerStartup CBC 35 85.7 % (12 / 14) 75.0 % (6 / 8)
BackgroundWorkerStopNotifications CBC 346 100.0 % (6 / 6) 83.3 % (5 / 6)
FindRegisteredWorkerBySlotNumber CBC 5591 100.0 % (6 / 6) 83.3 % (5 / 6)
GetBackgroundWorkerPid CBC 1848969 100.0 % (14 / 14) 90.0 % (9 / 10)
ReportBackgroundWorkerExit CBC 3151 100.0 % (11 / 11) 87.5 % (7 / 8)
ReportBackgroundWorkerPID CBC 3489 100.0 % (7 / 7) 75.0 % (3 / 4)
WaitForBackgroundWorkerShutdown CBC 2037 83.3 % (10 / 12) 83.3 % (5 / 6)
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
BackgroundWorkerShmemRequest CBC 1226 100.0 % (5 / 5)
BackgroundWorkerUnblockSignals CBC 3327 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1