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 DCB
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 88.7 % 742 658 84 4 654 1
Current Date: 2025-10-28 08:26:42 +0900 Functions: 97.5 % 40 39 1 2 37
Baseline: lcov-20251028-005825-baseline Branches: 74.9 % 566 424 1 141 1 7 416
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.1 % 62 54 8 4 50
(360..) days: 88.8 % 680 604 76 604
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 97.2 % 36 35 1 2 33
Branch coverage date bins:
(30,360] days: 81.6 % 38 31 1 6 7 24
(360..) days: 74.4 % 528 393 135 1 392

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 / 54) 0.0 % (0 / 14)
CachedPlanAllowsSimpleValidityCheck CBC 14779 77.1 % (27 / 35) 61.1 % (33 / 54)
CachedPlanSetParentContext CBC 17341 66.7 % (8 / 12) 31.2 % (5 / 16)
BuildingPlanRequiresSnapshot CBC 491 50.0 % (3 / 6) 25.0 % (1 / 4)
CheckCachedPlan CBC 115454 86.4 % (19 / 22) 65.4 % (17 / 26)
choose_custom_plan CBC 161860 85.7 % (18 / 21) 83.3 % (15 / 18)
AcquireExecutorLocks CBC 90926 94.4 % (17 / 18) 87.5 % (21 / 24)
BuildCachedPlan CBC 46466 97.9 % (47 / 48) 90.0 % (27 / 30)
CachedPlanGetTargetList CBC 7812 87.5 % (7 / 8) 50.0 % (3 / 6)
GetCachedPlan GNC 137387 97.6 % (40 / 41) 78.9 % (30 / 38)
PlanCacheRelCallback CBC 1503803 96.8 % (30 / 31) 81.8 % (36 / 44)
QueryListGetPrimaryStmt CBC 7963 83.3 % (5 / 6) 50.0 % (4 / 8)
RevalidateCachedQuery CBC 145199 98.7 % (74 / 75) 83.3 % (50 / 60)
SaveCachedPlan CBC 22811 90.9 % (10 / 11) 40.0 % (4 / 10)
ScanQueryForLocks CBC 133867 96.0 % (24 / 25) 92.0 % (23 / 25)
AcquirePlannerLocks CBC 122852 100.0 % (10 / 10) 90.0 % (9 / 10)
CachedPlanIsSimplyValid CBC 265504 100.0 % (15 / 15) 72.2 % (13 / 18)
CachedPlanIsValid CBC 1820 100.0 % (3 / 3) 50.0 % (1 / 2)
CompleteCachedPlan GNC 36281 100.0 % (35 / 35) 85.7 % (12 / 14)
CreateCachedPlan CBC 28352 100.0 % (41 / 41) 50.0 % (1 / 2)
CreateCachedPlanForQuery CBC 399 100.0 % (6 / 6)
CreateOneShotCachedPlan CBC 8003 100.0 % (37 / 37) 50.0 % (1 / 2)
DropCachedPlan CBC 7820 100.0 % (10 / 10) 66.7 % (4 / 6)
FreeCachedExpression CBC 29 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression CBC 184 100.0 % (15 / 15)
InitPlanCache CBC 15094 100.0 % (10 / 10)
PlanCacheComputeResultDesc CBC 39306 100.0 % (16 / 16) 66.7 % (6 / 9)
PlanCacheObjectCallback CBC 554053 100.0 % (47 / 47) 90.0 % (63 / 70)
PlanCacheSysCallback CBC 38410 100.0 % (3 / 3)
ReleaseAllPlanCacheRefsInOwner CBC 8377 100.0 % (3 / 3)
ReleaseCachedPlan CBC 185407 100.0 % (12 / 12) 75.0 % (9 / 12)
ReleaseGenericPlan CBC 58214 100.0 % (7 / 7) 75.0 % (3 / 4)
ResOwnerReleaseCachedPlan CBC 46328 100.0 % (3 / 3)
ResetPlanCache CBC 38962 100.0 % (16 / 16) 77.8 % (14 / 18)
ResourceOwnerForgetPlanCacheRef CBC 99300 100.0 % (3 / 3)
ResourceOwnerRememberPlanCacheRef CBC 145628 100.0 % (3 / 3)
ScanQueryWalker CBC 66990 100.0 % (7 / 7) 100.0 % (4 / 4)
SetPostRewriteHook CBC 1061 100.0 % (5 / 5) 50.0 % (1 / 2)
StmtPlanRequiresRevalidation CBC 16586029 100.0 % (6 / 6) 100.0 % (4 / 4)
cached_plan_cost CBC 46361 100.0 % (11 / 11) 90.0 % (9 / 10)

Generated by: LCOV version 2.4-beta