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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 94.3 % 601 567 1 33 11 556 1 11
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 22 22 4 18
Baseline: lcov-20260530-034037-baseline Branches: 65.1 % 441 287 9 145 7 280 9 7
Baseline Date: 2026-05-29 14:39:03 -0700 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
findDomainNotNullConstraint CBC 8 87.5 % (14 / 16) 50.0 % (3 / 6)
get_domain_constraint_oid CBC 44 100.0 % (14 / 14) 75.0 % (6 / 8)
RenameConstraintById CBC 64 83.3 % (15 / 18) 44.4 % (8 / 18)
AlterConstraintNamespaces CBC 77 95.0 % (19 / 20) 78.6 % (11 / 14)
get_relation_constraint_attnos CBC 138 92.9 % (26 / 28) 41.7 % (10 / 24)
FindFKPeriodOpers CBC 259 78.9 % (15 / 19) 40.0 % (6 / 15)
check_functional_grouping CBC 300 100.0 % (16 / 16) 81.2 % (13 / 16)
get_primary_key_attnos CBC 300 93.5 % (29 / 31) 50.0 % (13 / 26)
get_relation_constraint_oid CBC 373 100.0 % (14 / 14) 75.0 % (6 / 8)
ConstraintSetParentConstraint CBC 532 90.3 % (28 / 31) 38.9 % (7 / 18)
findNotNullConstraint CBC 843 100.0 % (5 / 5) 100.0 % (2 / 2)
get_relation_idx_constraint_oid CBC 1459 100.0 % (17 / 17) 90.0 % (9 / 10)
ConstraintNameExists CBC 5904 100.0 % (9 / 9)
DeconstructFkConstraintRow GNC 5952 90.3 % (65 / 72) 46.9 % (45 / 96)
AdjustNotNullInheritance CBC 6414 88.0 % (22 / 25) 76.7 % (23 / 30)
findNotNullConstraintAttnum CBC 7954 100.0 % (17 / 17) 100.0 % (6 / 6)
RelationGetNotNullConstraints GNC 8413 100.0 % (40 / 40) 100.0 % (10 / 10)
extractNotNullColumn CBC 9177 90.0 % (9 / 10) 42.9 % (6 / 14)
ConstraintNameIsUsed CBC 11547 100.0 % (10 / 10) 100.0 % (4 / 4)
ChooseConstraintName CBC 16506 100.0 % (25 / 25) 100.0 % (14 / 14)
RemoveConstraintById GNC 18928 85.2 % (23 / 27) 40.0 % (8 / 20)
CreateConstraintEntry GNC 35510 98.5 % (135 / 137) 93.9 % (77 / 82)

Generated by: LCOV version 2.5.0-beta