LCOV - differential code coverage report
Current view: top level - src/backend/storage/ipc - shmem.c (source / functions) Coverage Total Hit UNC LBC UBC GIC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 83.1 % 314 261 40 4 9 1 174 86 14 74
Current Date: 2026-05-29 21:51:00 -0400 Functions: 90.0 % 20 18 2 15 3 6
Baseline: lcov-20260530-034037-baseline Branches: 50.0 % 254 127 101 26 101 26 27 17
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 79.5 % 229 182 40 3 4 169 13
(360..) days: 92.9 % 85 79 1 5 1 5 73
Function coverage date bins:
(30,360] days: 92.3 % 13 12 1 12
(360..) days: 85.7 % 7 6 1 3 3
Branch coverage date bins:
(30,360] days: 49.0 % 210 103 101 6 101 2
(360..) days: 54.5 % 44 24 20 24

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
ShmemRequestInternal GNC 98838 68.2 % (15 / 22) 42.5 % (17 / 40)
InitShmemAllocator GNC 1248 94.6 % (35 / 37) 42.9 % (12 / 28)
pg_get_shmem_allocations_numa GNC 4 88.2 % (45 / 51) 50.0 % (16 / 32)
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 98599 85.2 % (23 / 27) 38.9 % (7 / 18)
RegisterShmemCallbacks GNC 55426 85.7 % (6 / 7) 50.0 % (4 / 8)
ShmemInitRequested GNC 1248 100.0 % (13 / 13) 77.8 % (14 / 18)
ShmemAlloc GNC 1248 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemCallRequestCallbacks GNC 1251 100.0 % (8 / 8) 70.0 % (7 / 10)
pg_get_shmem_pagesize CBC 8 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 2325 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 80058 100.0 % (5 / 5)
pg_numa_available CBC 5 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta