LCOV - differential code coverage report
Current view: top level - src/backend/storage/ipc - shmem.c (source / functions) Coverage Total Hit UNC UBC GNC CBC EUB ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 85.2 % 189 161 6 22 27 134 3 40
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 14 14 7 7 3
Baseline: lcov-20260315-024220-baseline Branches: 43.4 % 106 46 13 47 9 37 1 1 12 12
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 85.4 % 89 76 6 7 27 49
(360..) days: 85.0 % 100 85 15 85
Function coverage date bins:
(30,360] days: 100.0 % 4 4 2 2
(360..) days: 100.0 % 10 10 5 5
Branch coverage date bins:
(30,360] days: 46.7 % 60 28 13 19 9 19
(360..) days: 37.5 % 48 18 28 18 1 1

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
ShmemInitStruct GNC 87395 65.7 % (23 / 35) 35.7 % (10 / 28)
pg_get_shmem_allocations_numa GNC 3 88.2 % (45 / 51) 50.0 % (16 / 32)
InitShmemAllocator GNC 1150 81.8 % (18 / 22) 42.9 % (6 / 14)
ShmemAlloc CBC 3453 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemAllocRaw GNC 554075 92.9 % (13 / 14) 50.0 % (3 / 6)
ShmemInitHash CBC 10357 88.9 % (8 / 9) 50.0 % (1 / 2)
add_size GNC 581389 75.0 % (3 / 4) 25.0 % (1 / 4)
mul_size GNC 277339 75.0 % (3 / 4) 25.0 % (1 / 4)
pg_get_shmem_pagesize CBC 7 85.7 % (6 / 7) 50.0 % (3 / 6)
InitShmemIndex CBC 1150 100.0 % (5 / 5)
ShmemAddrIsValid CBC 87912 100.0 % (2 / 2) 50.0 % (2 / 4)
ShmemAllocNoError CBC 464377 100.0 % (2 / 2)
pg_get_shmem_allocations GNC 3 100.0 % (27 / 27) 100.0 % (2 / 2)
pg_numa_available CBC 4 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta