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 ECB DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 88.8 % 741 658 2 81 13 645 1 3 9
Current Date: 2026-05-29 21:51:00 -0400 Functions: 97.5 % 40 39 1 9 30 3
Baseline: lcov-20260530-034037-baseline Branches: 74.7 % 566 423 1 142 1 7 415
Baseline Date: 2026-05-29 14:39:03 -0700 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 142 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
CopyCachedPlan UNC 0 0.0 % (0 / 53) 0.0 % (0 / 14)
CachedPlanAllowsSimpleValidityCheck CBC 19755 77.1 % (27 / 35) 61.1 % (33 / 54)
CachedPlanSetParentContext CBC 20953 66.7 % (8 / 12) 31.2 % (5 / 16)
BuildingPlanRequiresSnapshot CBC 521 50.0 % (3 / 6) 25.0 % (1 / 4)
CheckCachedPlan CBC 140410 86.4 % (19 / 22) 61.5 % (16 / 26)
choose_custom_plan CBC 201420 85.7 % (18 / 21) 83.3 % (15 / 18)
AcquireExecutorLocks CBC 107861 94.4 % (17 / 18) 87.5 % (21 / 24)
BuildCachedPlan GNC 61093 97.9 % (47 / 48) 90.0 % (27 / 30)
CachedPlanGetTargetList CBC 8599 87.5 % (7 / 8) 50.0 % (3 / 6)
GetCachedPlan GNC 168966 97.6 % (40 / 41) 78.9 % (30 / 38)
PlanCacheRelCallback CBC 2175595 96.8 % (30 / 31) 81.8 % (36 / 44)
QueryListGetPrimaryStmt CBC 8782 83.3 % (5 / 6) 50.0 % (4 / 8)
RevalidateCachedQuery CBC 177565 98.7 % (74 / 75) 83.3 % (50 / 60)
SaveCachedPlan CBC 27035 90.9 % (10 / 11) 40.0 % (4 / 10)
ScanQueryForLocks GNC 165534 96.0 % (24 / 25) 92.0 % (23 / 25)
AcquirePlannerLocks CBC 147144 100.0 % (10 / 10) 90.0 % (9 / 10)
CachedPlanIsSimplyValid CBC 221177 100.0 % (15 / 15) 72.2 % (13 / 18)
CachedPlanIsValid CBC 1455 100.0 % (3 / 3) 50.0 % (1 / 2)
CompleteCachedPlan GNC 46636 100.0 % (35 / 35) 85.7 % (12 / 14)
CreateCachedPlan GNC 34558 100.0 % (41 / 41) 50.0 % (1 / 2)
CreateCachedPlanForQuery CBC 620 100.0 % (6 / 6)
CreateOneShotCachedPlan GNC 12169 100.0 % (37 / 37) 50.0 % (1 / 2)
DropCachedPlan CBC 8640 100.0 % (10 / 10) 66.7 % (4 / 6)
FreeCachedExpression CBC 50 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression GNC 267 100.0 % (15 / 15)
InitPlanCache CBC 18772 100.0 % (10 / 10)
PlanCacheComputeResultDesc CBC 51779 100.0 % (16 / 16) 66.7 % (6 / 9)
PlanCacheObjectCallback GNC 832896 100.0 % (47 / 47) 90.0 % (63 / 70)
ReleaseAllPlanCacheRefsInOwner CBC 10323 100.0 % (3 / 3)
ReleaseCachedPlan CBC 232824 100.0 % (12 / 12) 75.0 % (9 / 12)
ReleaseGenericPlan CBC 73432 100.0 % (7 / 7) 75.0 % (3 / 4)
ResOwnerReleaseCachedPlan CBC 60813 100.0 % (3 / 3)
ResetPlanCache CBC 52165 100.0 % (16 / 16) 77.8 % (14 / 18)
ResourceOwnerForgetPlanCacheRef CBC 121877 100.0 % (3 / 3)
ResourceOwnerRememberPlanCacheRef CBC 182690 100.0 % (3 / 3)
ScanQueryWalker CBC 220577 100.0 % (7 / 7) 100.0 % (4 / 4)
SetPostRewriteHook CBC 1509 100.0 % (5 / 5) 50.0 % (1 / 2)
StmtPlanRequiresRevalidation CBC 18943584 100.0 % (6 / 6) 100.0 % (4 / 4)
cached_plan_cost CBC 60957 100.0 % (11 / 11) 90.0 % (9 / 10)

Generated by: LCOV version 2.5.0-beta