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: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 70.3 % 316 222 3 91 1 221 3 1
Current Date: 2026-08-27 14:31:44 +0300 Functions: 90.0 % 20 18 2 2 16
Baseline: lcov-20260827-baseline Branches: 45.0 % 258 116 6 136 116
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 75.0 % 4 3 1 3
(7,30] days: 100.0 % 1 1 1
(30,360] days: 72.8 % 228 166 3 59 166
(360..) days: 62.7 % 83 52 31 52
Function coverage date bins:
(30,360] days: 92.3 % 13 12 1 1 11
(360..) days: 85.7 % 7 6 1 1 5
Branch coverage date bins:
[..1] days: 60.0 % 10 6 4 6
(30,360] days: 46.2 % 212 98 6 108 98
(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
AttachShmemIndexEntry CBC 2 50.0 % (11 / 22) 22.2 % (4 / 18)
CallShmemCallbacksAfterStartup CBC 4 90.6 % (29 / 32) 69.4 % (25 / 36)
InitShmemAllocator CBC 1236 94.6 % (35 / 37) 42.9 % (12 / 28)
InitShmemIndexEntry CBC 97656 85.2 % (23 / 27) 38.9 % (7 / 18)
RegisterShmemCallbacks CBC 54896 80.0 % (8 / 10) 50.0 % (7 / 14)
ResetShmemAllocator CBC 5 100.0 % (5 / 5) 50.0 % (1 / 2)
ShmemAddrIsValid CBC 1684 100.0 % (2 / 2) 50.0 % (2 / 4)
ShmemAlloc CBC 1236 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemAllocNoError UBC 0 0.0 % (0 / 2)
ShmemAllocRaw CBC 98892 93.8 % (15 / 16) 62.5 % (5 / 8)
ShmemCallRequestCallbacks CBC 1239 100.0 % (8 / 8) 70.0 % (7 / 10)
ShmemGetRequestedSize CBC 2307 100.0 % (10 / 10) 87.5 % (7 / 8)
ShmemInitRequested CBC 1236 100.0 % (13 / 13) 77.8 % (14 / 18)
ShmemInitStruct UBC 0 0.0 % (0 / 14) 0.0 % (0 / 12)
ShmemRequestInternal GNC 97895 68.2 % (15 / 22) 42.5 % (17 / 40)
ShmemRequestStructWithOpts CBC 79295 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 85.7 % (6 / 7) 50.0 % (3 / 6)
pg_numa_available CBC 5 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1