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 19:15:58 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
AddNewAttributeTuples 59698
AddNewRelationTuple 59698
AddNewRelationType 46565
AddRelationNewConstraints 10929
AddRelationNotNullConstraints 41808
CheckAttributeNamesTypes 60237
CheckAttributeType 298939
CheckAttributeVersions 302135
CopyStatistics 335
DeleteAttributeTuples 51188
DeleteRelationTuple 51188
DeleteSystemAttributeTuples 0
GetNextAttributeVersion 47359
InsertPgAttributeTuples 141344
InsertPgClassTuple 91090
MergeWithExistingConstraint 1306
RelationClearMissing 2508
RelationRemoveInheritance 34621
RelationTruncateIndexes 400
RemoveAttributeById 1467
RemovePartitionKeyByRelId 2772
RemoveStatistics 38130
SetAttrMissing 3
SetAttributeVersionInTuple 1782
SetAttributeVersions 371
SetBinaryUpgradeAttributeVersions 881
SetRelationNumChecks 10854
StoreAttrMissingVal 377
StoreConstraints 59697
StorePartitionBound 7217
StorePartitionKey 3434
StoreRelCheck 1971
StoreRelNotNull 15996
SystemAttributeByName 225472
SystemAttributeDefinition 21511
check_nested_generated 1341
check_nested_generated_walker 4475
check_virtual_generated_security 589
check_virtual_generated_security_walker 1859
contains_user_functions_checker 651
cookConstraint 1628
cookDefault 3426
heap_create 91336
heap_create_with_catalog 59730
heap_drop_with_catalog 34625
heap_truncate 254
heap_truncate_check_FKs 1405
heap_truncate_find_FKs 611
heap_truncate_one_rel 337

Generated by: LCOV version 2.0-1