LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ri_triggers.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC ECB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 92.7 % 1203 1115 20 68 300 815 2 6
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 58 58 21 37 1
Baseline: lcov-20260630-baseline Branches: 69.1 % 680 470 52 1 157 142 328
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 75.0 % 4 3 1 3
(7,30] days: 97.6 % 41 40 1 40
(30,360] days: 93.5 % 275 257 18 257
(360..) days: 92.3 % 883 815 68 815 2
Function coverage date bins:
[..1] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 16 16 16
(360..) days: 100.0 % 41 41 4 37
Branch coverage date bins:
[..1] days: 60.0 % 10 6 4 6
(7,30] days: 83.3 % 36 30 6 30
(30,360] days: 71.6 % 148 106 42 106
(360..) days: 67.5 % 486 328 1 157 328

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
AtEOXact_RI GNC 427000 87.5 % (7 / 8) 60.0 % (6 / 10)
RI_FKey_cascade_del CBC 98 96.9 % (31 / 32) 70.0 % (7 / 10)
RI_FKey_cascade_upd CBC 144 97.4 % (38 / 39) 70.0 % (7 / 10)
RI_FKey_check GNC 606437 98.4 % (61 / 62) 80.0 % (28 / 35)
RI_FKey_check_ins CBC 606143 100.0 % (3 / 3)
RI_FKey_check_upd CBC 294 100.0 % (3 / 3)
RI_FKey_fk_upd_check_required CBC 668 89.5 % (17 / 19) 78.6 % (11 / 14)
RI_FKey_noaction_del CBC 313 100.0 % (3 / 3)
RI_FKey_noaction_upd CBC 356 100.0 % (3 / 3)
RI_FKey_pk_upd_check_required CBC 1533 100.0 % (7 / 7) 100.0 % (6 / 6)
RI_FKey_restrict_del CBC 8 100.0 % (3 / 3)
RI_FKey_restrict_upd CBC 20 100.0 % (3 / 3)
RI_FKey_setdefault_del CBC 56 100.0 % (3 / 3)
RI_FKey_setdefault_upd CBC 32 100.0 % (3 / 3)
RI_FKey_setnull_del CBC 65 100.0 % (3 / 3)
RI_FKey_setnull_upd CBC 20 100.0 % (3 / 3)
RI_FKey_trigger_type CBC 5860 100.0 % (7 / 7) 100.0 % (3 / 3)
RI_Initial_Check CBC 769 92.1 % (105 / 114) 58.8 % (30 / 51)
RI_PartitionRemove_Check CBC 65 89.0 % (65 / 73) 57.6 % (19 / 33)
build_index_scankeys GNC 2398 100.0 % (15 / 15) 80.0 % (8 / 10)
get_ri_constraint_root CBC 964 90.9 % (10 / 11) 50.0 % (3 / 6)
quoteOneName CBC 13061 88.9 % (8 / 9) 75.0 % (3 / 4)
quoteRelationName CBC 2891 100.0 % (6 / 6)
recheck_matched_pk_tuple GNC 2 100.0 % (13 / 13) 66.7 % (8 / 12)
ri_BuildQueryKey CBC 2475 100.0 % (6 / 6) 100.0 % (2 / 2)
ri_CheckPermissions GNC 11569 81.8 % (9 / 11) 75.0 % (3 / 4)
ri_CheckTrigger CBC 607549 76.2 % (16 / 21) 35.7 % (10 / 28)
ri_Check_Pk_Match CBC 523 75.0 % (27 / 36) 62.5 % (10 / 16)
ri_CompareWithCast CBC 525 100.0 % (6 / 6) 100.0 % (2 / 2)
ri_ExtractValues CBC 608004 100.0 % (8 / 8) 83.3 % (5 / 6)
ri_FastPathBatchAdd GNC 605217 92.9 % (13 / 14) 62.5 % (5 / 8)
ri_FastPathBatchFlush GNC 11129 97.1 % (34 / 35) 83.3 % (15 / 18)
ri_FastPathCheck GNC 440 100.0 % (27 / 27) 83.3 % (5 / 6)
ri_FastPathEndBatch GNC 1504 94.1 % (16 / 17) 83.3 % (10 / 12)
ri_FastPathFlushArray GNC 9559 87.2 % (41 / 47) 71.9 % (23 / 32)
ri_FastPathFlushLoop GNC 1566 100.0 % (14 / 14) 100.0 % (4 / 4)
ri_FastPathGetEntry GNC 605217 100.0 % (23 / 23) 100.0 % (6 / 6)
ri_FastPathProbeOne GNC 2398 100.0 % (9 / 9) 100.0 % (6 / 6)
ri_FastPathTeardown GNC 1206 94.4 % (17 / 18) 57.1 % (8 / 14)
ri_FetchConstraintInfo CBC 610672 73.7 % (14 / 19) 40.0 % (12 / 30)
ri_FetchPreparedPlan CBC 2475 92.3 % (12 / 13) 70.0 % (7 / 10)
ri_GenerateQual CBC 3084 100.0 % (4 / 4)
ri_GenerateQualCollation CBC 8 84.6 % (11 / 13) 33.3 % (2 / 6)
ri_HashCompareOp GNC 1638 90.9 % (20 / 22) 72.2 % (13 / 18)
ri_HashPreparedPlan CBC 1149 85.7 % (6 / 7) 66.7 % (4 / 6)
ri_InitHashTables CBC 263 100.0 % (12 / 12)
ri_KeysEqual CBC 1423 95.2 % (20 / 21) 94.4 % (17 / 18)
ri_LoadConstraintInfo GNC 613354 95.7 % (44 / 46) 65.0 % (13 / 20)
ri_LockPKTuple GNC 413423 72.0 % (18 / 25) 50.0 % (12 / 24)
ri_NullCheck CBC 609141 100.0 % (15 / 15) 100.0 % (10 / 10)
ri_PerformCheck GNC 2475 94.3 % (33 / 35) 76.7 % (23 / 30)
ri_PlanCheck CBC 1149 92.3 % (12 / 13) 50.0 % (3 / 6)
ri_ReportViolation CBC 833 87.2 % (41 / 47) 72.7 % (32 / 44)
ri_fastpath_is_applicable GNC 606191 100.0 % (6 / 6) 100.0 % (4 / 4)
ri_populate_fastpath_metadata GNC 965 100.0 % (21 / 21) 66.7 % (8 / 12)
ri_restrict CBC 785 98.6 % (69 / 70) 80.8 % (21 / 26)
ri_set CBC 173 91.9 % (57 / 62) 71.9 % (23 / 32)

Generated by: LCOV version 2.0-1