LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - plancache.c (source / functions) Coverage Total Hit UBC GBC CBC
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 89.0 % 761 677 84 677
Current Date: 2026-08-27 14:31:44 +0300 Functions: 97.6 % 41 40 1 40
Baseline: lcov-20260827-baseline Branches: 75.3 % 590 444 146 1 443
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 95.0 % 20 19 1 19
(30,360] days: 80.0 % 10 8 2 8
(360..) days: 88.9 % 731 650 81 650
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 3 3 3
(360..) days: 97.3 % 37 36 1 36
Branch coverage date bins:
(7,30] days: 87.5 % 24 21 3 21
(360..) days: 74.7 % 566 423 143 1 422

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 / 53) 0.0 % (0 / 14)
CachedPlanAllowsSimpleValidityCheck CBC 19148 77.1 % (27 / 35) 61.1 % (33 / 54)
CachedPlanSetParentContext CBC 20239 66.7 % (8 / 12) 31.2 % (5 / 16)
BuildingPlanRequiresSnapshot CBC 523 50.0 % (3 / 6) 25.0 % (1 / 4)
CheckCachedPlan CBC 147928 86.4 % (19 / 22) 61.5 % (16 / 26)
choose_custom_plan CBC 208242 85.7 % (18 / 21) 83.3 % (15 / 18)
AcquireExecutorLocks CBC 115945 94.4 % (17 / 18) 87.5 % (21 / 24)
BuildCachedPlan CBC 60397 97.9 % (47 / 48) 90.0 % (27 / 30)
CachedPlanGetTargetList CBC 8582 87.5 % (7 / 8) 50.0 % (3 / 6)
GetCachedPlan CBC 176362 97.6 % (40 / 41) 78.9 % (30 / 38)
PlanCacheRelCallback CBC 2061088 96.8 % (30 / 31) 81.8 % (36 / 44)
PlanCacheRoleCallback CBC 45695 94.1 % (16 / 17) 87.5 % (21 / 24)
QueryListGetPrimaryStmt CBC 8775 83.3 % (5 / 6) 50.0 % (4 / 8)
RevalidateCachedQuery CBC 184944 98.7 % (74 / 75) 83.3 % (50 / 60)
SaveCachedPlan CBC 26391 90.9 % (10 / 11) 40.0 % (4 / 10)
ScanQueryForLocks CBC 172680 96.0 % (24 / 25) 92.0 % (23 / 25)
AcquirePlannerLocks CBC 154582 100.0 % (10 / 10) 90.0 % (9 / 10)
CachedPlanIsSimplyValid CBC 226319 100.0 % (15 / 15) 72.2 % (13 / 18)
CachedPlanIsValid CBC 1423 100.0 % (3 / 3) 50.0 % (1 / 2)
CompleteCachedPlan CBC 45985 100.0 % (35 / 35) 85.7 % (12 / 14)
CreateCachedPlan CBC 33903 100.0 % (41 / 41) 50.0 % (1 / 2)
CreateCachedPlanForQuery CBC 548 100.0 % (6 / 6)
CreateOneShotCachedPlan CBC 12177 100.0 % (37 / 37) 50.0 % (1 / 2)
DropCachedPlan CBC 8851 100.0 % (10 / 10) 66.7 % (4 / 6)
FreeCachedExpression CBC 52 100.0 % (5 / 5) 50.0 % (1 / 2)
GetCachedExpression CBC 269 100.0 % (15 / 15)
InitPlanCache CBC 19030 100.0 % (13 / 13)
PlanCacheComputeResultDesc CBC 50989 100.0 % (16 / 16) 66.7 % (6 / 9)
PlanCacheObjectCallback CBC 788332 100.0 % (47 / 47) 90.0 % (63 / 70)
PlanCacheSysCallback CBC 50378 100.0 % (3 / 3)
ReleaseAllPlanCacheRefsInOwner CBC 10254 100.0 % (3 / 3)
ReleaseCachedPlan CBC 239656 100.0 % (12 / 12) 75.0 % (9 / 12)
ReleaseGenericPlan CBC 72286 100.0 % (7 / 7) 75.0 % (3 / 4)
ResOwnerReleaseCachedPlan CBC 60109 100.0 % (3 / 3)
ResetPlanCache CBC 51030 100.0 % (16 / 16) 77.8 % (14 / 18)
ResourceOwnerForgetPlanCacheRef CBC 127484 100.0 % (3 / 3)
ResourceOwnerRememberPlanCacheRef CBC 187593 100.0 % (3 / 3)
ScanQueryWalker CBC 221212 100.0 % (7 / 7) 100.0 % (4 / 4)
SetPostRewriteHook CBC 1431 100.0 % (5 / 5) 50.0 % (1 / 2)
StmtPlanRequiresRevalidation CBC 24714076 100.0 % (6 / 6) 100.0 % (4 / 4)
cached_plan_cost CBC 60253 100.0 % (11 / 11) 90.0 % (9 / 10)

Generated by: LCOV version 2.0-1