LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - plancache.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 88.8 % 741 658 2 81 13 645 1 3 9
Current Date: 2026-05-05 10:23:31 +0900 Functions: 97.5 % 40 39 1 9 30 3
Baseline: lcov-20260505-025707-baseline Branches: 74.7 % 566 423 1 1 141 7 416
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.5 % 24 21 2 1 12 9 1
(360..) days: 88.8 % 717 637 80 1 636
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: 90.0 % 20 18 1 1 7 11
(360..) days: 74.2 % 546 405 1 140 405

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 19587 77.1 % (27 / 35) 61.1 % (33 / 54)
CachedPlanSetParentContext CBC 20978 66.7 % (8 / 12) 31.2 % (5 / 16)
BuildingPlanRequiresSnapshot CBC 521 50.0 % (3 / 6) 25.0 % (1 / 4)
CheckCachedPlan CBC 136451 86.4 % (19 / 22) 61.5 % (16 / 26)
choose_custom_plan CBC 197227 85.7 % (18 / 21) 83.3 % (15 / 18)
AcquireExecutorLocks CBC 104075 94.4 % (17 / 18) 87.5 % (21 / 24)
BuildCachedPlan GNC 60859 97.9 % (47 / 48) 90.0 % (27 / 30)
CachedPlanGetTargetList CBC 8599 87.5 % (7 / 8) 50.0 % (3 / 6)
GetCachedPlan GNC 164946 97.6 % (40 / 41) 78.9 % (30 / 38)
PlanCacheRelCallback CBC 2169494 96.8 % (30 / 31) 81.8 % (36 / 44)
QueryListGetPrimaryStmt CBC 8785 83.3 % (5 / 6) 50.0 % (4 / 8)
RevalidateCachedQuery CBC 173545 98.7 % (74 / 75) 83.3 % (50 / 60)
SaveCachedPlan CBC 27044 90.9 % (10 / 11) 40.0 % (4 / 10)
ScanQueryForLocks GNC 161513 96.0 % (24 / 25) 92.0 % (23 / 25)
AcquirePlannerLocks CBC 143158 100.0 % (10 / 10) 90.0 % (9 / 10)
CachedPlanIsSimplyValid CBC 221112 100.0 % (15 / 15) 72.2 % (13 / 18)
CachedPlanIsValid CBC 1455 100.0 % (3 / 3) 50.0 % (1 / 2)
CompleteCachedPlan GNC 46643 100.0 % (35 / 35) 85.7 % (12 / 14)
CreateCachedPlan GNC 34565 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 8658 100.0 % (10 / 10) 66.7 % (4 / 6)
FreeCachedExpression CBC 40 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression GNC 257 100.0 % (15 / 15)
InitPlanCache CBC 18656 100.0 % (10 / 10)
PlanCacheComputeResultDesc CBC 51588 100.0 % (16 / 16) 66.7 % (6 / 9)
ReleaseAllPlanCacheRefsInOwner CBC 10325 100.0 % (3 / 3)
ReleaseCachedPlan CBC 228560 100.0 % (12 / 12) 75.0 % (9 / 12)
ReleaseGenericPlan CBC 73087 100.0 % (7 / 7) 75.0 % (3 / 4)
ResOwnerReleaseCachedPlan CBC 60830 100.0 % (3 / 3)
ResetPlanCache CBC 51896 100.0 % (16 / 16) 77.8 % (14 / 18)
ResourceOwnerForgetPlanCacheRef CBC 117758 100.0 % (3 / 3)
ResourceOwnerRememberPlanCacheRef CBC 178588 100.0 % (3 / 3)
ScanQueryWalker CBC 219955 100.0 % (7 / 7) 100.0 % (4 / 4)
SetPostRewriteHook CBC 1507 100.0 % (5 / 5) 50.0 % (1 / 2)
StmtPlanRequiresRevalidation CBC 20251362 100.0 % (6 / 6) 100.0 % (4 / 4)
cached_plan_cost CBC 60725 100.0 % (11 / 11) 90.0 % (9 / 10)

Generated by: LCOV version 2.5.0-beta