| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 8 | 2 | 0.962 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 498 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| 2 | 3 | 63 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ParameterizedSingleTypeReference.java |
| 3 | 3 | 50 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CaptureBinding.java |
| 4 | 3 | 89 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LocalVariableBinding.java |
| 5 | 3 | 676 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java |
| 6 | 3 | 350 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedGenericMethodBinding.java |
| 7 | 3 | 258 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeVariableBinding.java |
| 8 | 3 | 280 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/VariablesEvaluator.java |
| ||||
int length = buffer.length();
char[] typeRef = new char[length];
buffer.getChars(0, length, typeRef, 0);
|
| ||||
int nameLength = buffer.length();
char[] name = new char[nameLength];
buffer.getChars(0, nameLength, name, 0);
|
| ||||
int length = buffer.length();
char[] uniqueKey = new char[length];
buffer.getChars(0, length, uniqueKey, 0);
|
| ||||
int length = buffer.length();
char[] uniqueKey = new char[length];
buffer.getChars(0, length, uniqueKey, 0);
|
| ||||
int nameLength = buffer.length();
char[] shortReadableName = new char[nameLength];
buffer.getChars(0, nameLength, shortReadableName, 0);
|
| ||||
int resultLength = buffer.length();
char[] result = new char[resultLength];
buffer.getChars(0, resultLength, result, 0);
|
| ||||
int length = buffer.length();
char[] uniqueKey = new char[length];
buffer.getChars(0, length, uniqueKey, 0);
|
| ||||
// return result
int length = buffer.length();
char[] result = new char[length];
buffer.getChars(0, length, result, 0);
|
| |||
// return result int [[#variablec1184900]]= buffer.length(); char[] [[#variableb3d3fae0]]= new char[ [[#variablec1184900]]]; buffer.getChars(0, [[#variablec1184900]], [[#variableb3d3fae0]], 0); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#c1184900]] | length |
| 1 | 2 | [[#c1184900]] | nameLength |
| 1 | 3 | [[#c1184900]] | length |
| 1 | 4 | [[#c1184900]] | length |
| 1 | 5 | [[#c1184900]] | resultLength |
| 1 | 6 | [[#c1184900]] | nameLength |
| 1 | 7 | [[#c1184900]] | length |
| 1 | 8 | [[#c1184900]] | length |
| 2 | 1 | [[#b3d3fae0]] | typeRef |
| 2 | 2 | [[#b3d3fae0]] | name |
| 2 | 3 | [[#b3d3fae0]] | uniqueKey |
| 2 | 4 | [[#b3d3fae0]] | result |
| 2 | 5 | [[#b3d3fae0]] | result |
| 2 | 6 | [[#b3d3fae0]] | shortReadableName |
| 2 | 7 | [[#b3d3fae0]] | uniqueKey |
| 2 | 8 | [[#b3d3fae0]] | uniqueKey |