LCOV - code coverage report
Current view: top level - src/backend/utils/mmgr - mcxt.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 79.8 % 515 411
Test Date: 2026-01-26 10:56:24 Functions: 81.5 % 54 44
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 49.9 % 507 253

Function Name Sort by function name Hit count Sort by function hit count
BogusFree 0
BogusGetChunkContext 0
BogusGetChunkSpace 0
BogusRealloc 0
GetMemoryChunkHeader 0
MemoryContextAllocationFailure 0
MemoryContextResetChildren 0
MemoryContextSizeFailure 0
MemoryContextStats 0
MemoryContextUnregisterResetCallback 0
pchomp 1
HandleLogMemoryContextInterrupt 2
MemoryContextStatsDetail 2
ProcessLogMemoryContextInterrupt 2
MemoryContextMemConsumed 5
MemoryContextInit 8
MemoryContextAllowInCriticalSection 11
MemoryContextAllocHuge 164
MemoryContextStatsInternal 258
MemoryContextStatsPrint 258
MemoryContextIsEmpty 482
MemoryContextGetParent 2794
repalloc0 6729
MemoryContextRegisterResetCallback 10285
repalloc_huge 12659
repalloc_extended 12742
MemoryContextCheck 52263
palloc_aligned 67830
MemoryContextAllocAligned 77689
MemoryContextDeleteChildren 83776
pnstrdup 169408
MemoryContextMemAllocated 214392
MemoryContextSetIdentifier 215721
repalloc 221829
MemoryContextAllocExtended 512386
GetMemoryChunkContext 526620
MemoryContextDelete 2480584
pstrdup 2545134
MemoryContextStrdup 2680607
MemoryContextDeleteOnly 2961933
MemoryContextSetParent 2990109
MemoryContextCreate 3029796
MemoryContextAllocZero 3622939
palloc_extended 3866529
GetMemoryChunkSpace 4408291
MemoryContextResetOnly 5843800
MemoryContextCallResetCallbacks 8805537
MemoryContextAlloc 9055178
MemoryContextTraverseNext 11819614
palloc0 39163258
MemoryContextReset 43125499
pfree 50990794
GetMemoryChunkMethodID 56160276
palloc 58211768

Generated by: LCOV version 2.3.2-1