Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 3 | 0.953 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 102 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationMethodInfo.java |
2 | 4 | 37 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ElementValuePairInfo.java |
3 | 4 | 631 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMMethod.java |
| ||||
for (int i = 0, len = elements.length; i < len; i++) { if (i > 0) buffer.append(", "); //$NON-NLS-1$ buffer.append(elements[i]); } |
| ||||
for (int i = 0, l = values.length; i < l; i++) { if (i > 0) buffer.append(", "); //$NON-NLS-1$ buffer.append(values[i]); } |
| ||||
for (int i = 0, length = names.length; i < length; i++) { if (i > 0) buffer.append(comma); buffer.append(names[i]); } |
| |||
for (int i = 0, [[#variable58be2380]]= [[#variable58be23e0]].length; i < [[#variable58be2380]]; i++) { if (i > 0) buffer.append( [[#variable58be23c0]]); //$NON-NLS-1$ buffer.append( [[#variable58be23e0]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58be2380]] | length |
1 | 2 | [[#58be2380]] | l |
1 | 3 | [[#58be2380]] | len |
2 | 1 | [[#58be23e0]] | names |
2 | 2 | [[#58be23e0]] | values |
2 | 3 | [[#58be23e0]] | elements |
3 | 1 | [[#58be23c0]] | comma |
3 | 2 | [[#58be23c0]] | ", " |
3 | 3 | [[#58be23c0]] | ", " |