LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 85.9 % 398 342 2 54 19 323 3 3
Current Date: 2026-03-14 14:10:32 -0400 Functions: 96.0 % 25 24 1 4 20 1
Baseline: lcov-20260315-024220-baseline Branches: 61.5 % 278 171 5 102 13 158 2
Baseline Date: 2026-03-14 15:27:56 +0100 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: 90.5 % 21 19 2 18 1
(360..) days: 85.6 % 376 322 54 322
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 95.8 % 24 23 1 3 20
Branch coverage date bins:
(30,360] days: 72.2 % 18 13 5 13
(360..) days: 60.8 % 260 158 102 158

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)
TerminateBackgroundWorker CBC 6 100.0 % (12 / 12) 50.0 % (3 / 6)
TerminateBackgroundWorkersForDatabase GNC 7 100.0 % (15 / 15) 83.3 % (10 / 12)
WaitForBackgroundWorkerStartup CBC 12 85.7 % (12 / 14) 75.0 % (6 / 8)
BackgroundWorkerStopNotifications CBC 281 100.0 % (6 / 6) 83.3 % (5 / 6)
BackgroundWorkerInitializeConnection CBC 459 71.4 % (10 / 14) 33.3 % (4 / 12)
ForgetUnstartedBackgroundWorkers CBC 572 66.7 % (8 / 12) 58.3 % (7 / 12)
RegisterBackgroundWorker CBC 877 53.8 % (14 / 26) 32.1 % (9 / 28)
GetBackgroundWorkerTypeByPid CBC 986 92.3 % (12 / 13) 75.0 % (6 / 8)
BackgroundWorkerShmemInit CBC 1150 96.0 % (24 / 25) 58.3 % (7 / 12)
BackgroundWorkerStateChange CBC 1361 86.0 % (49 / 57) 61.8 % (21 / 34)
WaitForBackgroundWorkerShutdown CBC 1492 83.3 % (10 / 12) 83.3 % (5 / 6)
RegisterDynamicBackgroundWorker GNC 1969 94.4 % (34 / 36) 81.8 % (18 / 22)
BackgroundWorkerInitializeConnectionByOid CBC 2075 85.7 % (12 / 14) 50.0 % (6 / 12)
ForgetBackgroundWorker CBC 2075 100.0 % (12 / 12) 75.0 % (6 / 8)
ReportBackgroundWorkerExit CBC 2531 100.0 % (11 / 11) 87.5 % (7 / 8)
BackgroundWorkerMain GNC 2543 95.0 % (38 / 40) 56.2 % (9 / 16)
LookupBackgroundWorkerFunction CBC 2543 87.5 % (7 / 8) 62.5 % (5 / 8)
BackgroundWorkerUnblockSignals CBC 2689 100.0 % (3 / 3)
SanityCheckBackgroundWorker GNC 2846 54.2 % (13 / 24) 46.9 % (15 / 32)
ReportBackgroundWorkerPID CBC 2861 100.0 % (7 / 7) 75.0 % (3 / 4)
BackgroundWorkerShmemSize CBC 3297 100.0 % (4 / 4)
FindRegisteredWorkerBySlotNumber CBC 4502 100.0 % (6 / 6) 83.3 % (5 / 6)
GetBackgroundWorkerPid CBC 3330400 100.0 % (14 / 14) 90.0 % (9 / 10)

Generated by: LCOV version 2.4-beta