LCOV - differential code coverage report
Current view: top level - src/backend/catalog - pg_constraint.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 94.3 % 601 567 34 15 552 15
Current Date: 2026-11-05 14:14:01 +0100 Functions: 100.0 % 22 22 2 20
Baseline: lcov-20261105-baseline Branches: 65.3 % 441 288 153 288
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 26 26 15 11
(360..) days: 94.1 % 575 541 34 541
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 21 21 2 19
Branch coverage date bins:
(30,360] days: 65.0 % 20 13 7 13
(360..) days: 65.3 % 421 275 146 275

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
DeconstructFkConstraintRow CBC 5792 90.3 % (65 / 72) 46.9 % (45 / 96)
get_relation_constraint_attnos CBC 190 92.9 % (26 / 28) 41.7 % (10 / 24)
get_primary_key_attnos CBC 300 93.5 % (29 / 31) 50.0 % (13 / 26)
RemoveConstraintById CBC 18052 85.2 % (23 / 27) 40.0 % (8 / 20)
ConstraintSetParentConstraint CBC 409 90.3 % (28 / 31) 38.9 % (7 / 18)
RenameConstraintById CBC 68 83.3 % (15 / 18) 44.4 % (8 / 18)
FindFKPeriodOpers CBC 255 78.9 % (15 / 19) 40.0 % (6 / 15)
extractNotNullColumn CBC 8573 90.0 % (9 / 10) 42.9 % (6 / 14)
AdjustNotNullInheritance CBC 6200 88.0 % (22 / 25) 76.7 % (23 / 30)
CreateConstraintEntry GNC 33967 98.5 % (135 / 137) 93.9 % (77 / 82)
AlterConstraintNamespaces CBC 69 95.0 % (19 / 20) 78.6 % (11 / 14)
check_functional_grouping CBC 300 100.0 % (16 / 16) 81.2 % (13 / 16)
findDomainNotNullConstraint CBC 8 87.5 % (14 / 16) 50.0 % (3 / 6)
get_domain_constraint_oid CBC 48 100.0 % (14 / 14) 75.0 % (6 / 8)
get_relation_constraint_oid CBC 481 100.0 % (14 / 14) 75.0 % (6 / 8)
ChooseConstraintName CBC 15948 100.0 % (25 / 25) 100.0 % (14 / 14)
ConstraintNameIsUsed CBC 11103 100.0 % (10 / 10) 100.0 % (4 / 4)
RelationGetNotNullConstraints GNC 7872 100.0 % (40 / 40) 100.0 % (10 / 10)
findNotNullConstraint CBC 840 100.0 % (5 / 5) 100.0 % (2 / 2)
findNotNullConstraintAttnum CBC 7980 100.0 % (17 / 17) 100.0 % (6 / 6)
get_relation_idx_constraint_oid CBC 887 100.0 % (17 / 17) 100.0 % (10 / 10)
ConstraintNameExists CBC 5648 100.0 % (9 / 9)

Generated by: LCOV version 2.0-1