LCOV - differential code coverage report
Current view: top level - src/backend/storage/ipc - shmem.c (source / functions) Coverage Total Hit UNC LBC UBC GIC GNC CBC DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 82.9 % 322 267 40 4 11 1 176 90 14 80
Current Date: 2026-05-05 10:23:31 +0900 Functions: 90.9 % 22 20 2 17 3 6
Baseline: lcov-20260505-025707-baseline Branches: 49.2 % 262 129 103 30 103 26 30 24
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 76.3 % 177 135 39 3 132 3
(30,360] days: 90.7 % 54 49 1 4 39 10
(360..) days: 91.2 % 91 83 1 7 1 5 77
Function coverage date bins:
(7,30] days: 91.7 % 12 11 1 11
(30,360] days: 100.0 % 1 1 1
(360..) days: 88.9 % 9 8 1 5 3
Branch coverage date bins:
(7,30] days: 50.6 % 180 91 89 91
(30,360] days: 41.2 % 34 14 14 6 12 2
(360..) days: 50.0 % 48 24 24 24

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 LBC 0 0.0 % (0 / 14) 0.0 % (0 / 12)
AttachShmemIndexEntry GNC 2 50.0 % (11 / 22) 22.2 % (4 / 18)
ShmemRequestInternal GNC 98285 68.2 % (15 / 22) 42.5 % (17 / 40)
pg_get_shmem_allocations_numa GNC 4 88.2 % (45 / 51) 50.0 % (16 / 32)
InitShmemIndexEntry GNC 98046 85.2 % (23 / 27) 38.9 % (7 / 18)
CallShmemCallbacksAfterStartup GNC 3 90.6 % (29 / 32) 69.4 % (25 / 36)
InitShmemAllocator GNC 1241 94.6 % (35 / 37) 42.9 % (12 / 28)
ShmemAllocNoError LBC 0 0.0 % (0 / 2)
RegisterShmemCallbacks GNC 55118 85.7 % (6 / 7) 50.0 % (4 / 8)
ShmemAlloc GNC 1241 80.0 % (4 / 5) 25.0 % (1 / 4)
ShmemAllocRaw GNC 99287 93.8 % (15 / 16) 62.5 % (5 / 8)
add_size GNC 504500 75.0 % (3 / 4) 25.0 % (1 / 4)
mul_size GNC 127272 75.0 % (3 / 4) 25.0 % (1 / 4)
pg_get_shmem_pagesize CBC 8 85.7 % (6 / 7) 50.0 % (3 / 6)
ResetShmemAllocator GNC 5 100.0 % (5 / 5) 50.0 % (1 / 2)
ShmemAddrIsValid CBC 1692 100.0 % (2 / 2) 50.0 % (2 / 4)
ShmemCallRequestCallbacks GNC 1244 100.0 % (8 / 8) 70.0 % (7 / 10)
ShmemGetRequestedSize GNC 2311 100.0 % (10 / 10) 87.5 % (7 / 8)
ShmemInitRequested GNC 1241 100.0 % (13 / 13) 77.8 % (14 / 18)
ShmemRequestStructWithOpts GNC 79610 100.0 % (5 / 5)
pg_get_shmem_allocations GNC 4 100.0 % (27 / 27) 100.0 % (2 / 2)
pg_numa_available CBC 5 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta