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: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 70.3 % 313 220 3 90 220 3
Current Date: 2026-07-25 17:13:00 -0400 Functions: 90.0 % 20 18 2 1 17
Baseline: lcov-20260726-baseline Branches: 44.8 % 252 113 6 133 113
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 0.0 % 4 0 3 1
(30,360] days: 74.0 % 227 168 59 168
(360..) days: 63.4 % 82 52 30 52
Function coverage date bins:
(30,360] days: 92.3 % 13 12 1 12
(360..) days: 85.7 % 7 6 1 1 5
Branch coverage date bins:
(7,30] days: 0.0 % 8 0 6 2
(30,360] days: 48.6 % 208 101 107 101
(360..) days: 33.3 % 36 12 24 12

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)
ShmemInitStruct UBC 0 0.0 % (0 / 14) 0.0 % (0 / 12)
AttachShmemIndexEntry CBC 2 50.0 % (11 / 22) 22.2 % (4 / 18)
ShmemRequestInternal CBC 96867 68.2 % (15 / 22) 42.5 % (17 / 40)
InitShmemIndexEntry CBC 96628 85.2 % (23 / 27) 38.9 % (7 / 18)
CallShmemCallbacksAfterStartup CBC 3 90.6 % (29 / 32) 69.4 % (25 / 36)
InitShmemAllocator CBC 1223 94.6 % (35 / 37) 42.9 % (12 / 28)
ShmemAllocNoError UBC 0 0.0 % (0 / 2)
RegisterShmemCallbacks CBC 54323 85.7 % (6 / 7) 50.0 % (4 / 8)
ShmemAlloc CBC 1223 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemAllocRaw CBC 97851 93.8 % (15 / 16) 62.5 % (5 / 8)
pg_get_shmem_pagesize CBC 2 85.7 % (6 / 7) 50.0 % (3 / 6)
ResetShmemAllocator CBC 5 100.0 % (5 / 5) 50.0 % (1 / 2)
ShmemAddrIsValid CBC 1696 100.0 % (2 / 2) 50.0 % (2 / 4)
ShmemCallRequestCallbacks CBC 1226 100.0 % (8 / 8) 70.0 % (7 / 10)
ShmemGetRequestedSize CBC 2278 100.0 % (10 / 10) 87.5 % (7 / 8)
ShmemInitRequested CBC 1223 100.0 % (13 / 13) 77.8 % (14 / 18)
ShmemRequestStructWithOpts CBC 78462 100.0 % (5 / 5)
pg_get_shmem_allocations CBC 4 100.0 % (27 / 27) 100.0 % (2 / 2)
pg_numa_available CBC 5 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1