| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 18 | 2 | 1 | 0.995 | multiplicative_expression |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 18 | 518 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
| 2 | 18 | 539 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
| ||||
org.eclipse.jdt.internal.compiler.util.Util.toString(
respectiveContainers,
new org.eclipse.jdt.internal.compiler.util.Util.Displayable() {
public String displayString(Object o) {
StringBuffer buffer = new StringBuffer("\t\t"); //$NON-NLS-1$
if (o == null) {
buffer.append("<null>"); //$NON-NLS-1$
return buffer.toString();
}
buffer.append(container.getDescription());
buffer.append(" {\n"); //$NON-NLS-1$
for (int j = 0; j < oldEntries.length; j++) {
buffer.append(" \t\t\t"); //$NON-NLS-1$
buffer.append(oldEntries[j]);
buffer.append('\n');
}
buffer.append(" \t\t}"); //$NON-NLS-1$
return buffer.toString();
}
} )
|
| ||||
org.eclipse.jdt.internal.compiler.util.Util.toString(
respectiveContainers,
new org.eclipse.jdt.internal.compiler.util.Util.Displayable() {
public String displayString(Object o) {
StringBuffer buffer = new StringBuffer("\t\t"); //$NON-NLS-1$
if (o == null) {
buffer.append("<null>"); //$NON-NLS-1$
return buffer.toString();
}
buffer.append(container.getDescription());
buffer.append(" {\n"); //$NON-NLS-1$
for (int j = 0; j < newEntries.length; j++) {
buffer.append(" \t\t\t"); //$NON-NLS-1$
buffer.append(newEntries[j]);
buffer.append('\n');
}
buffer.append(" \t\t}"); //$NON-NLS-1$
return buffer.toString();
}
} )
|
| |||
org.eclipse.jdt.internal.compiler.util.Util.toString(respectiveContainers, new org.eclipse.jdt.internal.compiler.util.Util.Displayable() {
public String displayString(Object o) {
StringBuffer buffer = new StringBuffer("\t\t"); //$NON-NLS-1$
if (o == null) {
buffer.append("<null>"); //$NON-NLS-1$
return buffer.toString();
}
buffer.append(container.getDescription());
buffer.append(" {\n"); //$NON-NLS-1$
for (int j = 0; j < [[#variableb9c4fa60]].length; j++) {
buffer.append(" \t\t\t"); //$NON-NLS-1$
buffer.append( [[#variableb9c4fa60]][j]);
buffer.append('\n');
}
buffer.append(" \t\t}"); //$NON-NLS-1$
return buffer.toString();
}
} )
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b9c4fa60]] | newEntries |
| 1 | 2 | [[#b9c4fa60]] | oldEntries |