LCOV - differential code coverage report
Current view: top level - src/backend/storage/ipc - shmem.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 73.5 % 344 253 3 88 253 3
Current Date: 2026-09-20 14:13:17 +0900 Functions: 90.5 % 21 19 2 1 18
Baseline: lcov-20260920-baseline Branches: 50.3 % 300 151 6 143 151
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 5 5 5
(7,30] days: 92.9 % 42 39 3 39
(30,360] days: 73.1 % 216 158 3 55 158
(360..) days: 63.0 % 81 51 30 51
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 92.3 % 13 12 1 12
(360..) days: 85.7 % 7 6 1 1 5
Branch coverage date bins:
(1,7] days: 70.0 % 10 7 3 7
(7,30] days: 70.0 % 50 35 15 35
(30,360] days: 47.6 % 206 98 6 102 98
(360..) days: 32.4 % 34 11 23 11

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
ShmemAllocNoError UBC 0 0.0 % (0 / 2)
ShmemInitStruct UBC 0 0.0 % (0 / 15) 0.0 % (0 / 12)
AttachShmemIndexEntry CBC 1 52.0 % (13 / 25) 22.7 % (5 / 22)
pg_get_shmem_pagesize CBC 2 85.7 % (6 / 7) 50.0 % (3 / 6)
pg_get_shmem_allocations CBC 4 100.0 % (27 / 27) 100.0 % (2 / 2)
pg_get_shmem_allocations_numa GNC 4 8.0 % (4 / 50) 6.7 % (2 / 30)
ResetShmemAllocator CBC 5 100.0 % (5 / 5) 50.0 % (1 / 2)
pg_numa_available CBC 5 100.0 % (2 / 2)
CallShmemCallbacksAfterStartup CBC 9 100.0 % (18 / 18) 72.2 % (13 / 18)
ProcessShmemRequestsAfterStartup CBC 9 96.6 % (28 / 29) 73.9 % (34 / 46)
InitShmemAllocator CBC 1274 94.7 % (36 / 38) 42.9 % (12 / 28)
ShmemAlloc CBC 1274 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemInitRequested CBC 1274 100.0 % (15 / 15) 79.2 % (19 / 24)
ShmemCallRequestCallbacks CBC 1277 100.0 % (8 / 8) 70.0 % (7 / 10)
ShmemAddrIsValid CBC 1704 100.0 % (2 / 2) 50.0 % (2 / 4)
ShmemGetRequestedSize CBC 2374 100.0 % (10 / 10) 87.5 % (7 / 8)
RegisterShmemCallbacks CBC 56573 80.0 % (8 / 10) 50.0 % (7 / 14)
ShmemRequestStructWithOpts CBC 81732 100.0 % (5 / 5)
InitShmemIndexEntry CBC 100662 93.3 % (28 / 30) 50.0 % (10 / 20)
ShmemRequestInternal CBC 100902 72.0 % (18 / 25) 47.5 % (19 / 40)
ShmemAllocRaw CBC 101936 100.0 % (16 / 16) 70.0 % (7 / 10)

Generated by: LCOV version 2.0-1