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 DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 88.7 % 742 658 84 4 654 1
Current Date: 2025-09-06 07:49:51 +0900 Functions: 97.5 % 40 39 1 2 37
Baseline: lcov-20250907-010129-baseline Branches: 74.7 % 566 423 1 142 1 7 415
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.1 % 62 54 8 4 50
(360..) days: 88.8 % 680 604 76 604
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 97.2 % 36 35 1 2 33
Branch coverage date bins:
(30,360] days: 81.6 % 38 31 1 6 7 24
(360..) days: 74.2 % 528 392 136 1 391

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 UBC 0 0.0 % (0 / 54) 0.0 % (0 / 14)
FreeCachedExpression CBC 30 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression CBC 185 100.0 % (15 / 15)
CreateCachedPlanForQuery CBC 391 100.0 % (6 / 6)
BuildingPlanRequiresSnapshot CBC 491 50.0 % (3 / 6) 25.0 % (1 / 4)
SetPostRewriteHook CBC 1048 100.0 % (5 / 5) 50.0 % (1 / 2)
CachedPlanIsValid CBC 1814 100.0 % (3 / 3) 50.0 % (1 / 2)
DropCachedPlan CBC 7775 100.0 % (10 / 10) 66.7 % (4 / 6)
CachedPlanGetTargetList CBC 7996 87.5 % (7 / 8) 50.0 % (3 / 6)
CreateOneShotCachedPlan CBC 8000 100.0 % (37 / 37) 50.0 % (1 / 2)
QueryListGetPrimaryStmt CBC 8147 83.3 % (5 / 6) 50.0 % (4 / 8)
ReleaseAllPlanCacheRefsInOwner CBC 8258 100.0 % (3 / 3)
CachedPlanAllowsSimpleValidityCheck CBC 14733 77.1 % (27 / 35) 61.1 % (33 / 54)
InitPlanCache CBC 14880 100.0 % (10 / 10)
CachedPlanSetParentContext CBC 17164 66.7 % (8 / 12) 31.2 % (5 / 16)
SaveCachedPlan CBC 22642 90.9 % (10 / 11) 40.0 % (4 / 10)
CreateCachedPlan CBC 28177 100.0 % (41 / 41) 50.0 % (1 / 2)
CompleteCachedPlan GNC 36103 100.0 % (35 / 35) 85.7 % (12 / 14)
PlanCacheSysCallback CBC 38304 100.0 % (3 / 3)
ResetPlanCache CBC 38853 100.0 % (16 / 16) 77.8 % (14 / 18)
PlanCacheComputeResultDesc CBC 39207 100.0 % (16 / 16) 66.7 % (6 / 9)
ResOwnerReleaseCachedPlan CBC 45697 100.0 % (3 / 3)
cached_plan_cost CBC 46327 100.0 % (11 / 11) 90.0 % (9 / 10)
BuildCachedPlan CBC 46432 97.9 % (47 / 48) 90.0 % (27 / 30)
ReleaseGenericPlan CBC 58029 100.0 % (7 / 7) 75.0 % (3 / 4)
ScanQueryWalker CBC 67640 100.0 % (7 / 7) 100.0 % (4 / 4)
AcquireExecutorLocks CBC 87092 94.4 % (17 / 18) 87.5 % (21 / 24)
ResourceOwnerForgetPlanCacheRef CBC 95056 100.0 % (3 / 3)
CheckCachedPlan CBC 111570 86.4 % (19 / 22) 61.5 % (16 / 26)
AcquirePlannerLocks CBC 119088 100.0 % (10 / 10) 90.0 % (9 / 10)
ScanQueryForLocks CBC 130073 96.0 % (24 / 25) 92.0 % (23 / 25)
GetCachedPlan GNC 133519 97.6 % (40 / 41) 78.9 % (30 / 38)
ResourceOwnerRememberPlanCacheRef CBC 140753 100.0 % (3 / 3)
RevalidateCachedQuery CBC 141515 98.7 % (74 / 75) 83.3 % (50 / 60)
CachedPlanIsSimplyValid CBC 143946 100.0 % (15 / 15) 72.2 % (13 / 18)
choose_custom_plan CBC 157942 85.7 % (18 / 21) 83.3 % (15 / 18)
ReleaseCachedPlan CBC 180882 100.0 % (12 / 12) 75.0 % (9 / 12)
PlanCacheObjectCallback CBC 544054 100.0 % (47 / 47) 90.0 % (63 / 70)
PlanCacheRelCallback CBC 1469852 96.8 % (30 / 31) 81.8 % (36 / 44)
StmtPlanRequiresRevalidation CBC 15117143 100.0 % (6 / 6) 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta