LCOV - differential code coverage report
Current view: top level - src/backend/catalog - pg_constraint.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 94.3 % 601 567 1 33 11 556 1 11
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 22 22 4 18
Baseline: lcov-20260630-baseline Branches: 65.1 % 441 287 9 145 7 280
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 93.8 % 16 15 1 11 4
(360..) days: 94.4 % 585 552 33 552
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 21 21 4 17
Branch coverage date bins:
(30,360] days: 58.3 % 24 14 9 1 7 7
(360..) days: 65.5 % 417 273 144 273

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
AdjustNotNullInheritance CBC 6335 88.0 % (22 / 25) 76.7 % (23 / 30)
AlterConstraintNamespaces CBC 77 95.0 % (19 / 20) 78.6 % (11 / 14)
ChooseConstraintName CBC 16457 100.0 % (25 / 25) 100.0 % (14 / 14)
ConstraintNameExists CBC 5936 100.0 % (9 / 9)
ConstraintNameIsUsed CBC 11606 100.0 % (10 / 10) 100.0 % (4 / 4)
ConstraintSetParentConstraint CBC 532 90.3 % (28 / 31) 38.9 % (7 / 18)
CreateConstraintEntry GNC 35444 98.5 % (135 / 137) 93.9 % (77 / 82)
DeconstructFkConstraintRow GNC 5988 90.3 % (65 / 72) 46.9 % (45 / 96)
FindFKPeriodOpers CBC 259 78.9 % (15 / 19) 40.0 % (6 / 15)
RelationGetNotNullConstraints GNC 8525 100.0 % (40 / 40) 100.0 % (10 / 10)
RemoveConstraintById GNC 19080 85.2 % (23 / 27) 40.0 % (8 / 20)
RenameConstraintById CBC 64 83.3 % (15 / 18) 44.4 % (8 / 18)
check_functional_grouping CBC 301 100.0 % (16 / 16) 81.2 % (13 / 16)
extractNotNullColumn CBC 9173 90.0 % (9 / 10) 42.9 % (6 / 14)
findDomainNotNullConstraint CBC 8 87.5 % (14 / 16) 50.0 % (3 / 6)
findNotNullConstraint CBC 843 100.0 % (5 / 5) 100.0 % (2 / 2)
findNotNullConstraintAttnum CBC 7875 100.0 % (17 / 17) 100.0 % (6 / 6)
get_domain_constraint_oid CBC 45 100.0 % (14 / 14) 75.0 % (6 / 8)
get_primary_key_attnos CBC 301 93.5 % (29 / 31) 50.0 % (13 / 26)
get_relation_constraint_attnos CBC 138 92.9 % (26 / 28) 41.7 % (10 / 24)
get_relation_constraint_oid CBC 465 100.0 % (14 / 14) 75.0 % (6 / 8)
get_relation_idx_constraint_oid CBC 1459 100.0 % (17 / 17) 90.0 % (9 / 10)

Generated by: LCOV version 2.0-1