LCOV - differential code coverage report
Current view: top level - src/backend/commands - tablecmds.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC ECB DUB DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 91.9 % 6920 6359 66 495 7 8 1159 5185 4 29 468
Current Date: 2024-04-14 14:21:10 Functions: 99.5 % 202 201 1 81 120 17
Baseline: 16@8cea358b128 Branches: 71.4 % 5621 4013 256 10 6 1336 21 8 832 3152 2
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 93.0 % 426 396 24 6 1 376 19
(60,120] days: 93.9 % 314 295 13 6 221 74
(120,180] days: 100.0 % 8 8 5 3
(180,240] days: 95.8 % 545 522 23 514 8
(240..) days: 91.3 % 5627 5138 6 483 6 8 43 5081 4
Function coverage date bins:
[..60] days: 100.0 % 11 11 10 1
(60,120] days: 100.0 % 9 9 9
(180,240] days: 100.0 % 15 15 15
(240..) days: 99.4 % 167 166 1 47 119
Branch coverage date bins:
[..60] days: 73.5 % 359 264 92 3 258 6
(60,120] days: 68.7 % 252 173 59 20 157 16
(120,180] days: 75.0 % 4 3 1 3
(180,240] days: 81.3 % 486 395 90 1 390 5
(240..) days: 70.3 % 4522 3178 15 10 6 1311 21 8 27 3122 2

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
DropErrorMsgWrongType UBC 0 0.0 % (0 / 9) 0.0 % (0 / 14)
ATExecDropOf CBC 3 86.7 % (13 / 15) 30.0 % (3 / 10)
TryReuseForeignKey CBC 3 88.9 % (16 / 18) 45.0 % (9 / 20)
findFkeyCast CBC 6 62.5 % (5 / 8) 16.7 % (1 / 6)
ATExecAddStatistics CBC 7 100.0 % (5 / 5) 50.0 % (2 / 4)
ATExecDetachPartitionFinalize CBC 7 100.0 % (8 / 8)
RememberStatisticsForRebuilding CBC 7 100.0 % (6 / 6) 50.0 % (1 / 2)
ATExecDropCluster CBC 9 100.0 % (3 / 3)
storage_name CBC 12 50.0 % (6 / 12) 40.0 % (2 / 5)
AlterTableMoveAll CBC 15 78.5 % (51 / 65) 57.9 % (44 / 76)
ATExecDropExpression CBC 16 89.7 % (26 / 29) 45.5 % (10 / 22)
ATExecSetOptions CBC 16 88.9 % (24 / 27) 42.9 % (6 / 14)
ATExecSetTableSpaceNoStorage CBC 18 75.0 % (6 / 8) 43.8 % (7 / 16)
alter_table_type_to_string GNC 21 10.9 % (14 / 129) 9.4 % (6 / 64)
ATExecDropInherit GNC 22 88.9 % (8 / 9) 25.0 % (1 / 4)
ATExecSetAccessMethodNoStorage GNC 22 86.2 % (25 / 29) 53.3 % (16 / 30)
ATPrepDropExpression CBC 22 91.7 % (11 / 12) 68.8 % (11 / 16)
ATExecEnableDisableRule GNC 23 100.0 % (4 / 4) 100.0 % (2 / 2)
ATExecGenericOptions GNC 25 88.9 % (24 / 27) 50.0 % (6 / 12)
index_copy_data GNC 31 64.7 % (11 / 17) 30.0 % (3 / 10)
ATExecClusterOn CBC 32 87.5 % (7 / 8) 25.0 % (1 / 4)
ATExecAddOf CBC 33 98.3 % (57 / 58) 71.4 % (30 / 42)
ATExecMergePartitions GNC 33 100.0 % (38 / 38) 87.5 % (21 / 24)
ATExecSetCompression CBC 33 90.0 % (18 / 20) 30.0 % (3 / 10)
moveMergedTablesRows GNC 33 100.0 % (34 / 34) 85.7 % (12 / 14)
RenameConstraint GNC 39 95.5 % (21 / 22) 71.4 % (10 / 14)
ATExecSetExpression GNC 42 92.1 % (35 / 38) 38.9 % (7 / 18)
AlterIndexNamespaces CBC 42 100.0 % (12 / 12) 87.5 % (7 / 8)
AlterSeqNamespaces CBC 42 90.9 % (20 / 22) 62.5 % (10 / 16)
AlterTableNamespaceInternal CBC 42 100.0 % (11 / 11) 75.0 % (3 / 4)
constraints_equivalent CBC 42 100.0 % (9 / 9) 66.7 % (4 / 6)
rename_constraint_internal GNC 42 95.1 % (39 / 41) 75.0 % (42 / 56)
ATPrepChangePersistence CBC 44 91.2 % (31 / 34) 73.7 % (28 / 38)
verifyPartitionIndexNotNull GNC 49 100.0 % (6 / 6) 83.3 % (5 / 6)
TryReuseIndex GNC 51 100.0 % (13 / 13) 75.0 % (3 / 4)
AlterTableNamespace CBC 52 100.0 % (23 / 23) 71.4 % (10 / 14)
ATExecCookedColumnDefault CBC 55 100.0 % (5 / 5)
ATPrepSetAccessMethod GNC 55 100.0 % (11 / 11) 100.0 % (6 / 6)
ATExecForceNoForceRowSecurity GNC 57 91.7 % (11 / 12) 50.0 % (3 / 6)
moveSplitTableRows GNC 57 98.6 % (71 / 72) 79.3 % (46 / 58)
ATExecSplitPartition GNC 60 100.0 % (41 / 41) 80.6 % (29 / 36)
ATExecAlterConstraint CBC 63 92.7 % (38 / 41) 55.9 % (19 / 34)
DetachAddConstraintIfNeeded GNC 70 100.0 % (16 / 16) 100.0 % (2 / 2)
MarkInheritDetached CBC 73 95.2 % (20 / 21) 64.3 % (9 / 14)
ATExecAddIdentity GNC 74 91.2 % (31 / 34) 65.9 % (29 / 44)
GetForeignKeyActionTriggers CBC 75 83.3 % (20 / 24) 54.2 % (13 / 24)
ATPrepSetTableSpace CBC 79 80.0 % (8 / 10) 50.0 % (5 / 10)
ATExecSetTableSpace CBC 81 100.0 % (31 / 31) 87.5 % (21 / 24)
ATExecAlterColumnGenericOptions GNC 82 89.7 % (35 / 39) 50.0 % (10 / 20)
ATExecSetStatistics GNC 82 89.4 % (42 / 47) 61.5 % (32 / 52)
register_on_commit_action CBC 83 100.0 % (11 / 11) 75.0 % (3 / 4)
decompile_conbin CBC 84 85.7 % (6 / 7) 25.0 % (1 / 4)
check_of_type CBC 85 100.0 % (11 / 11) 62.5 % (5 / 8)
ATExecAlterConstrRecurse CBC 90 100.0 % (47 / 47) 88.5 % (23 / 26)
tryAttachPartitionForeignKey CBC 90 86.5 % (45 / 52) 60.4 % (29 / 48)
AlterRelationNamespaceInternal GNC 91 87.5 % (21 / 24) 45.8 % (11 / 24)
ATTypedTableRecursion CBC 95 100.0 % (11 / 11) 87.5 % (7 / 8)
SetRelationTableSpace CBC 102 94.4 % (17 / 18) 75.0 % (15 / 20)
find_typed_table_dependencies CBC 107 100.0 % (13 / 13) 83.3 % (5 / 6)
RememberIndexForRebuilding CBC 116 100.0 % (11 / 11) 100.0 % (4 / 4)
ATExecSetStorage CBC 117 94.4 % (17 / 18) 50.0 % (5 / 10)
GetAttributeStorage CBC 121 93.8 % (15 / 16) 77.8 % (14 / 18)
ATInheritAdjustNotNulls GNC 134 100.0 % (13 / 13) 100.0 % (6 / 6)
MergeChildAttribute GNC 134 97.3 % (36 / 37) 76.0 % (38 / 50)
AlterTableInternal CBC 139 100.0 % (6 / 6)
SetIndexStorageProperties CBC 141 100.0 % (24 / 24) 90.0 % (18 / 20)
ATExecSetRowSecurity GNC 144 91.7 % (11 / 12) 50.0 % (3 / 6)
MergeInheritedAttribute GNC 148 84.6 % (22 / 26) 50.0 % (16 / 32)
renameatt CBC 152 100.0 % (12 / 12) 75.0 % (3 / 4)
ATExecAddInherit GNC 154 88.9 % (24 / 27) 61.8 % (21 / 34)
validatePartitionedIndex CBC 162 95.0 % (38 / 40) 63.6 % (14 / 22)
ATPrepAddInherit CBC 163 100.0 % (8 / 8) 75.0 % (9 / 12)
ATExecEnableDisableTrigger GNC 170 100.0 % (4 / 4) 100.0 % (2 / 2)
refuseDupeIndexAttach CBC 174 100.0 % (5 / 5) 75.0 % (3 / 4)
ATExecAttachPartitionIdx GNC 186 96.1 % (49 / 51) 73.5 % (25 / 34)
RangeVarCallbackForRenameAttribute CBC 198 100.0 % (7 / 7) 100.0 % (2 / 2)
relation_mark_replica_identity CBC 200 93.9 % (31 / 33) 73.1 % (19 / 26)
createSplitPartitionContext GNC 201 100.0 % (7 / 7)
deleteSplitPartitionContext GNC 201 100.0 % (6 / 6)
RangeVarCallbackForAttachIndex CBC 203 85.0 % (17 / 20) 81.2 % (13 / 16)
ResetRelRewrite CBC 206 90.9 % (10 / 11) 25.0 % (1 / 4)
createPartitionTable GNC 210 100.0 % (23 / 23)
CheckRelationTableSpaceMove CBC 215 83.3 % (10 / 12) 73.3 % (22 / 30)
RebuildConstraintComment GNC 215 100.0 % (17 / 17) 100.0 % (4 / 4)
RememberClusterOnForRebuilding CBC 217 83.3 % (5 / 6) 50.0 % (3 / 6)
RememberReplicaIdentityForRebuilding CBC 217 83.3 % (5 / 6) 50.0 % (3 / 6)
ATExecValidateConstraint CBC 218 95.1 % (58 / 61) 67.6 % (23 / 34)
change_owner_fix_column_acls CBC 219 59.1 % (13 / 22) 66.7 % (4 / 6)
change_owner_recurse_to_sequences CBC 219 100.0 % (21 / 21) 71.4 % (10 / 14)
ATExecReplicaIdentity CBC 224 91.9 % (34 / 37) 66.7 % (32 / 48)
ATDetachCheckNoForeignKeyRefs CBC 236 96.0 % (24 / 25) 64.3 % (9 / 14)
RenameRelation CBC 255 100.0 % (17 / 17) 92.9 % (13 / 14)
ATExecDetachPartition CBC 258 90.2 % (37 / 41) 54.2 % (13 / 24)
RememberConstraintForRebuilding CBC 268 100.0 % (10 / 10) 100.0 % (4 / 4)
renameatt_internal CBC 270 97.3 % (36 / 37) 78.3 % (36 / 46)
ATExecColumnDefault CBC 283 95.2 % (20 / 21) 62.5 % (15 / 24)
GetForeignKeyCheckTriggers CBC 308 87.5 % (21 / 24) 58.3 % (14 / 24)
ATPostAlterTypeParse GNC 328 96.5 % (83 / 86) 76.8 % (43 / 56)
DetachPartitionFinalize GNC 345 97.9 % (93 / 95) 81.8 % (54 / 66)
DropClonedTriggersFromPartition CBC 345 100.0 % (21 / 21) 100.0 % (6 / 6)
drop_parent_dependency CBC 385 100.0 % (16 / 16) 80.0 % (8 / 10)
RemoveInheritance GNC 391 98.6 % (72 / 73) 85.0 % (51 / 60)
ATColumnChangeRequiresRewrite CBC 455 81.8 % (18 / 22) 72.2 % (13 / 18)
ATExecSetRelOptions CBC 467 88.5 % (69 / 78) 69.8 % (37 / 53)
ATExecDropConstraint GNC 470 100.0 % (18 / 18) 80.0 % (8 / 10)
ATExecAlterColumnType GNC 472 92.5 % (99 / 107) 50.0 % (30 / 60)
ATCheckPartitionsNotInUse CBC 473 100.0 % (9 / 9) 87.5 % (7 / 8)
ATPostAlterTypeCleanup GNC 478 96.7 % (58 / 60) 83.9 % (52 / 62)
renameatt_check CBC 489 77.8 % (14 / 18) 65.6 % (21 / 32)
RangeVarCallbackMaintainsTable GNC 495 92.9 % (13 / 14) 87.5 % (14 / 16)
RememberAllDependentForRebuilding GNC 505 77.4 % (41 / 53) 50.0 % (25 / 50)
transformFkeyGetPrimaryKey GNC 535 90.9 % (30 / 33) 45.8 % (11 / 24)
DropErrorMsgNonExistent CBC 538 92.9 % (13 / 14) 63.6 % (14 / 22)
validateForeignKeyConstraint GNC 542 100.0 % (38 / 38) 70.0 % (14 / 20)
ATPrepAlterColumnType CBC 559 95.1 % (78 / 82) 71.9 % (69 / 96)
GetParentedForeignKeyRefs CBC 581 94.1 % (16 / 17) 87.5 % (7 / 8)
transformFkeyCheckAttrs GNC 630 91.7 % (44 / 48) 77.6 % (45 / 58)
dropconstraint_internal GNC 643 92.4 % (133 / 144) 70.0 % (105 / 150)
RenameRelationInternal CBC 665 96.0 % (24 / 25) 75.0 % (21 / 28)
NotNullImpliedByRelConstraints CBC 666 100.0 % (11 / 11) 100.0 % (4 / 4)
ExecuteTruncateGuts GNC 691 97.7 % (128 / 131) 80.6 % (100 / 124)
ExecuteTruncate CBC 696 100.0 % (41 / 41) 68.3 % (41 / 60)
ATExecAddIndex CBC 717 100.0 % (15 / 15) 75.0 % (9 / 12)
ATPrepDropColumn CBC 805 100.0 % (8 / 8) 90.0 % (9 / 10)
RangeVarCallbackForTruncate CBC 917 77.8 % (7 / 9) 33.3 % (2 / 6)
truncate_check_perms CBC 962 100.0 % (6 / 6) 100.0 % (2 / 2)
ATExecChangeOwner CBC 989 83.1 % (69 / 83) 63.3 % (50 / 79)
ATPrepAddColumn CBC 990 100.0 % (8 / 8) 91.7 % (11 / 12)
ATAddCheckNNConstraint GNC 992 100.0 % (44 / 44) 92.9 % (39 / 42)
ChooseForeignKeyConstraintNameAddition CBC 1021 91.7 % (11 / 12) 80.0 % (8 / 10)
ATExecDropColumn CBC 1077 96.6 % (56 / 58) 75.0 % (45 / 60)
ATExecAttachPartition GNC 1088 97.4 % (75 / 77) 76.9 % (60 / 78)
checkFkeyPermissions CBC 1129 50.0 % (5 / 10) 16.7 % (1 / 6)
AttachPartitionEnsureIndexes GNC 1187 97.2 % (69 / 71) 94.0 % (47 / 50)
validateFkOnDeleteSetColumns CBC 1195 100.0 % (12 / 12) 90.0 % (9 / 10)
QueuePartitionConstraintValidation CBC 1202 100.0 % (18 / 18) 93.8 % (15 / 16)
attachPartitionTable GNC 1223 100.0 % (7 / 7)
ATAddForeignKeyConstraint GNC 1232 89.7 % (131 / 146) 61.5 % (128 / 208)
ATExecAddColumn GNC 1293 95.0 % (113 / 119) 70.0 % (70 / 100)
MergeConstraintsIntoExisting GNC 1320 93.3 % (56 / 60) 72.4 % (42 / 58)
addFkRecurseReferenced CBC 1348 96.0 % (48 / 50) 76.9 % (20 / 26)
MergeAttributesIntoExisting GNC 1359 97.4 % (38 / 39) 80.0 % (40 / 50)
addFkRecurseReferencing GNC 1373 93.4 % (57 / 61) 81.2 % (26 / 32)
createForeignKeyCheckTriggers CBC 1373 100.0 % (4 / 4)
createForeignKeyActionTriggers GNC 1381 95.6 % (87 / 91) 70.0 % (14 / 20)
CloneRowTriggersToPartition CBC 1382 96.7 % (58 / 60) 75.0 % (21 / 28)
check_for_column_name_collision CBC 1488 100.0 % (12 / 12) 75.0 % (9 / 12)
PartConstraintImpliedByRelConstraint CBC 1517 100.0 % (15 / 15) 90.0 % (9 / 10)
add_column_collation_dependency CBC 1651 100.0 % (10 / 10) 100.0 % (4 / 4)
add_column_datatype_dependency CBC 1651 100.0 % (9 / 9)
truncate_check_activity CBC 1723 80.0 % (4 / 5) 50.0 % (3 / 6)
truncate_check_rel CBC 1826 93.3 % (14 / 15) 70.8 % (17 / 24)
ATExecAddConstraint GNC 1920 85.7 % (18 / 21) 46.2 % (6 / 13)
find_composite_type_dependencies CBC 1928 90.2 % (37 / 41) 60.4 % (29 / 48)
ConstraintImpliedByRelConstraint CBC 2183 100.0 % (13 / 13) 100.0 % (6 / 6)
ComputePartitionAttrs CBC 2408 92.5 % (62 / 67) 71.1 % (54 / 76)
transformPartitionSpec CBC 2423 100.0 % (19 / 19) 85.7 % (12 / 14)
ATRewriteTable GNC 2662 96.9 % (127 / 131) 87.5 % (112 / 128)
CreateFKCheckTrigger CBC 2746 100.0 % (23 / 23) 100.0 % (2 / 2)
transformColumnNameList CBC 3080 94.4 % (17 / 18) 75.0 % (15 / 20)
ATExecAddIndexConstraint CBC 4107 96.7 % (29 / 30) 64.3 % (18 / 28)
ATPrepAddPrimaryKey GNC 4616 97.1 % (34 / 35) 82.1 % (23 / 28)
CloneFkReferenced GNC 5081 96.7 % (59 / 61) 76.9 % (20 / 26)
CloneFkReferencing GNC 5081 97.6 % (81 / 83) 83.3 % (35 / 42)
CloneForeignKeyConstraints CBC 5081 100.0 % (5 / 5) 50.0 % (1 / 2)
StoreCatalogInheritance1 CBC 6187 100.0 % (12 / 12) 75.0 % (3 / 4)
ATExecSetAttNotNull GNC 7120 100.0 % (8 / 8) 83.3 % (5 / 6)
RangeVarCallbackOwnsRelation CBC 7498 92.3 % (12 / 13) 71.4 % (10 / 14)
ATSimpleRecursion CBC 7678 100.0 % (13 / 13) 91.7 % (11 / 12)
SetRelationHasSubclass CBC 7827 92.3 % (12 / 13) 50.0 % (3 / 6)
RemoveRelations CBC 8043 95.0 % (57 / 60) 74.5 % (35 / 47)
ATParseTransformCmd GNC 9634 85.7 % (48 / 56) 70.6 % (24 / 34)
AtEOSubXact_on_commit_actions CBC 9927 27.3 % (3 / 11) 12.5 % (2 / 16)
RangeVarCallbackForDropRelation CBC 10039 69.8 % (37 / 53) 72.0 % (36 / 50)
set_attnotnull GNC 11554 96.3 % (26 / 27) 83.3 % (15 / 18)
ATRewriteTables GNC 15677 95.8 % (68 / 71) 82.8 % (96 / 116)
ATRewriteCatalogs GNC 16992 100.0 % (24 / 24) 88.9 % (32 / 36)
AlterTable CBC 16998 100.0 % (5 / 5)
AlterTableLookupRelation CBC 17109 100.0 % (3 / 3)
ATController CBC 17128 100.0 % (9 / 9) 83.3 % (5 / 6)
AlterTableGetLockLevel GNC 17248 97.7 % (84 / 86) 87.2 % (34 / 39)
RangeVarCallbackForAlterRelation CBC 17844 73.3 % (33 / 45) 58.5 % (48 / 82)
ATPrepCmd GNC 18412 95.0 % (226 / 238) 82.1 % (78 / 95)
ATSimplePermissions CBC 19752 87.5 % (35 / 40) 68.0 % (17 / 25)
remove_on_commit_action CBC 21039 100.0 % (7 / 7) 100.0 % (8 / 8)
ATGetQueueEntry GNC 21562 100.0 % (18 / 18) 100.0 % (8 / 8)
StoreCatalogInheritance CBC 25908 100.0 % (11 / 11) 80.0 % (8 / 10)
DefineRelation GNC 26364 97.6 % (166 / 170) 83.7 % (123 / 147)
BuildDescForRelation GNC 27517 95.6 % (43 / 45) 72.7 % (16 / 22)
ATExecCmd GNC 28522 94.8 % (237 / 250) 85.3 % (87 / 102)
CheckTableNotInUse CBC 68070 100.0 % (9 / 9) 85.7 % (12 / 14)
GetAttributeCompression GNC 107084 100.0 % (9 / 9) 83.3 % (10 / 12)
PreCommit_on_commit_actions CBC 408922 94.4 % (34 / 36) 83.3 % (30 / 36)
AtEOXact_on_commit_actions CBC 431482 100.0 % (10 / 10) 100.0 % (10 / 10)

Generated by: LCOV version 2.1-beta2-3-g6141622