| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 10 | 3 | 0.955 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 45 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnImportReference.java |
| 2 | 3 | 45 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnPackageReference.java |
| 3 | 3 | 42 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionOnImportReference.java |
| 4 | 3 | 41 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionOnPackageReference.java |
| 5 | 3 | 63 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ImportReference.java |
| 6 | 3 | 959 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java |
| 7 | 3 | 115 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedTypeReference.java |
| 8 | 3 | 2141 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
| 9 | 5 | 95 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencesConstants.java |
| 10 | 4 | 165 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitContextType.java |
| ||||
for (int i = 0; i < tokens.length; i++) {
if (i > 0) output.append('.');
output.append(tokens[i]);
}
|
| ||||
for (int i = 0; i < tokens.length; i++) {
if (i > 0) output.append('.');
output.append(tokens[i]);
}
|
| ||||
for (int i = 0; i < tokens.length; i++) {
if (i > 0) output.append('.');
output.append(tokens[i]);
}
|
| ||||
for (int i = 0; i < tokens.length; i++) {
if (i > 0) output.append('.');
output.append(tokens[i]);
}
|
| ||||
/* when withOnDemand is false, only the name is printed */
for (int i = 0; i < tokens.length; i++) {
if (i > 0) output.append('.');
output.append(tokens[i]);
}
|
| ||||
for (int i = 0; i < tokens.length; i++) {
if (i > 0) output.append('.');
output.append(tokens[i]);
}
|
| ||||
for (int i = 0; i < tokens.length; i++) {
if (i > 0) output.append('.');
output.append(tokens[i]);
}
|
| ||||
for (int i = 0; i < tokens.length; i++) {
if (i > 0) buffer.append('.');
buffer.append(tokens[i]);
}
|
| ||||
for (int i = 0; i < list.length; i++) {
if (i > 0)
buffer.append(',');
buffer.append(list[i]);
}
|
| ||||
for (int i = 0; i < arguments.length; i++) {
if (i > 0)
buffer.append(", "); //$NON-NLS-1$
buffer.append(arguments[i]);
}
|
| |||
/* when withOnDemand is false, only the name is printed */
for (int i = 0; i < [[#variableb48cf480]].length; i++) {
if (i > 0)
[[#variableb48cf420]].append( [[#variableb48cf3c0]]); //$NON-NLS-1$
[[#variableb48cf420]].append( [[#variableb48cf480]][i]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b48cf480]] | tokens |
| 1 | 2 | [[#b48cf480]] | arguments |
| 1 | 3 | [[#b48cf480]] | list |
| 1 | 4 | [[#b48cf480]] | tokens |
| 1 | 5 | [[#b48cf480]] | tokens |
| 1 | 6 | [[#b48cf480]] | tokens |
| 1 | 7 | [[#b48cf480]] | tokens |
| 1 | 8 | [[#b48cf480]] | tokens |
| 1 | 9 | [[#b48cf480]] | tokens |
| 1 | 10 | [[#b48cf480]] | tokens |
| 2 | 1 | [[#b48cf420]] | output |
| 2 | 2 | [[#b48cf420]] | buffer |
| 2 | 3 | [[#b48cf420]] | buffer |
| 2 | 4 | [[#b48cf420]] | buffer |
| 2 | 5 | [[#b48cf420]] | output |
| 2 | 6 | [[#b48cf420]] | output |
| 2 | 7 | [[#b48cf420]] | output |
| 2 | 8 | [[#b48cf420]] | output |
| 2 | 9 | [[#b48cf420]] | output |
| 2 | 10 | [[#b48cf420]] | output |
| 3 | 1 | [[#b48cf3c0]] | '.' |
| 3 | 2 | [[#b48cf3c0]] | ", " |
| 3 | 3 | [[#b48cf3c0]] | ',' |
| 3 | 4 | [[#b48cf3c0]] | '.' |
| 3 | 5 | [[#b48cf3c0]] | '.' |
| 3 | 6 | [[#b48cf3c0]] | '.' |
| 3 | 7 | [[#b48cf3c0]] | '.' |
| 3 | 8 | [[#b48cf3c0]] | '.' |
| 3 | 9 | [[#b48cf3c0]] | '.' |
| 3 | 10 | [[#b48cf3c0]] | '.' |