LCOV - code coverage report
Current view: top level - src/backend/catalog - heap.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 95.0 % 1156 1098
Test Date: 2026-11-18 18:16:02 Functions: 98.0 % 49 48
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.6 % 842 653

Function Name Sort by function name Hit count Sort by function hit count
DeleteSystemAttributeTuples 0
SetAttrMissing 3
heap_truncate 254
heap_truncate_one_rel 338
CopyStatistics 340
SetAttributeVersions 371
StoreAttrMissingVal 377
RelationTruncateIndexes 400
check_virtual_generated_security 587
heap_truncate_find_FKs 610
contains_user_functions_checker 651
SetBinaryUpgradeAttributeVersions 881
MergeWithExistingConstraint 1306
check_nested_generated 1339
heap_truncate_check_FKs 1403
RemoveAttributeById 1467
cookConstraint 1628
SetAttributeVersionInTuple 1782
check_virtual_generated_security_walker 1857
StoreRelCheck 1971
RelationClearMissing 2506
RemovePartitionKeyByRelId 2772
cookDefault 3426
StorePartitionKey 3433
check_nested_generated_walker 4473
StorePartitionBound 7216
SetRelationNumChecks 10854
AddRelationNewConstraints 10929
StoreRelNotNull 15996
SystemAttributeDefinition 21511
RelationRemoveInheritance 34624
heap_drop_with_catalog 34628
RemoveStatistics 38133
AddRelationNotNullConstraints 41805
AddNewRelationType 46559
GetNextAttributeVersion 47353
DeleteAttributeTuples 51205
DeleteRelationTuple 51205
StoreConstraints 59690
AddNewAttributeTuples 59691
AddNewRelationTuple 59691
heap_create_with_catalog 59723
CheckAttributeNamesTypes 60230
InsertPgClassTuple 91092
heap_create 91338
InsertPgAttributeTuples 141340
SystemAttributeByName 225455
CheckAttributeType 298923
CheckAttributeVersions 301438

Generated by: LCOV version 2.0-1