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: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 94.3 % 601 567 34 15 552 15
Current Date: 2026-10-12 11:56:10 +0200 Functions: 100.0 % 22 22 2 20
Baseline: lcov-20261012-baseline Branches: 65.3 % 441 288 153 288
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 96.6 % 29 28 1 15 13
(360..) days: 94.2 % 572 539 33 539
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: 58.3 % 24 14 10 14
(360..) days: 65.7 % 417 274 143 274

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 6118 88.0 % (22 / 25) 76.7 % (23 / 30)
AlterConstraintNamespaces CBC 69 95.0 % (19 / 20) 78.6 % (11 / 14)
ChooseConstraintName CBC 15818 100.0 % (25 / 25) 100.0 % (14 / 14)
ConstraintNameExists CBC 5630 100.0 % (9 / 9)
ConstraintNameIsUsed CBC 11063 100.0 % (10 / 10) 100.0 % (4 / 4)
ConstraintSetParentConstraint CBC 409 90.3 % (28 / 31) 38.9 % (7 / 18)
CreateConstraintEntry GNC 33685 98.5 % (135 / 137) 93.9 % (77 / 82)
DeconstructFkConstraintRow CBC 5759 90.3 % (65 / 72) 46.9 % (45 / 96)
FindFKPeriodOpers CBC 255 78.9 % (15 / 19) 40.0 % (6 / 15)
RelationGetNotNullConstraints GNC 7844 100.0 % (40 / 40) 100.0 % (10 / 10)
RemoveConstraintById CBC 17980 85.2 % (23 / 27) 40.0 % (8 / 20)
RenameConstraintById CBC 68 83.3 % (15 / 18) 44.4 % (8 / 18)
check_functional_grouping CBC 296 100.0 % (16 / 16) 81.2 % (13 / 16)
extractNotNullColumn CBC 8527 90.0 % (9 / 10) 42.9 % (6 / 14)
findDomainNotNullConstraint CBC 8 87.5 % (14 / 16) 50.0 % (3 / 6)
findNotNullConstraint CBC 840 100.0 % (5 / 5) 100.0 % (2 / 2)
findNotNullConstraintAttnum CBC 7894 100.0 % (17 / 17) 100.0 % (6 / 6)
get_domain_constraint_oid CBC 44 100.0 % (14 / 14) 75.0 % (6 / 8)
get_primary_key_attnos CBC 296 93.5 % (29 / 31) 50.0 % (13 / 26)
get_relation_constraint_attnos CBC 190 92.9 % (26 / 28) 41.7 % (10 / 24)
get_relation_constraint_oid CBC 469 100.0 % (14 / 14) 75.0 % (6 / 8)
get_relation_idx_constraint_oid CBC 887 100.0 % (17 / 17) 100.0 % (10 / 10)

Generated by: LCOV version 2.0-1