LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - plancache.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 88.8 % 741 658 2 81 13 645 1 3 9
Current Date: 2026-06-29 16:15:13 +0200 Functions: 97.5 % 40 39 1 9 30 3
Baseline: lcov-20260630-baseline Branches: 74.7 % 566 423 1 1 141 1 7 415
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 85.7 % 14 12 2 12 1
(360..) days: 88.9 % 727 646 81 1 645
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 97.3 % 37 36 1 6 30
Branch coverage date bins:
(30,360] days: 87.5 % 8 7 1 7
(360..) days: 74.6 % 558 416 1 141 1 415

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 19307 77.1 % (27 / 35) 61.1 % (33 / 54)
CopyCachedPlan UNC 0 0.0 % (0 / 53) 0.0 % (0 / 14)
CachedPlanSetParentContext CBC 20315 66.7 % (8 / 12) 31.2 % (5 / 16)
CheckCachedPlan CBC 142635 86.4 % (19 / 22) 61.5 % (16 / 26)
RevalidateCachedQuery CBC 179685 98.7 % (74 / 75) 83.3 % (50 / 60)
GetCachedPlan GNC 171086 97.6 % (40 / 41) 78.9 % (30 / 38)
PlanCacheRelCallback CBC 2219271 96.8 % (30 / 31) 81.8 % (36 / 44)
SaveCachedPlan CBC 26320 90.9 % (10 / 11) 40.0 % (4 / 10)
CachedPlanIsSimplyValid CBC 221629 100.0 % (15 / 15) 72.2 % (13 / 18)
QueryListGetPrimaryStmt CBC 8789 83.3 % (5 / 6) 50.0 % (4 / 8)
ResetPlanCache CBC 53365 100.0 % (16 / 16) 77.8 % (14 / 18)
AcquireExecutorLocks CBC 110518 94.4 % (17 / 18) 87.5 % (21 / 24)
BuildCachedPlan GNC 60556 97.9 % (47 / 48) 90.0 % (27 / 30)
BuildingPlanRequiresSnapshot CBC 521 50.0 % (3 / 6) 25.0 % (1 / 4)
CachedPlanGetTargetList CBC 8599 87.5 % (7 / 8) 50.0 % (3 / 6)
PlanCacheComputeResultDesc CBC 51102 100.0 % (16 / 16) 66.7 % (6 / 9)
ReleaseCachedPlan CBC 234448 100.0 % (12 / 12) 75.0 % (9 / 12)
choose_custom_plan CBC 203104 85.7 % (18 / 21) 83.3 % (15 / 18)
CompleteCachedPlan GNC 45964 100.0 % (35 / 35) 85.7 % (12 / 14)
DropCachedPlan CBC 8752 100.0 % (10 / 10) 66.7 % (4 / 6)
ScanQueryForLocks GNC 167285 96.0 % (24 / 25) 92.0 % (23 / 25)
AcquirePlannerLocks CBC 149248 100.0 % (10 / 10) 90.0 % (9 / 10)
CachedPlanIsValid CBC 1455 100.0 % (3 / 3) 50.0 % (1 / 2)
CreateOneShotCachedPlan GNC 12180 100.0 % (37 / 37) 50.0 % (1 / 2)
FreeCachedExpression CBC 53 100.0 % (5 / 5) 50.0 % (1 / 2)
ReleaseGenericPlan CBC 72388 100.0 % (7 / 7) 75.0 % (3 / 4)
SetPostRewriteHook CBC 1430 100.0 % (5 / 5) 50.0 % (1 / 2)
cached_plan_cost CBC 60416 100.0 % (11 / 11) 90.0 % (9 / 10)
ScanQueryWalker CBC 220723 100.0 % (7 / 7) 100.0 % (4 / 4)
StmtPlanRequiresRevalidation CBC 20961968 100.0 % (6 / 6) 100.0 % (4 / 4)
CreateCachedPlanForQuery CBC 541 100.0 % (6 / 6)
GetCachedExpression GNC 270 100.0 % (15 / 15)
InitPlanCache CBC 18407 100.0 % (10 / 10)
ReleaseAllPlanCacheRefsInOwner CBC 10241 100.0 % (3 / 3)
ResOwnerReleaseCachedPlan CBC 60183 100.0 % (3 / 3)
ResourceOwnerForgetPlanCacheRef CBC 121418 100.0 % (3 / 3)
ResourceOwnerRememberPlanCacheRef CBC 181601 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1