LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - ri_triggers.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DCB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 94.0 % 1301 1223 7 71 5 222 996 8
Current Date: 2026-09-20 14:13:17 +0900 Functions: 100.0 % 60 60 15 45 1
Baseline: lcov-20260920-baseline Branches: 72.6 % 748 543 27 1 177 4 125 414
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 30 30 1 29
(1,7] days: 100.0 % 4 4 4
(7,30] days: 92.2 % 64 59 3 2 37 22
(30,360] days: 95.6 % 321 307 4 10 180 127
(360..) days: 93.3 % 882 823 59 5 818
Function coverage date bins:
[..1] days: 100.0 % 1 1 1
(7,30] days: 100.0 % 3 3 2 1
(30,360] days: 100.0 % 16 16 12 4
(360..) days: 100.0 % 40 40 1 39
Branch coverage date bins:
[..1] days: 88.9 % 18 16 2 16
(1,7] days: 100.0 % 4 4 4
(7,30] days: 85.7 % 42 36 4 2 26 10
(30,360] days: 76.3 % 198 151 23 24 95 56
(360..) days: 69.1 % 486 336 1 149 4 332

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
AtEOSubXact_RI GNC 22835 93.3 % (14 / 15) 90.0 % (9 / 10)
AtEOXact_RI GNC 426437 91.7 % (11 / 12) 66.7 % (8 / 12)
InvalidateConstraintCacheCallBack GNC 54515 94.4 % (17 / 18) 83.3 % (15 / 18)
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 607052 98.4 % (60 / 61) 83.8 % (31 / 37)
RI_FKey_check_ins CBC 606756 100.0 % (3 / 3)
RI_FKey_check_upd CBC 296 100.0 % (3 / 3)
RI_FKey_fk_upd_check_required CBC 670 89.5 % (17 / 19) 78.6 % (11 / 14)
RI_FKey_noaction_del CBC 301 100.0 % (3 / 3)
RI_FKey_noaction_upd CBC 351 100.0 % (3 / 3)
RI_FKey_pk_upd_check_required CBC 1516 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 5637 100.0 % (7 / 7) 100.0 % (3 / 3)
RI_Initial_Check CBC 768 94.7 % (108 / 114) 64.7 % (33 / 51)
RI_PartitionRemove_Check CBC 65 89.0 % (65 / 73) 57.6 % (19 / 33)
build_index_scankeys CBC 2375 100.0 % (14 / 14) 80.0 % (8 / 10)
get_ri_constraint_root CBC 940 90.9 % (10 / 11) 50.0 % (3 / 6)
quoteOneName CBC 12903 88.9 % (8 / 9) 75.0 % (3 / 4)
quoteRelationName CBC 2860 100.0 % (6 / 6)
recheck_matched_pk_tuple CBC 3 100.0 % (13 / 13) 75.0 % (9 / 12)
ri_BuildQueryKey CBC 2453 100.0 % (6 / 6) 100.0 % (2 / 2)
ri_CheckPermissions CBC 11548 90.5 % (19 / 21) 87.5 % (7 / 8)
ri_CheckTrigger CBC 608147 76.2 % (16 / 21) 35.7 % (10 / 28)
ri_Check_Pk_Match CBC 530 75.0 % (27 / 36) 62.5 % (10 / 16)
ri_CompareWithCast CBC 527 100.0 % (6 / 6) 100.0 % (2 / 2)
ri_ExtractValues CBC 608585 100.0 % (8 / 8) 83.3 % (5 / 6)
ri_FastPathBatchAdd GNC 605979 88.2 % (15 / 17) 58.3 % (7 / 12)
ri_FastPathBatchFlush GNC 11479 97.2 % (35 / 36) 83.3 % (15 / 18)
ri_FastPathCheck GNC 73 100.0 % (35 / 35) 87.5 % (7 / 8)
ri_FastPathEndBatch GNC 1869 100.0 % (18 / 18) 92.9 % (13 / 14)
ri_FastPathFlushArray GNC 9545 100.0 % (41 / 41) 82.1 % (23 / 28)
ri_FastPathFlushLoop GNC 1918 100.0 % (14 / 14) 100.0 % (4 / 4)
ri_FastPathGetEntry GNC 605979 98.0 % (48 / 49) 90.0 % (18 / 20)
ri_FastPathProbeOne GNC 2375 100.0 % (9 / 9) 100.0 % (6 / 6)
ri_FastPathTeardown GNC 1525 95.5 % (21 / 22) 66.7 % (12 / 18)
ri_FetchConstraintInfo CBC 611254 73.7 % (14 / 19) 40.0 % (12 / 30)
ri_FetchPreparedPlan CBC 2453 92.3 % (12 / 13) 70.0 % (7 / 10)
ri_GenerateQual CBC 3074 100.0 % (4 / 4)
ri_GenerateQualCollation CBC 8 84.6 % (11 / 13) 33.3 % (2 / 6)
ri_HashCompareOp CBC 1697 90.9 % (20 / 22) 72.2 % (13 / 18)
ri_HashPreparedPlan CBC 1165 85.7 % (6 / 7) 66.7 % (4 / 6)
ri_InitHashTables CBC 258 100.0 % (13 / 13)
ri_KeysEqual CBC 1420 100.0 % (21 / 21) 100.0 % (18 / 18)
ri_LoadConstraintInfo CBC 616507 95.7 % (45 / 47) 65.0 % (13 / 20)
ri_LockPKTuple GNC 413763 73.1 % (19 / 26) 57.1 % (16 / 28)
ri_NullCheck CBC 609748 100.0 % (15 / 15) 100.0 % (10 / 10)
ri_PerformCheck CBC 2453 94.3 % (33 / 35) 76.7 % (23 / 30)
ri_PlanCheck GNC 1165 92.3 % (12 / 13) 50.0 % (3 / 6)
ri_ReportViolation CBC 852 97.9 % (46 / 47) 81.8 % (36 / 44)
ri_check_fastpath_index CBC 606052 88.0 % (22 / 25) 80.0 % (16 / 20)
ri_fastpath_is_applicable CBC 606806 100.0 % (6 / 6) 100.0 % (4 / 4)
ri_populate_fastpath_metadata CBC 1014 100.0 % (24 / 24) 64.3 % (9 / 14)
ri_restrict CBC 768 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