LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - plancache.c (source / functions) Coverage Total Hit UBC GBC CBC
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 89.0 % 761 677 84 677
Current Date: 2026-09-20 14:13:17 +0900 Functions: 97.6 % 41 40 1 40
Baseline: lcov-20260920-baseline Branches: 75.3 % 590 444 146 1 443
Baseline Date: 2026-09-20 14:13:13 +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: 88.9 % 731 650 81 650
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: 74.7 % 566 423 143 1 422

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
CachedPlanAllowsSimpleValidityCheck CBC 17910 77.1 % (27 / 35) 61.1 % (33 / 54)
CopyCachedPlan UBC 0 0.0 % (0 / 53) 0.0 % (0 / 14)
CachedPlanSetParentContext CBC 19368 66.7 % (8 / 12) 31.2 % (5 / 16)
CheckCachedPlan CBC 150139 86.4 % (19 / 22) 61.5 % (16 / 26)
RevalidateCachedQuery CBC 186806 98.7 % (74 / 75) 83.3 % (50 / 60)
GetCachedPlan CBC 178431 97.6 % (40 / 41) 78.9 % (30 / 38)
PlanCacheObjectCallback CBC 764436 100.0 % (47 / 47) 88.6 % (62 / 70)
PlanCacheRelCallback CBC 1972400 96.8 % (30 / 31) 84.1 % (37 / 44)
SaveCachedPlan CBC 25516 90.9 % (10 / 11) 40.0 % (4 / 10)
CachedPlanIsSimplyValid CBC 221467 100.0 % (15 / 15) 72.2 % (13 / 18)
QueryListGetPrimaryStmt CBC 8567 83.3 % (5 / 6) 50.0 % (4 / 8)
ResetPlanCache CBC 49879 100.0 % (16 / 16) 77.8 % (14 / 18)
AcquireExecutorLocks CBC 119612 94.4 % (17 / 18) 87.5 % (21 / 24)
BuildCachedPlan CBC 58823 97.9 % (47 / 48) 90.0 % (27 / 30)
BuildingPlanRequiresSnapshot CBC 523 50.0 % (3 / 6) 25.0 % (1 / 4)
CachedPlanGetTargetList CBC 8375 87.5 % (7 / 8) 50.0 % (3 / 6)
PlanCacheComputeResultDesc CBC 49527 100.0 % (16 / 16) 66.7 % (6 / 9)
PlanCacheRoleCallback CBC 43607 94.1 % (16 / 17) 87.5 % (21 / 24)
ReleaseCachedPlan CBC 239503 100.0 % (12 / 12) 75.0 % (9 / 12)
choose_custom_plan CBC 208879 85.7 % (18 / 21) 83.3 % (15 / 18)
CompleteCachedPlan CBC 45057 100.0 % (35 / 35) 85.7 % (12 / 14)
DropCachedPlan CBC 8921 100.0 % (10 / 10) 66.7 % (4 / 6)
ScanQueryForLocks CBC 174348 96.0 % (24 / 25) 92.0 % (23 / 25)
AcquirePlannerLocks CBC 156828 100.0 % (10 / 10) 90.0 % (9 / 10)
CachedPlanIsValid CBC 1411 100.0 % (3 / 3) 50.0 % (1 / 2)
CreateCachedPlan CBC 32962 100.0 % (41 / 41) 50.0 % (1 / 2)
CreateOneShotCachedPlan CBC 12186 100.0 % (37 / 37) 50.0 % (1 / 2)
FreeCachedExpression CBC 45 100.0 % (5 / 5) 50.0 % (1 / 2)
ReleaseGenericPlan CBC 69467 100.0 % (7 / 7) 75.0 % (3 / 4)
SetPostRewriteHook CBC 1404 100.0 % (5 / 5) 50.0 % (1 / 2)
cached_plan_cost CBC 58679 100.0 % (11 / 11) 90.0 % (9 / 10)
ScanQueryWalker CBC 210498 100.0 % (7 / 7) 100.0 % (4 / 4)
StmtPlanRequiresRevalidation CBC 19074958 100.0 % (6 / 6) 100.0 % (4 / 4)
CreateCachedPlanForQuery CBC 528 100.0 % (6 / 6)
GetCachedExpression CBC 254 100.0 % (15 / 15)
InitPlanCache CBC 19276 100.0 % (13 / 13)
PlanCacheSysCallback CBC 49212 100.0 % (3 / 3)
ReleaseAllPlanCacheRefsInOwner CBC 10080 100.0 % (3 / 3)
ResOwnerReleaseCachedPlan CBC 58372 100.0 % (3 / 3)
ResourceOwnerForgetPlanCacheRef CBC 129998 100.0 % (3 / 3)
ResourceOwnerRememberPlanCacheRef CBC 188370 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1