LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - plancache.c (source / functions) Coverage Total Hit UBC CBC
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 89.0 % 761 677 84 677
Current Date: 2026-11-05 14:14:01 +0100 Functions: 97.6 % 41 40 1 40
Baseline: lcov-20261105-baseline Branches: 75.3 % 590 444 146 444
Baseline Date: 2026-11-05 14:14:01 +0100 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 423

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)
FreeCachedExpression CBC 49 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression CBC 254 100.0 % (15 / 15)
BuildingPlanRequiresSnapshot CBC 523 50.0 % (3 / 6) 25.0 % (1 / 4)
CreateCachedPlanForQuery CBC 528 100.0 % (6 / 6)
SetPostRewriteHook CBC 1417 100.0 % (5 / 5) 50.0 % (1 / 2)
CachedPlanIsValid CBC 1675 100.0 % (3 / 3) 50.0 % (1 / 2)
CachedPlanGetTargetList CBC 8380 87.5 % (7 / 8) 50.0 % (3 / 6)
QueryListGetPrimaryStmt CBC 8572 83.3 % (5 / 6) 50.0 % (4 / 8)
DropCachedPlan CBC 9121 100.0 % (10 / 10) 66.7 % (4 / 6)
ReleaseAllPlanCacheRefsInOwner CBC 10112 100.0 % (3 / 3)
CreateOneShotCachedPlan CBC 12155 100.0 % (37 / 37) 50.0 % (1 / 2)
CachedPlanAllowsSimpleValidityCheck CBC 18304 77.1 % (27 / 35) 61.1 % (33 / 54)
CachedPlanSetParentContext CBC 19611 66.7 % (8 / 12) 31.2 % (5 / 16)
InitPlanCache CBC 19704 100.0 % (13 / 13)
SaveCachedPlan CBC 25833 90.9 % (10 / 11) 40.0 % (4 / 10)
CreateCachedPlan CBC 33267 100.0 % (41 / 41) 50.0 % (1 / 2)
PlanCacheRoleCallback CBC 43416 94.1 % (16 / 17) 87.5 % (21 / 24)
CompleteCachedPlan CBC 45331 100.0 % (35 / 35) 85.7 % (12 / 14)
PlanCacheSysCallback CBC 49796 100.0 % (3 / 3)
PlanCacheComputeResultDesc CBC 50206 100.0 % (16 / 16) 66.7 % (6 / 9)
ResetPlanCache CBC 50474 100.0 % (16 / 16) 77.8 % (14 / 18)
ResOwnerReleaseCachedPlan CBC 58753 100.0 % (3 / 3)
cached_plan_cost CBC 59476 100.0 % (11 / 11) 90.0 % (9 / 10)
BuildCachedPlan CBC 59624 97.9 % (47 / 48) 90.0 % (27 / 30)
ReleaseGenericPlan CBC 70859 100.0 % (7 / 7) 75.0 % (3 / 4)
AcquireExecutorLocks CBC 115569 94.4 % (17 / 18) 87.5 % (21 / 24)
ResourceOwnerForgetPlanCacheRef CBC 126303 100.0 % (3 / 3)
CheckCachedPlan CBC 146562 86.4 % (19 / 22) 61.5 % (16 / 26)
AcquirePlannerLocks CBC 153240 100.0 % (10 / 10) 90.0 % (9 / 10)
ScanQueryForLocks CBC 170861 96.0 % (24 / 25) 92.0 % (23 / 25)
GetCachedPlan CBC 175189 97.6 % (40 / 41) 78.9 % (30 / 38)
RevalidateCachedQuery CBC 183569 98.7 % (74 / 75) 83.3 % (50 / 60)
ResourceOwnerRememberPlanCacheRef CBC 185056 100.0 % (3 / 3)
choose_custom_plan CBC 206107 85.7 % (18 / 21) 83.3 % (15 / 18)
ScanQueryWalker CBC 212333 100.0 % (7 / 7) 100.0 % (4 / 4)
CachedPlanIsSimplyValid CBC 220943 100.0 % (15 / 15) 72.2 % (13 / 18)
ReleaseCachedPlan CBC 236771 100.0 % (12 / 12) 75.0 % (9 / 12)
PlanCacheObjectCallback CBC 772576 100.0 % (47 / 47) 88.6 % (62 / 70)
PlanCacheRelCallback CBC 1993334 96.8 % (30 / 31) 84.1 % (37 / 44)
StmtPlanRequiresRevalidation CBC 18704000 100.0 % (6 / 6) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1