LCOV - differential code coverage report
Current view: top level - src/backend/storage/ipc - shmem.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GIC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 70.3 % 313 220 44 4 45 6 1 170 43 18 70
Current Date: 2026-06-29 16:15:13 +0200 Functions: 90.0 % 20 18 2 1 15 2 6
Baseline: lcov-20260630-baseline Branches: 44.8 % 252 113 101 38 3 101 9
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 73.7 % 228 168 44 3 13 165 3
(360..) days: 61.2 % 85 52 1 32 6 1 5 40
Function coverage date bins:
(30,360] days: 92.3 % 13 12 1 12
(360..) days: 85.7 % 7 6 1 1 3 2
Branch coverage date bins:
(30,360] days: 48.1 % 210 101 101 8 101
(360..) days: 28.6 % 42 12 30 3 9

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
pg_get_shmem_allocations_numa GNC 4 8.0 % (4 / 50) 6.7 % (2 / 30)
ShmemRequestInternal GNC 95761 68.2 % (15 / 22) 42.5 % (17 / 40)
InitShmemAllocator GNC 1209 94.6 % (35 / 37) 42.9 % (12 / 28)
AttachShmemIndexEntry GNC 2 50.0 % (11 / 22) 22.2 % (4 / 18)
ShmemInitStruct LBC 0 0.0 % (0 / 14) 0.0 % (0 / 12)
CallShmemCallbacksAfterStartup GNC 3 90.6 % (29 / 32) 69.4 % (25 / 36)
InitShmemIndexEntry GNC 95522 85.2 % (23 / 27) 38.9 % (7 / 18)
RegisterShmemCallbacks GNC 53707 85.7 % (6 / 7) 50.0 % (4 / 8)
ShmemInitRequested GNC 1209 100.0 % (13 / 13) 77.8 % (14 / 18)
ShmemAlloc GNC 1209 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemCallRequestCallbacks GNC 1212 100.0 % (8 / 8) 70.0 % (7 / 10)
pg_get_shmem_pagesize GBC 2 85.7 % (6 / 7) 50.0 % (3 / 6)
ShmemAddrIsValid CBC 1692 100.0 % (2 / 2) 50.0 % (2 / 4)
ResetShmemAllocator GNC 5 100.0 % (5 / 5) 50.0 % (1 / 2)
ShmemGetRequestedSize GNC 2250 100.0 % (10 / 10) 87.5 % (7 / 8)
pg_get_shmem_allocations GNC 4 100.0 % (27 / 27) 100.0 % (2 / 2)
ShmemAllocNoError LBC 0 0.0 % (0 / 2)
ShmemRequestStructWithOpts GNC 77566 100.0 % (5 / 5)
pg_numa_available CBC 5 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1