LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - plancache.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 88.8 % 741 658 2 81 9 649 3 6
Current Date: 2025-12-17 08:58:58 +0900 Functions: 97.5 % 40 39 1 6 33
Baseline: lcov-20251217-005640-baseline Branches: 74.9 % 566 424 1 141 1 7 416
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 71.4 % 7 5 2 5
(30,360] days: 86.7 % 60 52 8 4 48
(360..) days: 89.2 % 674 601 73 601
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 97.2 % 36 35 1 6 29
Branch coverage date bins:
(30,360] days: 81.6 % 38 31 1 6 7 24
(360..) days: 74.4 % 528 393 135 1 392

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
CopyCachedPlan UNC 0 0.0 % (0 / 53) 0.0 % (0 / 14)
FreeCachedExpression CBC 32 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression GNC 192 100.0 % (15 / 15)
CreateCachedPlanForQuery CBC 408 100.0 % (6 / 6)
BuildingPlanRequiresSnapshot CBC 491 50.0 % (3 / 6) 25.0 % (1 / 4)
SetPostRewriteHook CBC 1068 100.0 % (5 / 5) 50.0 % (1 / 2)
CachedPlanIsValid CBC 1850 100.0 % (3 / 3) 50.0 % (1 / 2)
CachedPlanGetTargetList CBC 7871 87.5 % (7 / 8) 50.0 % (3 / 6)
DropCachedPlan CBC 7871 100.0 % (10 / 10) 66.7 % (4 / 6)
CreateOneShotCachedPlan GNC 8010 100.0 % (37 / 37) 50.0 % (1 / 2)
QueryListGetPrimaryStmt CBC 8022 83.3 % (5 / 6) 50.0 % (4 / 8)
ReleaseAllPlanCacheRefsInOwner CBC 8431 100.0 % (3 / 3)
CachedPlanAllowsSimpleValidityCheck CBC 15061 77.1 % (27 / 35) 61.1 % (33 / 54)
InitPlanCache CBC 15511 100.0 % (10 / 10)
CachedPlanSetParentContext CBC 17529 66.7 % (8 / 12) 31.2 % (5 / 16)
SaveCachedPlan CBC 23026 90.9 % (10 / 11) 40.0 % (4 / 10)
CreateCachedPlan GNC 28579 100.0 % (41 / 41) 50.0 % (1 / 2)
CompleteCachedPlan GNC 36512 100.0 % (35 / 35) 85.7 % (12 / 14)
PlanCacheComputeResultDesc CBC 39677 100.0 % (16 / 16) 66.7 % (6 / 9)
PlanCacheSysCallback CBC 39832 100.0 % (3 / 3)
ResetPlanCache CBC 40401 100.0 % (16 / 16) 77.8 % (14 / 18)
ResOwnerReleaseCachedPlan CBC 46599 100.0 % (3 / 3)
cached_plan_cost CBC 46828 100.0 % (11 / 11) 90.0 % (9 / 10)
BuildCachedPlan GNC 46933 97.9 % (47 / 48) 90.0 % (27 / 30)
ReleaseGenericPlan CBC 58961 100.0 % (7 / 7) 75.0 % (3 / 4)
ScanQueryWalker CBC 67070 100.0 % (7 / 7) 100.0 % (4 / 4)
AcquireExecutorLocks CBC 86956 94.4 % (17 / 18) 87.5 % (21 / 24)
ResourceOwnerForgetPlanCacheRef CBC 95743 100.0 % (3 / 3)
CheckCachedPlan CBC 111825 86.4 % (19 / 22) 65.4 % (17 / 26)
AcquirePlannerLocks CBC 119215 100.0 % (10 / 10) 90.0 % (9 / 10)
ScanQueryForLocks CBC 130225 96.0 % (24 / 25) 92.0 % (23 / 25)
GetCachedPlan GNC 133878 97.6 % (40 / 41) 78.9 % (30 / 38)
RevalidateCachedQuery CBC 141749 98.7 % (74 / 75) 83.3 % (50 / 60)
ResourceOwnerRememberPlanCacheRef CBC 142342 100.0 % (3 / 3)
CachedPlanIsSimplyValid CBC 146046 100.0 % (15 / 15) 72.2 % (13 / 18)
choose_custom_plan CBC 158692 85.7 % (18 / 21) 83.3 % (15 / 18)
ReleaseCachedPlan CBC 182323 100.0 % (12 / 12) 75.0 % (9 / 12)
PlanCacheObjectCallback CBC 607814 100.0 % (47 / 47) 90.0 % (63 / 70)
PlanCacheRelCallback CBC 1643779 96.8 % (30 / 31) 81.8 % (36 / 44)
StmtPlanRequiresRevalidation CBC 15281887 100.0 % (6 / 6) 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta