LCOV - differential code coverage report
Current view: top level - src/backend/commands - tablecmds.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GIC GNC CBC EUB ECB DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 92.3 % 7301 6738 20 543 1 420 6317 60
Current Date: 2025-12-18 07:33:40 +0900 Functions: 99.5 % 220 219 1 42 177 1
Baseline: lcov-20251218-005734-baseline Branches: 71.7 % 6122 4389 85 5 1643 5 1 233 4150 1 1
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 95.1 % 409 389 20 389
(7,30] days: 100.0 % 19 19 19
(30,360] days: 97.6 % 665 649 16 11 638
(360..) days: 91.5 % 6208 5681 527 1 1 5679
Function coverage date bins:
(1,7] days: 100.0 % 13 13 13
(30,360] days: 100.0 % 20 20 4 16
(360..) days: 99.5 % 187 186 1 25 161
Branch coverage date bins:
(1,7] days: 73.4 % 286 210 76 210
(30,360] days: 78.4 % 662 519 9 134 1 23 495
(360..) days: 70.7 % 5176 3660 5 1509 4 1 3655 1 1

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
ATAddForeignKeyConstraint CBC 1348 92.3 % (144 / 156) 64.7 % (145 / 224)
MergeAttributes GNC 30633 93.5 % (158 / 169) 77.6 % (180 / 232)
alter_table_type_to_string GNC 43 20.5 % (26 / 127) 19.0 % (12 / 63)
RememberAllDependentForRebuilding CBC 643 67.2 % (41 / 61) 41.7 % (25 / 60)
RangeVarCallbackForAlterRelation CBC 17489 73.3 % (33 / 45) 58.5 % (48 / 82)
ATExecAddColumn GNC 1466 95.5 % (127 / 133) 70.5 % (79 / 112)
ATExecAlterColumnType CBC 594 91.6 % (98 / 107) 46.7 % (28 / 60)
AlterTableMoveAll CBC 15 78.5 % (51 / 65) 57.9 % (44 / 76)
ATExecChangeOwner CBC 1141 83.1 % (69 / 83) 63.3 % (50 / 79)
ATPrepAlterColumnType GNC 711 96.6 % (85 / 88) 75.5 % (83 / 110)
dropconstraint_internal CBC 603 88.3 % (83 / 94) 67.9 % (57 / 84)
DefineRelation GNC 30735 97.7 % (167 / 171) 83.7 % (128 / 153)
ExecuteTruncateGuts CBC 856 97.7 % (128 / 131) 80.6 % (100 / 124)
ATExecSetStatistics GNC 82 87.8 % (43 / 49) 58.9 % (33 / 56)
ComputePartitionAttrs CBC 2757 92.9 % (65 / 70) 69.7 % (53 / 76)
ATRewriteTable GNC 3051 97.3 % (145 / 149) 86.3 % (126 / 146)
ATRewriteTables CBC 15058 95.8 % (68 / 71) 82.8 % (96 / 116)
ExecuteTruncate CBC 865 100.0 % (41 / 41) 68.3 % (41 / 60)
find_composite_type_dependencies CBC 2394 90.2 % (37 / 41) 60.4 % (29 / 48)
ATExecAddIdentity CBC 83 92.7 % (38 / 41) 66.7 % (36 / 54)
ATExecAttachPartition GNC 1262 97.3 % (73 / 75) 76.9 % (60 / 78)
ATExecSetIdentity CBC 37 89.7 % (35 / 39) 66.7 % (36 / 54)
ATExecReplicaIdentity CBC 256 92.1 % (35 / 38) 67.3 % (35 / 52)
MergeConstraintsIntoExisting CBC 1646 95.3 % (61 / 64) 75.0 % (51 / 68)
ATExecSetRelOptions CBC 480 90.2 % (74 / 82) 69.8 % (37 / 53)
ATPostAlterTypeParse GNC 441 95.4 % (83 / 87) 72.4 % (42 / 58)
MergeInheritedAttribute CBC 185 84.6 % (22 / 26) 52.9 % (18 / 34)
ATExecCmd GNC 30545 94.8 % (236 / 249) 85.1 % (86 / 101)
ATExecDropColumn CBC 1122 96.6 % (56 / 58) 75.0 % (45 / 60)
ATPrepCmd GNC 17902 95.0 % (209 / 220) 82.6 % (71 / 86)
createTableConstraints GNC 324 94.4 % (68 / 72) 67.4 % (31 / 46)
ATExecAlterConstraint CBC 147 95.5 % (42 / 44) 72.0 % (36 / 50)
ATExecSetAccessMethodNoStorage CBC 22 86.2 % (25 / 29) 53.3 % (16 / 30)
ATExecSetExpression GNC 112 93.9 % (46 / 49) 65.0 % (26 / 40)
ATExecSetNotNull CBC 356 93.3 % (56 / 60) 75.0 % (42 / 56)
AtEOSubXact_on_commit_actions CBC 9117 27.3 % (3 / 11) 12.5 % (2 / 16)
DetachPartitionFinalize CBC 520 98.2 % (110 / 112) 82.5 % (66 / 80)
DropErrorMsgWrongType UBC 0 0.0 % (0 / 9) 0.0 % (0 / 14)
RangeVarCallbackForDropRelation CBC 11333 69.8 % (37 / 53) 72.0 % (36 / 50)
tryAttachPartitionForeignKey CBC 138 81.8 % (27 / 33) 61.1 % (22 / 36)
ATExecAddInherit GNC 222 87.5 % (21 / 24) 61.8 % (21 / 34)
ATExecDropExpression CBC 28 90.3 % (28 / 31) 50.0 % (13 / 26)
ATExecDropIdentity CBC 46 95.2 % (40 / 42) 69.0 % (29 / 42)
AlterRelationNamespaceInternal CBC 94 89.3 % (25 / 28) 45.8 % (11 / 24)
AttachPartitionForeignKey CBC 81 92.1 % (35 / 38) 56.7 % (17 / 30)
MergeAttributesIntoExisting CBC 1712 97.5 % (39 / 40) 79.0 % (49 / 62)
MergeChildAttribute CBC 190 97.4 % (38 / 39) 79.0 % (49 / 62)
rename_constraint_internal CBC 45 95.1 % (39 / 41) 76.8 % (43 / 56)
transformFkeyCheckAttrs CBC 647 91.7 % (44 / 48) 77.6 % (45 / 58)
transformFkeyGetPrimaryKey CBC 634 91.2 % (31 / 34) 45.8 % (11 / 24)
ATExecAddOf CBC 33 98.3 % (57 / 58) 71.4 % (30 / 42)
ATExecDropNotNull CBC 134 83.9 % (26 / 31) 53.8 % (14 / 26)
RemoveRelations CBC 9024 95.0 % (57 / 60) 74.5 % (35 / 47)
SplitPartitionMoveRows GNC 93 98.5 % (66 / 67) 76.9 % (40 / 52)
ATExecDetachPartition GNC 292 90.5 % (38 / 42) 54.2 % (13 / 24)
RemoveInheritance CBC 591 97.5 % (79 / 81) 83.8 % (57 / 68)
TryReuseForeignKey CBC 3 88.9 % (16 / 18) 45.0 % (9 / 20)
renameatt_check CBC 500 77.8 % (14 / 18) 65.6 % (21 / 32)
ATExecAddIndexConstraint CBC 5430 96.7 % (29 / 30) 64.3 % (18 / 28)
ATExecAlterColumnGenericOptions GNC 86 89.7 % (35 / 39) 50.0 % (10 / 20)
ATParseTransformCmd CBC 12133 84.9 % (45 / 53) 70.6 % (24 / 34)
ATPrepChangePersistence CBC 50 92.1 % (35 / 38) 75.0 % (30 / 40)
GetForeignKeyActionTriggers CBC 129 87.5 % (21 / 24) 58.3 % (14 / 24)
GetForeignKeyCheckTriggers CBC 437 87.5 % (21 / 24) 58.3 % (14 / 24)
renameatt_internal CBC 276 97.3 % (36 / 37) 78.3 % (36 / 46)
ATExecAttachPartitionIdx CBC 192 96.1 % (49 / 51) 73.5 % (25 / 34)
ATExecSetTableSpaceNoStorage CBC 18 75.0 % (6 / 8) 43.8 % (7 / 16)
ATPostAlterTypeCleanup CBC 649 96.8 % (61 / 63) 85.9 % (55 / 64)
DropForeignKeyConstraintTriggers CBC 117 94.7 % (18 / 19) 75.0 % (27 / 36)
QueueNNConstraintValidation CBC 56 94.1 % (32 / 34) 65.4 % (17 / 26)
ATExecAlterConstrInheritability CBC 30 92.9 % (26 / 28) 63.6 % (14 / 22)
ATExecColumnDefault GNC 292 95.0 % (19 / 20) 66.7 % (16 / 24)
ATExecMergePartitions GNC 90 100.0 % (47 / 47) 80.0 % (32 / 40)
ATExecSetOptions CBC 16 88.9 % (24 / 27) 42.9 % (6 / 14)
ATExecValidateConstraint CBC 295 92.6 % (25 / 27) 66.7 % (16 / 24)
CheckRelationTableSpaceMove CBC 218 83.3 % (10 / 12) 73.3 % (22 / 30)
CloneFkReferencing CBC 5774 97.2 % (70 / 72) 82.6 % (38 / 46)
DropErrorMsgNonExistent CBC 564 92.9 % (13 / 14) 63.6 % (14 / 22)
addFkRecurseReferencing GNC 1495 97.8 % (45 / 46) 78.9 % (30 / 38)
createForeignKeyActionTriggers CBC 1743 95.6 % (87 / 91) 60.0 % (12 / 20)
createPartitionTable GNC 339 92.0 % (23 / 25) 66.7 % (16 / 24)
evaluateGeneratedExpressionsAndCheckConstraints GNC 509 68.4 % (13 / 19) 65.2 % (15 / 23)
validatePartitionedIndex CBC 165 95.0 % (38 / 40) 63.6 % (14 / 22)
ATExecAddConstraint CBC 6554 85.7 % (18 / 21) 46.2 % (6 / 13)
ATExecDropOf CBC 3 86.7 % (13 / 15) 30.0 % (3 / 10)
ATExecSetCompression CBC 39 90.0 % (18 / 20) 30.0 % (3 / 10)
ATExecSplitPartition GNC 99 100.0 % (44 / 44) 80.6 % (29 / 36)
ATSimplePermissions CBC 19711 95.3 % (41 / 43) 73.1 % (19 / 26)
MergeCheckConstraint CBC 353 90.9 % (20 / 22) 68.2 % (15 / 22)
RenameRelationInternal CBC 872 96.3 % (26 / 27) 75.0 % (21 / 28)
index_copy_data CBC 31 64.7 % (11 / 17) 30.0 % (3 / 10)
relation_mark_replica_identity CBC 232 93.9 % (31 / 33) 73.1 % (19 / 26)
truncate_check_rel GNC 2009 93.8 % (15 / 16) 73.1 % (19 / 26)
ATExecGenericOptions GNC 29 88.9 % (24 / 27) 50.0 % (6 / 12)
AlterSeqNamespaces CBC 43 90.9 % (20 / 22) 62.5 % (10 / 16)
BuildDescForRelation CBC 32346 93.9 % (31 / 33) 70.0 % (14 / 20)
CloneFkReferenced CBC 5765 96.9 % (62 / 64) 75.0 % (18 / 24)
CloneRowTriggersToPartition CBC 1676 96.7 % (59 / 61) 76.9 % (20 / 26)
MergePartitionsMoveRows GNC 69 100.0 % (49 / 49) 76.9 % (20 / 26)
PreCommit_on_commit_actions CBC 304665 94.4 % (34 / 36) 83.3 % (30 / 36)
set_attnotnull CBC 12978 91.7 % (22 / 24) 66.7 % (12 / 18)
validateForeignKeyConstraint CBC 589 100.0 % (38 / 38) 70.0 % (14 / 20)
ATColumnChangeRequiresRewrite CBC 571 81.8 % (18 / 22) 72.2 % (13 / 18)
ATDetachCheckNoForeignKeyRefs CBC 270 96.0 % (24 / 25) 64.3 % (9 / 14)
ATExecAlterConstrDeferrability CBC 81 100.0 % (19 / 19) 68.8 % (11 / 16)
ATExecSetStorage CBC 130 94.4 % (17 / 18) 50.0 % (5 / 10)
ATPrepDropExpression CBC 43 91.7 % (11 / 12) 68.8 % (11 / 16)
ATPrepSetTableSpace CBC 82 80.0 % (8 / 10) 50.0 % (5 / 10)
AlterTableGetLockLevel GNC 16965 97.6 % (81 / 83) 86.8 % (33 / 38)
MarkInheritDetached GNC 73 95.5 % (21 / 22) 64.3 % (9 / 14)
QueueCheckConstraintValidation GNC 63 97.1 % (33 / 34) 75.0 % (15 / 20)
SetRelationTableSpace CBC 102 95.0 % (19 / 20) 75.0 % (15 / 20)
addFkRecurseReferenced GNC 1746 96.3 % (26 / 27) 75.0 % (15 / 20)
checkFkeyPermissions CBC 1245 50.0 % (5 / 10) 16.7 % (1 / 6)
findFkeyCast CBC 6 62.5 % (5 / 8) 16.7 % (1 / 6)
transformColumnNameList CBC 3329 95.0 % (19 / 20) 77.3 % (17 / 22)
verifyNotNullPKCompatible CBC 278 88.9 % (8 / 9) 58.3 % (7 / 12)
ATExecAlterConstrEnforceability GNC 90 100.0 % (46 / 46) 84.6 % (22 / 26)
ATRewriteCatalogs CBC 16631 100.0 % (24 / 24) 88.9 % (32 / 36)
AlterTableNamespace CBC 52 100.0 % (23 / 23) 71.4 % (10 / 14)
AttachPartitionEnsureIndexes GNC 1454 95.4 % (62 / 65) 91.7 % (44 / 48)
GetAttributeStorage CBC 152 93.8 % (15 / 16) 77.8 % (14 / 18)
RangeVarCallbackForTruncate CBC 1064 77.8 % (7 / 9) 33.3 % (2 / 6)
RangeVarCallbackOwnsRelation CBC 8506 92.3 % (12 / 13) 71.4 % (10 / 14)
RenameConstraint CBC 42 95.5 % (21 / 22) 71.4 % (10 / 14)
SetRelationHasSubclass CBC 8988 92.9 % (13 / 14) 60.0 % (6 / 10)
addFkConstraint CBC 2113 97.3 % (36 / 37) 77.8 % (14 / 18)
buildExpressionExecutionStates GNC 324 69.2 % (9 / 13) 76.5 % (13 / 17)
ATAddCheckNNConstraint GNC 5659 100.0 % (43 / 43) 92.9 % (39 / 42)
ATExecAddIndex CBC 821 100.0 % (15 / 15) 75.0 % (9 / 12)
ATExecClusterOn CBC 32 87.5 % (7 / 8) 25.0 % (1 / 4)
ATExecDropInherit CBC 47 87.5 % (7 / 8) 25.0 % (1 / 4)
ATExecForceNoForceRowSecurity CBC 66 91.7 % (11 / 12) 50.0 % (3 / 6)
ATExecSetRowSecurity CBC 174 91.7 % (11 / 12) 50.0 % (3 / 6)
ATExecSetTableSpace CBC 84 100.0 % (31 / 31) 87.5 % (21 / 24)
ATPrepAddInherit CBC 231 100.0 % (8 / 8) 75.0 % (9 / 12)
ATPrepAddPrimaryKey CBC 8201 100.0 % (27 / 27) 87.5 % (21 / 24)
CheckAlterTableIsSafe CBC 31708 80.0 % (4 / 5) 50.0 % (3 / 6)
QueueFKConstraintValidation GNC 203 100.0 % (36 / 36) 83.3 % (15 / 18)
RangeVarCallbackForAttachIndex CBC 206 85.0 % (17 / 20) 81.2 % (13 / 16)
RememberClusterOnForRebuilding CBC 228 83.3 % (5 / 6) 50.0 % (3 / 6)
RememberReplicaIdentityForRebuilding CBC 228 83.3 % (5 / 6) 50.0 % (3 / 6)
ResetRelRewrite CBC 299 90.9 % (10 / 11) 25.0 % (1 / 4)
check_for_column_name_collision CBC 1655 100.0 % (12 / 12) 75.0 % (9 / 12)
check_of_type CBC 91 100.0 % (12 / 12) 70.0 % (7 / 10)
decompile_conbin CBC 194 85.7 % (6 / 7) 25.0 % (1 / 4)
deleteSplitPartitionContext GNC 255 100.0 % (11 / 11) 62.5 % (5 / 8)
storage_name CBC 12 50.0 % (6 / 12) 40.0 % (2 / 5)
truncate_check_activity CBC 1924 80.0 % (4 / 5) 50.0 % (3 / 6)
verifyPartitionIndexNotNull CBC 48 85.7 % (6 / 7) 50.0 % (3 / 6)
ATExecAddStatistics CBC 37 100.0 % (5 / 5) 50.0 % (2 / 4)
ATExecAlterConstraintInternal CBC 117 100.0 % (16 / 16) 88.9 % (16 / 18)
ATExecDropConstraint CBC 406 100.0 % (17 / 17) 80.0 % (8 / 10)
AlterConstrUpdateConstraintEntry CBC 198 100.0 % (17 / 17) 85.7 % (12 / 14)
CheckTableNotInUse CBC 86644 100.0 % (9 / 9) 85.7 % (12 / 14)
ChooseForeignKeyConstraintNameAddition CBC 742 91.7 % (11 / 12) 80.0 % (8 / 10)
CreateInheritance CBC 1715 100.0 % (18 / 18) 75.0 % (6 / 8)
GetAttributeCompression CBC 134610 100.0 % (9 / 9) 83.3 % (10 / 12)
RangeVarCallbackMaintainsTable CBC 504 92.9 % (13 / 14) 87.5 % (14 / 16)
SetIndexStorageProperties CBC 160 100.0 % (24 / 24) 90.0 % (18 / 20)
StoreCatalogInheritance CBC 30183 100.0 % (11 / 11) 80.0 % (8 / 10)
change_owner_recurse_to_sequences CBC 267 100.0 % (21 / 21) 85.7 % (12 / 14)
constraints_equivalent CBC 97 100.0 % (9 / 9) 66.7 % (4 / 6)
drop_parent_dependency CBC 585 100.0 % (16 / 16) 80.0 % (8 / 10)
transformPartitionSpec CBC 2772 100.0 % (19 / 19) 85.7 % (12 / 14)
validateFkOnDeleteSetColumns CBC 1311 100.0 % (20 / 20) 87.5 % (14 / 16)
ATCheckPartitionsNotInUse CBC 409 100.0 % (9 / 9) 87.5 % (7 / 8)
ATController CBC 16837 100.0 % (9 / 9) 83.3 % (5 / 6)
ATPrepAddColumn CBC 1106 100.0 % (8 / 8) 91.7 % (11 / 12)
ATPrepDropColumn CBC 847 100.0 % (8 / 8) 90.0 % (9 / 10)
ATSimpleRecursion CBC 677 100.0 % (13 / 13) 91.7 % (11 / 12)
ATTypedTableRecursion CBC 96 100.0 % (11 / 11) 87.5 % (7 / 8)
AlterConstrTriggerDeferrability CBC 81 100.0 % (21 / 21) 92.9 % (13 / 14)
AlterIndexNamespaces CBC 43 100.0 % (12 / 12) 87.5 % (7 / 8)
AlterTableNamespaceInternal CBC 43 100.0 % (11 / 11) 75.0 % (3 / 4)
CloneForeignKeyConstraints CBC 5774 100.0 % (5 / 5) 50.0 % (1 / 2)
ConstraintImpliedByRelConstraint CBC 2233 100.0 % (14 / 14) 87.5 % (7 / 8)
GetParentedForeignKeyRefs CBC 790 94.1 % (16 / 17) 87.5 % (7 / 8)
PartConstraintImpliedByRelConstraint CBC 1610 100.0 % (16 / 16) 90.0 % (9 / 10)
QueuePartitionConstraintValidation CBC 1365 100.0 % (18 / 18) 93.8 % (15 / 16)
RememberStatisticsForRebuilding CBC 37 100.0 % (6 / 6) 50.0 % (1 / 2)
RemoveInheritedConstraint CBC 18 100.0 % (22 / 22) 87.5 % (7 / 8)
RenameRelation CBC 256 100.0 % (17 / 17) 92.9 % (13 / 14)
StoreCatalogInheritance1 CBC 7121 100.0 % (12 / 12) 75.0 % (3 / 4)
TryReuseIndex CBC 52 100.0 % (13 / 13) 75.0 % (3 / 4)
change_owner_fix_column_acls CBC 267 100.0 % (22 / 22) 83.3 % (5 / 6)
find_typed_table_dependencies CBC 108 100.0 % (13 / 13) 83.3 % (5 / 6)
getAttributesList GNC 339 94.7 % (18 / 19) 83.3 % (5 / 6)
refuseDupeIndexAttach CBC 174 100.0 % (5 / 5) 75.0 % (3 / 4)
register_on_commit_action GNC 91 100.0 % (11 / 11) 75.0 % (3 / 4)
renameatt CBC 158 100.0 % (12 / 12) 75.0 % (3 / 4)
ATExecEnableDisableRule CBC 23 100.0 % (4 / 4) 100.0 % (2 / 2)
ATExecEnableDisableTrigger CBC 171 100.0 % (4 / 4) 100.0 % (2 / 2)
ATGetQueueEntry GNC 22224 100.0 % (18 / 18) 100.0 % (8 / 8)
ATPrepSetAccessMethod CBC 55 100.0 % (11 / 11) 100.0 % (6 / 6)
AlterConstrDeferrabilityRecurse CBC 21 100.0 % (12 / 12) 100.0 % (2 / 2)
AlterConstrEnforceabilityRecurse CBC 24 100.0 % (9 / 9) 100.0 % (2 / 2)
AtEOXact_on_commit_actions CBC 330554 100.0 % (10 / 10) 100.0 % (10 / 10)
CreateFKCheckTrigger CBC 3032 100.0 % (23 / 23) 100.0 % (2 / 2)
DropClonedTriggersFromPartition CBC 520 100.0 % (21 / 21) 100.0 % (6 / 6)
NotNullImpliedByRelConstraints CBC 623 100.0 % (11 / 11) 100.0 % (4 / 4)
RangeVarCallbackForRenameAttribute CBC 200 100.0 % (7 / 7) 100.0 % (2 / 2)
RebuildConstraintComment CBC 290 100.0 % (17 / 17) 100.0 % (4 / 4)
RememberConstraintForRebuilding CBC 349 100.0 % (13 / 13) 100.0 % (6 / 6)
RememberIndexForRebuilding CBC 124 100.0 % (11 / 11) 100.0 % (4 / 4)
add_column_collation_dependency CBC 1919 100.0 % (10 / 10) 100.0 % (4 / 4)
findAttrByName CBC 12466 100.0 % (7 / 7) 100.0 % (8 / 8)
remove_on_commit_action CBC 23866 100.0 % (7 / 7) 100.0 % (8 / 8)
truncate_check_perms CBC 1108 100.0 % (6 / 6) 100.0 % (2 / 2)
ATExecCookedColumnDefault CBC 40 100.0 % (5 / 5)
ATExecDetachPartitionFinalize CBC 7 100.0 % (8 / 8)
ATExecDropCluster CBC 9 100.0 % (3 / 3)
AlterTable CBC 16707 100.0 % (5 / 5)
AlterTableInternal CBC 139 100.0 % (6 / 6)
AlterTableLookupRelation CBC 16826 100.0 % (3 / 3)
add_column_datatype_dependency CBC 1919 100.0 % (9 / 9)
attachPartitionTable GNC 1508 100.0 % (7 / 7)
createForeignKeyCheckTriggers CBC 1516 100.0 % (4 / 4)
createSplitPartitionContext GNC 255 100.0 % (6 / 6)
detachPartitionTable GNC 285 100.0 % (6 / 6)

Generated by: LCOV version 2.4-beta