LCOV - code coverage report
Current view: top level - src/backend/utils/adt - ri_triggers.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 93.3 % 1127 1051
Test Date: 2026-11-24 03:16:05 Functions: 100.0 % 56 56
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 72.4 % 608 440

Function Name Sort by function name Hit count Sort by function hit count
recheck_matched_pk_tuple 7
RI_FKey_restrict_del 8
ri_GenerateQualCollation 8
RI_FKey_restrict_upd 20
RI_FKey_setnull_upd 20
RI_FKey_setdefault_upd 32
RI_FKey_setdefault_del 56
RI_FKey_setnull_del 65
RI_PartitionRemove_Check 65
ri_FreeDeadPlans 72
RI_FKey_cascade_upd 144
ri_set 173
RI_FKey_cascade_del 218
ri_InitHashTables 258
RI_FKey_check_upd 296
RI_FKey_noaction_del 301
RI_FKey_noaction_upd 351
ri_PlanIsExecuting 396
ri_Check_Pk_Match 530
ri_CompareWithCast 531
ri_HashCompareOp 531
RI_FKey_fk_upd_check_required 674
ri_restrict 768
RI_Initial_Check 776
ri_ReportViolation 840
get_ri_constraint_root 940
ri_populate_fastpath_metadata 972
ri_HashPreparedPlan 1386
ri_PlanCheck 1386
ri_KeysEqual 1428
RI_FKey_pk_upd_check_required 1640
ri_BuildQueryKey 2773
ri_FetchPreparedPlan 2773
ri_PerformCheck 2773
ri_PushExecutingPlan 2773
quoteRelationName 3059
ri_GenerateQual 3314
RI_FKey_trigger_type 5713
quoteOneName 13505
InvalidateConstraintCacheCallBack 54763
ri_LockPKTuple 604362
build_index_scankeys 604650
ri_FastPathProbeOne 604650
ri_CheckFunctionPermissions 604654
ri_CheckPermissions 604678
ri_check_fastpath_index 604750
ri_FastPathCheck 604754
RI_FKey_check_ins 605622
ri_fastpath_is_applicable 605660
RI_FKey_check 605918
ri_CheckTrigger 607133
ri_ExtractValues 607567
ri_NullCheck 608212
ri_FetchConstraintInfo 610376
AtEOXact_RI 664900
ri_LoadConstraintInfo 1216098

Generated by: LCOV version 2.0-1