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 DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 75.1 % 341 256 3 82 1 255 3 1
Current Date: 2026-10-12 11:56:10 +0200 Functions: 90.5 % 21 19 2 1 18
Baseline: lcov-20261012-baseline Branches: 53.4 % 290 155 7 128 1 154
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 80.0 % 15 12 3 1 11
(30,360] days: 78.9 % 247 195 3 49 195
(360..) days: 62.0 % 79 49 30 49
Function coverage date bins:
(30,360] days: 92.9 % 14 13 1 13
(360..) days: 85.7 % 7 6 1 1 5
Branch coverage date bins:
(7,30] days: 58.3 % 24 14 1 9 1 13
(30,360] days: 55.9 % 236 132 6 98 132
(360..) days: 30.0 % 30 9 21 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
AttachShmemIndexEntry CBC 11 60.0 % (15 / 25) 40.9 % (9 / 22)
CallShmemCallbacksAfterStartup CBC 22 100.0 % (18 / 18) 72.2 % (13 / 18)
InitShmemAllocator CBC 1283 94.7 % (36 / 38) 42.9 % (12 / 28)
InitShmemIndexEntry CBC 101376 93.3 % (28 / 30) 50.0 % (10 / 20)
ProcessShmemRequestsAfterStartup CBC 22 96.6 % (28 / 29) 78.3 % (36 / 46)
RegisterShmemCallbacks CBC 56983 80.0 % (8 / 10) 50.0 % (7 / 14)
ResetShmemAllocator CBC 6 100.0 % (7 / 7) 50.0 % (1 / 2)
ShmemAddrIsValid CBC 1703 100.0 % (2 / 2) 50.0 % (2 / 4)
ShmemAlloc CBC 1283 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemAllocNoError UBC 0 0.0 % (0 / 2)
ShmemAllocRaw CBC 102659 100.0 % (16 / 16) 70.0 % (7 / 10)
ShmemCallRequestCallbacks CBC 1287 100.0 % (8 / 8) 70.0 % (7 / 10)
ShmemGetRequestedSize CBC 2391 100.0 % (10 / 10) 87.5 % (7 / 8)
ShmemInitRequested CBC 1283 100.0 % (15 / 15) 79.2 % (19 / 24)
ShmemInitStruct UBC 0 0.0 % (0 / 13) 0.0 % (0 / 10)
ShmemRequestInternal CBC 101706 78.3 % (18 / 23) 52.9 % (18 / 34)
ShmemRequestStructWithOpts CBC 82386 100.0 % (5 / 5)
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)
pg_get_shmem_pagesize CBC 2 83.3 % (5 / 6) 50.0 % (2 / 4)
pg_numa_available CBC 5 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1