| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 0 | 1.000 | statement_sequence[7] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 4962 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| 2 | 11 | 5010 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| ||||
int start = type.getStartPosition();
ArrayType subarrayType = arrayType;
int index = extraDimension;
while (index > 0) {
subarrayType = (ArrayType) subarrayType.getComponentType();
index--;
}
int end = retrieveProperRightBracketPosition(remainingDimensions, start);
subarrayType.setSourceRange(start, end - start + 1);
// cut the child loose from its parent (without creating garbage)
subarrayType.setParent(null, null);
|
| ||||
int start = type.getStartPosition();
ArrayType subarrayType = arrayType;
int index = extraDimension;
while (index > 0) {
subarrayType = (ArrayType) subarrayType.getComponentType();
index--;
}
int end = retrieveProperRightBracketPosition(remainingDimensions, start);
subarrayType.setSourceRange(start, end - start + 1);
// cut the child loose from its parent (without creating garbage)
subarrayType.setParent(null, null);
|
| |||
int start = type.getStartPosition();
ArrayType subarrayType = arrayType;
int index = extraDimension;
while (index > 0) {
subarrayType = (ArrayType) subarrayType.getComponentType();
index--;
}
int end = retrieveProperRightBracketPosition(remainingDimensions, start);
subarrayType.setSourceRange(start, end - start + 1);
// cut the child loose from its parent (without creating garbage)
subarrayType.setParent(null, null);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||