LCOV - differential code coverage report
Current view: top level - src/backend/catalog - heap.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 95.5 % 1111 1061 50 1 1060 1
Current Date: 2026-08-27 14:31:44 +0300 Functions: 97.7 % 44 43 1 1 42
Baseline: lcov-20260827-baseline Branches: 77.7 % 828 643 185 643
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 6 6 1 5
(30,360] days: 100.0 % 16 16 16
(360..) days: 95.4 % 1089 1039 50 1039
Function coverage date bins:
(360..) days: 97.7 % 44 43 1 1 42
Branch coverage date bins:
(7,30] days: 75.0 % 4 3 1 3
(30,360] days: 100.0 % 8 8 8
(360..) days: 77.5 % 816 632 184 632

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
DeleteSystemAttributeTuples UBC 0 0.0 % (0 / 10) 0.0 % (0 / 2)
MergeWithExistingConstraint CBC 1310 89.8 % (44 / 49) 75.7 % (56 / 74)
heap_create_with_catalog CBC 57308 94.8 % (91 / 96) 71.8 % (74 / 103)
AddRelationNotNullConstraints CBC 40314 96.1 % (74 / 77) 78.8 % (63 / 80)
CheckAttributeNamesTypes CBC 57795 85.7 % (18 / 21) 66.7 % (20 / 30)
CheckAttributeType CBC 287417 92.5 % (37 / 40) 77.6 % (45 / 58)
SetAttrMissing CBC 4 87.0 % (20 / 23) 33.3 % (2 / 6)
AddRelationNewConstraints CBC 10772 98.4 % (122 / 124) 80.0 % (56 / 70)
StoreConstraints CBC 57272 91.3 % (21 / 23) 73.3 % (11 / 15)
heap_drop_with_catalog CBC 32655 95.5 % (42 / 44) 80.6 % (29 / 36)
DeleteRelationTuple CBC 48585 88.9 % (8 / 9) 25.0 % (1 / 4)
RelationClearMissing CBC 2012 95.7 % (22 / 23) 62.5 % (5 / 8)
RemoveAttributeById CBC 1398 97.0 % (32 / 33) 25.0 % (1 / 4)
RemovePartitionKeyByRelId CBC 2601 88.9 % (8 / 9) 25.0 % (1 / 4)
SetRelationNumChecks CBC 10625 92.3 % (12 / 13) 50.0 % (3 / 6)
StoreAttrMissingVal CBC 360 95.0 % (19 / 20) 33.3 % (2 / 6)
StorePartitionBound CBC 6979 96.7 % (29 / 30) 68.8 % (11 / 16)
SystemAttributeDefinition CBC 20746 75.0 % (3 / 4) 33.3 % (2 / 6)
check_nested_generated_walker CBC 5073 93.8 % (15 / 16) 81.2 % (13 / 16)
cookConstraint CBC 1627 85.7 % (6 / 7) 25.0 % (1 / 4)
cookDefault CBC 3412 94.1 % (16 / 17) 65.0 % (13 / 20)
heap_create CBC 88032 96.4 % (27 / 28) 84.8 % (56 / 66)
AddNewAttributeTuples CBC 57273 100.0 % (23 / 23) 100.0 % (12 / 12)
AddNewRelationTuple CBC 57273 100.0 % (19 / 19) 100.0 % (4 / 4)
AddNewRelationType CBC 44629 100.0 % (2 / 2)
CopyStatistics CBC 326 100.0 % (18 / 18) 83.3 % (5 / 6)
DeleteAttributeTuples CBC 48585 100.0 % (9 / 9) 100.0 % (2 / 2)
InsertPgAttributeTuples CBC 134155 100.0 % (62 / 62) 100.0 % (22 / 22)
InsertPgClassTuple CBC 87807 100.0 % (46 / 46) 100.0 % (4 / 4)
RelationRemoveInheritance CBC 32651 100.0 % (9 / 9) 100.0 % (2 / 2)
RelationTruncateIndexes CBC 372 100.0 % (9 / 9) 100.0 % (6 / 6)
RemoveStatistics CBC 35638 100.0 % (13 / 13) 100.0 % (4 / 4)
StorePartitionKey CBC 3237 100.0 % (46 / 46) 94.4 % (17 / 18)
StoreRelCheck GNC 1970 100.0 % (23 / 23) 90.0 % (18 / 20)
StoreRelNotNull CBC 16141 100.0 % (5 / 5) 50.0 % (1 / 2)
SystemAttributeByName CBC 220255 100.0 % (6 / 6) 100.0 % (4 / 4)
check_nested_generated CBC 1403 100.0 % (3 / 3)
check_virtual_generated_security CBC 551 100.0 % (3 / 3)
check_virtual_generated_security_walker CBC 1897 100.0 % (10 / 10) 83.3 % (10 / 12)
contains_user_functions_checker CBC 679 100.0 % (2 / 2)
heap_truncate CBC 254 100.0 % (12 / 12) 83.3 % (10 / 12)
heap_truncate_check_FKs CBC 1394 100.0 % (23 / 23) 82.4 % (28 / 34)
heap_truncate_find_FKs CBC 647 100.0 % (41 / 41) 96.2 % (25 / 26)
heap_truncate_one_rel CBC 315 100.0 % (11 / 11) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1