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 DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 88.8 % 741 658 2 81 11 647 3 8
Current Date: 2026-03-14 14:10:32 -0400 Functions: 97.5 % 40 39 1 8 31 2
Baseline: lcov-20260315-024220-baseline Branches: 74.7 % 566 423 1 1 141 7 416
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 2 2 2
(30,360] days: 85.1 % 67 57 2 8 9 48
(360..) days: 89.1 % 672 599 73 599
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 100.0 % 4 4 4
(360..) days: 97.1 % 34 33 1 6 27
Branch coverage date bins:
(30,360] days: 81.6 % 38 31 1 6 7 24
(360..) days: 74.2 % 528 392 1 135 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 UNC 0 0.0 % (0 / 53) 0.0 % (0 / 14)
FreeCachedExpression CBC 28 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression GNC 189 100.0 % (15 / 15)
BuildingPlanRequiresSnapshot CBC 498 50.0 % (3 / 6) 25.0 % (1 / 4)
CreateCachedPlanForQuery CBC 514 100.0 % (6 / 6)
SetPostRewriteHook CBC 1178 100.0 % (5 / 5) 50.0 % (1 / 2)
DropCachedPlan CBC 7927 100.0 % (10 / 10) 66.7 % (4 / 6)
CachedPlanGetTargetList CBC 8106 87.5 % (7 / 8) 50.0 % (3 / 6)
QueryListGetPrimaryStmt CBC 8264 83.3 % (5 / 6) 50.0 % (4 / 8)
ReleaseAllPlanCacheRefsInOwner CBC 8553 100.0 % (3 / 3)
CreateOneShotCachedPlan GNC 9915 100.0 % (37 / 37) 50.0 % (1 / 2)
CachedPlanAllowsSimpleValidityCheck CBC 15465 77.1 % (27 / 35) 61.1 % (33 / 54)
InitPlanCache CBC 17034 100.0 % (10 / 10)
CachedPlanSetParentContext CBC 17834 66.7 % (8 / 12) 31.2 % (5 / 16)
SaveCachedPlan CBC 23593 90.9 % (10 / 11) 40.0 % (4 / 10)
CreateCachedPlan GNC 29167 100.0 % (41 / 41) 50.0 % (1 / 2)
CompleteCachedPlan GNC 39005 100.0 % (35 / 35) 85.7 % (12 / 14)
ResetPlanCache CBC 41382 100.0 % (16 / 16) 77.8 % (14 / 18)
PlanCacheComputeResultDesc CBC 42469 100.0 % (16 / 16) 66.7 % (6 / 9)
ResOwnerReleaseCachedPlan CBC 47114 100.0 % (3 / 3)
cached_plan_cost CBC 50877 100.0 % (11 / 11) 90.0 % (9 / 10)
BuildCachedPlan GNC 50983 97.9 % (47 / 48) 90.0 % (27 / 30)
ReleaseGenericPlan CBC 60451 100.0 % (7 / 7) 75.0 % (3 / 4)
CachedPlanIsSimplyValid CBC 170791 100.0 % (15 / 15) 72.2 % (13 / 18)
ScanQueryWalker CBC 188704 100.0 % (7 / 7) 100.0 % (4 / 4)
CachedPlanIsValid CBC 401849 100.0 % (3 / 3) 50.0 % (1 / 2)
AcquireExecutorLocks CBC 494780 94.4 % (17 / 18) 87.5 % (21 / 24)
ResourceOwnerForgetPlanCacheRef CBC 505148 100.0 % (3 / 3)
CheckCachedPlan CBC 520218 86.4 % (19 / 22) 65.4 % (17 / 26)
AcquirePlannerLocks CBC 529097 100.0 % (10 / 10) 90.0 % (9 / 10)
ScanQueryForLocks CBC 544047 96.0 % (24 / 25) 92.0 % (23 / 25)
GetCachedPlan GNC 545751 97.6 % (40 / 41) 78.9 % (30 / 38)
ResourceOwnerRememberPlanCacheRef CBC 552262 100.0 % (3 / 3)
RevalidateCachedQuery CBC 553857 98.7 % (74 / 75) 83.3 % (50 / 60)
choose_custom_plan CBC 571133 85.7 % (18 / 21) 83.3 % (15 / 18)
ReleaseCachedPlan CBC 594886 100.0 % (12 / 12) 75.0 % (9 / 12)
PlanCacheRelCallback CBC 1680174 96.8 % (30 / 31) 81.8 % (36 / 44)
StmtPlanRequiresRevalidation CBC 15243084 100.0 % (6 / 6) 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta