LCOV - differential code coverage report
Current view: top level - src/backend/utils/mmgr - mcxt.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 83.8 % 402 337 1 64 13 324 1
Current Date: 2025-12-18 07:33:40 +0900 Functions: 83.3 % 54 45 9 3 42
Baseline: lcov-20251218-005734-baseline Branches: 51.5 % 526 271 12 1 242 14 257
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 67.9 % 28 19 1 8 13 6
(360..) days: 85.0 % 374 318 56 318
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 83.0 % 53 44 9 2 42
Branch coverage date bins:
(30,360] days: 43.5 % 62 27 12 23 14 13
(360..) days: 52.6 % 464 244 1 219 244

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
MemoryContextStatsInternal CBC 813 39.3 % (11 / 28) 26.7 % (8 / 30)
MemoryContextResetChildren UBC 0 0.0 % (0 / 7) 0.0 % (0 / 12)
MemoryContextStatsPrint CBC 813 76.7 % (23 / 30) 65.0 % (13 / 20)
MemoryContextAllocationFailure UBC 0 0.0 % (0 / 6) 0.0 % (0 / 6)
GetMemoryChunkHeader UBC 0 0.0 % (0 / 3)
MemoryContextStats UBC 0 0.0 % (0 / 3)
BogusFree UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
BogusGetChunkContext UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
BogusGetChunkSpace UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
BogusRealloc UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
MemoryContextAllocExtended CBC 3810160 83.3 % (10 / 12) 53.1 % (17 / 32)
MemoryContextMemConsumed CBC 15 77.8 % (7 / 9) 25.0 % (3 / 12)
MemoryContextSizeFailure UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
MemoryContextStatsDetail CBC 9 75.0 % (6 / 8) 50.0 % (2 / 4)
palloc_extended CBC 11975562 83.3 % (10 / 12) 32.1 % (9 / 28)
MemoryContextAllocAligned GNC 1493242 94.1 % (16 / 17) 61.1 % (11 / 18)
MemoryContextUnregisterResetCallback GNC 13282 90.9 % (10 / 11) 43.8 % (7 / 16)
repalloc0 CBC 25774 83.3 % (5 / 6) 25.0 % (1 / 4)
repalloc_extended CBC 49632 87.5 % (7 / 8) 37.5 % (3 / 8)
GetMemoryChunkContext CBC 4264924 100.0 % (2 / 2)
GetMemoryChunkMethodID CBC 278224020 100.0 % (4 / 4) 50.0 % (1 / 2)
GetMemoryChunkSpace CBC 19772123 100.0 % (2 / 2)
HandleLogMemoryContextInterrupt CBC 9 100.0 % (4 / 4)
MemoryContextAlloc CBC 71015175 100.0 % (6 / 6) 78.6 % (11 / 14)
MemoryContextAllocHuge CBC 1581 100.0 % (6 / 6) 21.4 % (3 / 14)
MemoryContextAllocZero CBC 20989480 100.0 % (7 / 7) 63.6 % (14 / 22)
MemoryContextAllowInCriticalSection CBC 2527 100.0 % (4 / 4) 20.0 % (2 / 10)
MemoryContextCallResetCallbacks CBC 31713485 100.0 % (5 / 5) 100.0 % (2 / 2)
MemoryContextCheck CBC 334500 100.0 % (9 / 9) 54.5 % (12 / 22)
MemoryContextCreate CBC 6615410 100.0 % (23 / 23) 75.0 % (15 / 20)
MemoryContextDelete CBC 4590939 100.0 % (12 / 12) 85.7 % (12 / 14)
MemoryContextDeleteChildren CBC 509492 100.0 % (5 / 5) 75.0 % (9 / 12)
MemoryContextDeleteOnly CBC 5057722 100.0 % (10 / 10) 68.8 % (11 / 16)
MemoryContextGetParent CBC 8729 100.0 % (3 / 3) 20.0 % (2 / 10)
MemoryContextInit CBC 1883 100.0 % (7 / 7) 50.0 % (1 / 2)
MemoryContextIsEmpty CBC 4447 100.0 % (5 / 5) 33.3 % (4 / 12)
MemoryContextMemAllocated CBC 889955 100.0 % (9 / 9) 64.3 % (9 / 14)
MemoryContextRegisterResetCallback CBC 54839 100.0 % (6 / 6) 20.0 % (2 / 10)
MemoryContextReset CBC 168506980 100.0 % (7 / 7) 85.7 % (12 / 14)
MemoryContextResetOnly CBC 26656344 100.0 % (7 / 7) 75.0 % (9 / 12)
MemoryContextSetIdentifier CBC 2224767 100.0 % (4 / 4) 20.0 % (2 / 10)
MemoryContextSetParent CBC 5204891 100.0 % (24 / 24) 63.9 % (23 / 36)
MemoryContextStrdup CBC 27447926 100.0 % (5 / 5)
MemoryContextTraverseNext CBC 63184454 100.0 % (8 / 8) 100.0 % (6 / 6)
ProcessLogMemoryContextInterrupt CBC 9 100.0 % (5 / 5) 50.0 % (1 / 2)
palloc CBC 296269154 100.0 % (8 / 8) 68.8 % (11 / 16)
palloc0 CBC 167795673 100.0 % (9 / 9) 66.7 % (16 / 24)
palloc_aligned CBC 1429797 100.0 % (2 / 2)
pchomp CBC 200 100.0 % (5 / 5) 75.0 % (3 / 4)
pfree GNC 251527060 100.0 % (3 / 3)
pnstrdup CBC 825741 100.0 % (6 / 6)
pstrdup CBC 25818034 100.0 % (2 / 2)
repalloc CBC 2611594 100.0 % (6 / 6) 66.7 % (4 / 6)
repalloc_huge CBC 49186 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta