LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit UNC UBC GIC GNC CBC DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 86.2 % 398 343 2 53 1 53 289 4 37
Current Date: 2026-05-05 10:23:31 +0900 Functions: 96.0 % 25 24 1 8 16 1 2
Baseline: lcov-20260505-025707-baseline Branches: 61.9 % 278 172 9 97 21 151 7 7
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 30 30 30
(30,360] days: 92.3 % 26 24 2 23 1
(360..) days: 84.5 % 342 289 53 1 288
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 100.0 % 1 1 1
(360..) days: 95.5 % 22 21 1 5 16
Branch coverage date bins:
(7,30] days: 75.0 % 8 6 2 6
(30,360] days: 68.2 % 22 15 7 15
(360..) days: 60.9 % 248 151 97 151

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 952 53.8 % (14 / 26) 32.1 % (9 / 28)
SanityCheckBackgroundWorker GNC 3491 54.2 % (13 / 24) 46.9 % (15 / 32)
BackgroundWorkerStateChange CBC 1680 86.0 % (49 / 57) 61.8 % (21 / 34)
BackgroundWorkerInitializeConnection GNC 513 71.4 % (10 / 14) 33.3 % (4 / 12)
BackgroundWorkerMain GNC 3169 95.0 % (38 / 40) 56.2 % (9 / 16)
BackgroundWorkerInitializeConnectionByOid GNC 2643 85.7 % (12 / 14) 50.0 % (6 / 12)
ForgetUnstartedBackgroundWorkers CBC 635 66.7 % (8 / 12) 58.3 % (7 / 12)
RegisterDynamicBackgroundWorker GNC 2539 94.4 % (34 / 36) 81.8 % (18 / 22)
TerminateBackgroundWorkersForDatabase GNC 7 100.0 % (17 / 17) 75.0 % (12 / 16)
LookupBackgroundWorkerFunction CBC 3169 87.5 % (7 / 8) 62.5 % (5 / 8)
ResetBackgroundWorkerCrashTimes CBC 5 90.0 % (9 / 10) 62.5 % (5 / 8)
TerminateBackgroundWorker CBC 11 100.0 % (12 / 12) 50.0 % (3 / 6)
ForgetBackgroundWorker CBC 2641 100.0 % (12 / 12) 75.0 % (6 / 8)
GetBackgroundWorkerTypeByPid CBC 864 92.3 % (12 / 13) 75.0 % (6 / 8)
WaitForBackgroundWorkerStartup CBC 32 85.7 % (12 / 14) 75.0 % (6 / 8)
BackgroundWorkerStopNotifications CBC 336 100.0 % (6 / 6) 83.3 % (5 / 6)
FindRegisteredWorkerBySlotNumber CBC 5560 100.0 % (6 / 6) 83.3 % (5 / 6)
GetBackgroundWorkerPid CBC 4261523 100.0 % (14 / 14) 90.0 % (9 / 10)
ReportBackgroundWorkerExit CBC 3151 100.0 % (11 / 11) 87.5 % (7 / 8)
ReportBackgroundWorkerPID CBC 3488 100.0 % (7 / 7) 75.0 % (3 / 4)
WaitForBackgroundWorkerShutdown CBC 2032 83.3 % (10 / 12) 83.3 % (5 / 6)
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
BackgroundWorkerShmemRequest GNC 1244 100.0 % (5 / 5)
BackgroundWorkerUnblockSignals CBC 3323 100.0 % (3 / 3)

Generated by: LCOV version 2.5.0-beta