LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 83.8 % 401 336 10 55 1 335 1
Current Date: 2026-08-27 14:31:44 +0300 Functions: 96.0 % 25 24 1 1 23
Baseline: lcov-20260827-baseline Branches: 60.8 % 278 169 1 4 104 1 168
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 4 4 4
(30,360] days: 96.4 % 55 53 2 1 52
(360..) days: 81.6 % 342 279 10 53 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 22
(360..) days: 59.3 % 246 146 4 96 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
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
BackgroundWorkerInitializeConnection CBC 495 71.4 % (10 / 14) 33.3 % (4 / 12)
BackgroundWorkerInitializeConnectionByOid CBC 2706 85.7 % (12 / 14) 50.0 % (6 / 12)
BackgroundWorkerMain CBC 3214 95.0 % (38 / 40) 56.2 % (9 / 16)
BackgroundWorkerShmemInit CBC 1236 100.0 % (22 / 22) 75.0 % (6 / 8)
BackgroundWorkerShmemRequest CBC 1239 100.0 % (5 / 5)
BackgroundWorkerStateChange CBC 1849 68.4 % (39 / 57) 50.0 % (17 / 34)
BackgroundWorkerStopNotifications CBC 363 100.0 % (6 / 6) 83.3 % (5 / 6)
BackgroundWorkerUnblockSignals CBC 3387 100.0 % (3 / 3)
FindRegisteredWorkerBySlotNumber CBC 5861 100.0 % (6 / 6) 83.3 % (5 / 6)
ForgetBackgroundWorker CBC 2710 100.0 % (12 / 12) 75.0 % (6 / 8)
ForgetUnstartedBackgroundWorkers CBC 622 66.7 % (8 / 12) 58.3 % (7 / 12)
GetBackgroundWorkerPid CBC 1851376 100.0 % (14 / 14) 90.0 % (9 / 10)
GetBackgroundWorkerTypeByPid CBC 973 92.3 % (12 / 13) 75.0 % (6 / 8)
LookupBackgroundWorkerFunction GNC 3214 87.5 % (7 / 8) 62.5 % (5 / 8)
RegisterBackgroundWorker CBC 952 53.8 % (14 / 26) 32.1 % (9 / 28)
RegisterDynamicBackgroundWorker CBC 2594 94.4 % (34 / 36) 81.8 % (18 / 22)
ReportBackgroundWorkerExit CBC 3202 100.0 % (11 / 11) 87.5 % (7 / 8)
ReportBackgroundWorkerPID CBC 3540 100.0 % (7 / 7) 75.0 % (3 / 4)
ResetBackgroundWorkerCrashTimes CBC 5 90.0 % (9 / 10) 62.5 % (5 / 8)
SanityCheckBackgroundWorker CBC 3546 54.2 % (13 / 24) 46.9 % (15 / 32)
TerminateBackgroundWorker CBC 17 100.0 % (12 / 12) 50.0 % (3 / 6)
TerminateBackgroundWorkersForDatabase CBC 8 100.0 % (20 / 20) 81.2 % (13 / 16)
WaitForBackgroundWorkerShutdown CBC 2015 83.3 % (10 / 12) 83.3 % (5 / 6)
WaitForBackgroundWorkerStartup CBC 12 85.7 % (12 / 14) 75.0 % (6 / 8)

Generated by: LCOV version 2.0-1