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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 86.2 % 398 343 2 53 10 1 53 279 4 37
Current Date: 2026-05-29 21:51:00 -0400 Functions: 96.0 % 25 24 1 8 16 1 2
Baseline: lcov-20260530-034037-baseline Branches: 61.9 % 278 172 9 97 4 21 147 7 7
Baseline Date: 2026-05-29 14:39:03 -0700 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
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
ResetBackgroundWorkerCrashTimes CBC 5 90.0 % (9 / 10) 62.5 % (5 / 8)
TerminateBackgroundWorkersForDatabase GNC 7 100.0 % (17 / 17) 75.0 % (12 / 16)
TerminateBackgroundWorker CBC 15 100.0 % (12 / 12) 50.0 % (3 / 6)
WaitForBackgroundWorkerStartup CBC 35 85.7 % (12 / 14) 75.0 % (6 / 8)
BackgroundWorkerStopNotifications CBC 345 100.0 % (6 / 6) 83.3 % (5 / 6)
BackgroundWorkerInitializeConnection GNC 516 71.4 % (10 / 14) 33.3 % (4 / 12)
ForgetUnstartedBackgroundWorkers CBC 638 66.7 % (8 / 12) 58.3 % (7 / 12)
GetBackgroundWorkerTypeByPid CBC 873 92.3 % (12 / 13) 75.0 % (6 / 8)
RegisterBackgroundWorker CBC 959 53.8 % (14 / 26) 32.1 % (9 / 28)
BackgroundWorkerShmemInit GNC 1248 100.0 % (22 / 22) 75.0 % (6 / 8)
BackgroundWorkerShmemRequest GNC 1251 100.0 % (5 / 5)
BackgroundWorkerStateChange CBC 1687 86.0 % (49 / 57) 61.8 % (21 / 34)
WaitForBackgroundWorkerShutdown CBC 2031 83.3 % (10 / 12) 83.3 % (5 / 6)
RegisterDynamicBackgroundWorker GNC 2551 94.4 % (34 / 36) 81.8 % (18 / 22)
BackgroundWorkerInitializeConnectionByOid GNC 2647 85.7 % (12 / 14) 50.0 % (6 / 12)
ForgetBackgroundWorker CBC 2651 100.0 % (12 / 12) 75.0 % (6 / 8)
ReportBackgroundWorkerExit CBC 3164 100.0 % (11 / 11) 87.5 % (7 / 8)
BackgroundWorkerMain GNC 3176 95.0 % (38 / 40) 56.2 % (9 / 16)
LookupBackgroundWorkerFunction CBC 3176 87.5 % (7 / 8) 62.5 % (5 / 8)
BackgroundWorkerUnblockSignals CBC 3334 100.0 % (3 / 3)
ReportBackgroundWorkerPID CBC 3498 100.0 % (7 / 7) 75.0 % (3 / 4)
SanityCheckBackgroundWorker GNC 3510 54.2 % (13 / 24) 46.9 % (15 / 32)
FindRegisteredWorkerBySlotNumber CBC 5612 100.0 % (6 / 6) 83.3 % (5 / 6)
GetBackgroundWorkerPid CBC 4290614 100.0 % (14 / 14) 90.0 % (9 / 10)

Generated by: LCOV version 2.5.0-beta