LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - bgworker.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 85.1 % 383 326 57 1 325 1
Current Date: 2025-12-18 07:33:40 +0900 Functions: 92.0 % 25 23 2 1 22
Baseline: lcov-20251218-005734-baseline Branches: 60.3 % 262 158 104 158
Baseline Date: 2025-12-17 11:55:04 -0800 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: 100.0 % 2 2 2
(360..) days: 85.0 % 380 323 57 323
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 91.7 % 24 22 2 1 21
Branch coverage date bins:
(360..) days: 60.3 % 262 158 104 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
RegisterBackgroundWorker CBC 799 53.8 % (14 / 26) 32.1 % (9 / 28)
SanityCheckBackgroundWorker CBC 2700 55.0 % (11 / 20) 46.2 % (12 / 26)
BackgroundWorkerStateChange CBC 1299 86.0 % (49 / 57) 61.8 % (21 / 34)
BackgroundWorkerInitializeConnection CBC 414 71.4 % (10 / 14) 33.3 % (4 / 12)
ForgetUnstartedBackgroundWorkers CBC 520 66.7 % (8 / 12) 58.3 % (7 / 12)
BackgroundWorkerBlockSignals UBC 0 0.0 % (0 / 3)
bgworker_die UBC 0 0.0 % (0 / 3) 0.0 % (0 / 2)
BackgroundWorkerInitializeConnectionByOid CBC 1999 85.7 % (12 / 14) 50.0 % (6 / 12)
BackgroundWorkerMain CBC 2422 95.1 % (39 / 41) 56.2 % (9 / 16)
RegisterDynamicBackgroundWorker GNC 1901 94.4 % (34 / 36) 81.8 % (18 / 22)
WaitForBackgroundWorkerShutdown CBC 1454 83.3 % (10 / 12) 83.3 % (5 / 6)
WaitForBackgroundWorkerStartup CBC 7 85.7 % (12 / 14) 75.0 % (6 / 8)
BackgroundWorkerShmemInit CBC 1071 96.0 % (24 / 25) 58.3 % (7 / 12)
GetBackgroundWorkerTypeByPid CBC 847 92.3 % (12 / 13) 75.0 % (6 / 8)
LookupBackgroundWorkerFunction CBC 2422 87.5 % (7 / 8) 62.5 % (5 / 8)
ResetBackgroundWorkerCrashTimes CBC 4 90.0 % (9 / 10) 62.5 % (5 / 8)
BackgroundWorkerShmemSize CBC 3061 100.0 % (4 / 4)
BackgroundWorkerStopNotifications CBC 255 100.0 % (6 / 6) 83.3 % (5 / 6)
BackgroundWorkerUnblockSignals CBC 2555 100.0 % (3 / 3)
FindRegisteredWorkerBySlotNumber CBC 4362 100.0 % (6 / 6) 83.3 % (5 / 6)
ForgetBackgroundWorker CBC 2000 100.0 % (12 / 12) 75.0 % (6 / 8)
GetBackgroundWorkerPid CBC 2980790 100.0 % (14 / 14) 90.0 % (9 / 10)
ReportBackgroundWorkerExit CBC 2411 100.0 % (11 / 11) 87.5 % (7 / 8)
ReportBackgroundWorkerPID CBC 2716 100.0 % (7 / 7) 75.0 % (3 / 4)
TerminateBackgroundWorker CBC 6 100.0 % (12 / 12) 50.0 % (3 / 6)

Generated by: LCOV version 2.4-beta