Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 1 | 0.994 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 619 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java |
2 | 14 | 662 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java |
| ||||
StringBuffer buffer = new StringBuffer(parameters.length + 1 * 20); if (isConstructor()) buffer.append(declaringClass.sourceName()); else buffer.append(selector); buffer.append('('); if (parameters != Binding.NO_PARAMETERS) { for (int i = 0, length = parameters.length; i < length; i++) { if (i > 0) buffer.append(", "); //$NON-NLS-1$ buffer.append(parameters[i].sourceName()); } } buffer.append(')'); |
| ||||
StringBuffer buffer = new StringBuffer(parameters.length + 1 * 20); if (isConstructor()) buffer.append(declaringClass.shortReadableName()); else buffer.append(selector); buffer.append('('); if (parameters != Binding.NO_PARAMETERS) { for (int i = 0, length = parameters.length; i < length; i++) { if (i > 0) buffer.append(", "); //$NON-NLS-1$ buffer.append(parameters[i].shortReadableName()); } } buffer.append(')'); |
| |||
StringBuffer buffer = new StringBuffer(parameters.length + 1 * 20); if (isConstructor()) buffer.append(declaringClass. [[#variable7c34b060]]()); else buffer.append(selector); buffer.append('('); if (parameters != Binding.NO_PARAMETERS) { for (int i = 0, length = parameters.length; i < length; i++) { if (i > 0) buffer.append(", "); //$NON-NLS-1$ buffer.append(parameters[i]. [[#variable7c34b060]]()); } } buffer.append(')'); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7c34b060]] | sourceName |
1 | 2 | [[#7c34b060]] | shortReadableName |