LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - plancache.c (source / functions) Coverage Total Hit UBC CBC
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 89.1 % 761 678 83 678
Current Date: 2026-11-28 16:48:44 +0900 Functions: 97.6 % 41 40 1 40
Baseline: lcov-20261128-baseline Branches: 75.6 % 590 446 144 446
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 90.0 % 30 27 3 27
(360..) days: 89.1 % 731 651 80 651
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 97.3 % 37 36 1 36
Branch coverage date bins:
(30,360] days: 87.5 % 24 21 3 21
(360..) days: 75.1 % 566 425 141 425

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 / 53) 0.0 % (0 / 14)
CachedPlanAllowsSimpleValidityCheck CBC 19152 77.1 % (27 / 35) 61.1 % (33 / 54)
CachedPlanSetParentContext CBC 21119 66.7 % (8 / 12) 31.2 % (5 / 16)
BuildingPlanRequiresSnapshot CBC 639 50.0 % (3 / 6) 25.0 % (1 / 4)
CheckCachedPlan CBC 154093 86.4 % (19 / 22) 61.5 % (16 / 26)
choose_custom_plan CBC 217815 90.5 % (19 / 21) 88.9 % (16 / 18)
AcquireExecutorLocks CBC 121546 94.4 % (17 / 18) 87.5 % (21 / 24)
BuildCachedPlan CBC 63805 97.9 % (47 / 48) 90.0 % (27 / 30)
CachedPlanGetTargetList CBC 8569 87.5 % (7 / 8) 50.0 % (3 / 6)
GetCachedPlan CBC 185347 97.6 % (40 / 41) 78.9 % (30 / 38)
PlanCacheRelCallback CBC 2099728 96.8 % (30 / 31) 86.4 % (38 / 44)
PlanCacheRoleCallback CBC 45462 94.1 % (16 / 17) 87.5 % (21 / 24)
QueryListGetPrimaryStmt CBC 8763 83.3 % (5 / 6) 50.0 % (4 / 8)
RevalidateCachedQuery CBC 193916 98.7 % (74 / 75) 83.3 % (50 / 60)
SaveCachedPlan CBC 27664 90.9 % (10 / 11) 40.0 % (4 / 10)
ScanQueryForLocks CBC 183051 96.0 % (24 / 25) 92.0 % (23 / 25)
AcquirePlannerLocks CBC 161006 100.0 % (10 / 10) 90.0 % (9 / 10)
CachedPlanIsSimplyValid CBC 237092 100.0 % (15 / 15) 72.2 % (13 / 18)
CachedPlanIsValid CBC 1675 100.0 % (3 / 3) 50.0 % (1 / 2)
CompleteCachedPlan CBC 49350 100.0 % (35 / 35) 85.7 % (12 / 14)
CreateCachedPlan CBC 35115 100.0 % (41 / 41) 50.0 % (1 / 2)
CreateCachedPlanForQuery CBC 545 100.0 % (6 / 6)
CreateOneShotCachedPlan CBC 14327 100.0 % (37 / 37) 50.0 % (1 / 2)
DropCachedPlan CBC 10181 100.0 % (10 / 10) 66.7 % (4 / 6)
FreeCachedExpression CBC 65 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression CBC 306 100.0 % (15 / 15)
InitPlanCache CBC 20408 100.0 % (13 / 13)
PlanCacheComputeResultDesc CBC 54221 100.0 % (16 / 16) 66.7 % (6 / 9)
PlanCacheObjectCallback CBC 816637 100.0 % (47 / 47) 88.6 % (62 / 70)
PlanCacheSysCallback CBC 51634 100.0 % (3 / 3)
ReleaseAllPlanCacheRefsInOwner CBC 10515 100.0 % (3 / 3)
ReleaseCachedPlan CBC 249190 100.0 % (12 / 12) 75.0 % (9 / 12)
ReleaseGenericPlan CBC 75296 100.0 % (7 / 7) 75.0 % (3 / 4)
ResOwnerReleaseCachedPlan CBC 60173 100.0 % (3 / 3)
ResetPlanCache CBC 52489 100.0 % (16 / 16) 77.8 % (14 / 18)
ResourceOwnerForgetPlanCacheRef CBC 132421 100.0 % (3 / 3)
ResourceOwnerRememberPlanCacheRef CBC 192594 100.0 % (3 / 3)
ScanQueryWalker CBC 216219 100.0 % (7 / 7) 100.0 % (4 / 4)
SetPostRewriteHook CBC 1542 100.0 % (5 / 5) 50.0 % (1 / 2)
StmtPlanRequiresRevalidation CBC 24047018 100.0 % (6 / 6) 100.0 % (4 / 4)
cached_plan_cost CBC 63653 100.0 % (11 / 11) 90.0 % (9 / 10)

Generated by: LCOV version 2.0-1