LCOV - code coverage report
Current view: top level - src/backend/utils/mmgr - mcxt.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 79.5 % 376 299
Test Date: 2026-11-06 16:15:55 Functions: 82.3 % 62 51
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 58.7 % 208 122

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
add_size_error 0
mul_size_error 0
HandleLogMemoryContextInterrupt 12
MemoryContextStatsDetail 12
ProcessLogMemoryContextInterrupt 12
MemoryContextMemConsumed 20
pchomp 292
repalloc_mul_extended 454
MemoryContextStatsInternal 1150
MemoryContextStatsPrint 1150
MemoryContextAllocHuge 1620
MemoryContextInit 2328
MemoryContextAllowInCriticalSection 3157
MemoryContextGetParent 11192
MemoryContextUnregisterResetCallback 16116
MemoryContextIsEmpty 17406
repalloc0 41170
repalloc_huge 64429
repalloc_extended 64957
MemoryContextRegisterResetCallback 70037
mul_size 221444
add_size 539337
MemoryContextDeleteChildren 726361
palloc_mul_extended 937844
pnstrdup 1114662
palloc_extended 1437579
MemoryContextMemAllocated 1467131
MemoryContextTraverseNext 1523458
repalloc_mul 1862638
palloc_aligned 1945967
MemoryContextAllocAligned 2021532
GetMemoryChunkContext 2830605
MemoryContextSetIdentifier 3031772
repalloc 5600416
MemoryContextDelete 6195017
MemoryContextAllocExtended 6544681
MemoryContextDeleteOnly 7331827
MemoryContextSetParent 7514396
MemoryContextCreate 9535400
palloc0_mul 11542864
GetMemoryChunkSpace 20784391
MemoryContextAllocZero 29507813
MemoryContextResetOnly 29705065
MemoryContextCallResetCallbacks 37035852
pstrdup 59399404
MemoryContextStrdup 61719396
palloc_mul 62530259
MemoryContextAlloc 123852785
MemoryContextReset 226720130
pfree 298465116
palloc0 314603310
GetMemoryChunkMethodID 327745485
palloc 439110193

Generated by: LCOV version 2.0-1