Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 4 | 0.970 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 4101 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java |
2 | 10 | 1580 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
| ||||
buffer.append(" {\n"); //$NON-NLS-1$ IClasspathEntry[] entries = container.getClasspathEntries(); if (entries != null) { for (int i = 0; i < entries.length; i++) { buffer.append(" \t\t\t"); //$NON-NLS-1$ buffer.append(entries[i]); buffer.append('\n'); } } buffer.append(" \t\t}"); //$NON-NLS-1$ |
| ||||
buffer.append(" {\n"); //$NON-NLS-1$ IClasspathEntry[] entries = previousContainer.getClasspathEntries(); if (entries != null) { for (int j = 0; j < entries.length; j++) { buffer.append(" \t\t"); //$NON-NLS-1$ buffer.append(entries[j]); buffer.append('\n'); } } buffer.append(" \t}"); //$NON-NLS-1$ |
| |||
buffer.append(" {\n"); //$NON-NLS-1$ IClasspathEntry[] entries = [[#variable9c3efbe0]].getClasspathEntries(); if (entries != null) { for (int [[#variable9c3efc40]]= 0; [[#variable9c3efc40]] < entries.length; [[#variable9c3efc40]]++) { buffer.append( [[#variable9c3efb60]]); //$NON-NLS-1$ buffer.append(entries[ [[#variable9c3efc40]]]); buffer.append('\n'); } } buffer.append( [[#variable9c3efae0]]); //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c3efbe0]] | previousContainer |
1 | 2 | [[#9c3efbe0]] | container |
2 | 1 | [[#9c3efc40]] | j |
2 | 2 | [[#9c3efc40]] | i |
3 | 1 | [[#9c3efb60]] | " \t\t" |
3 | 2 | [[#9c3efb60]] | " \t\t\t" |
4 | 1 | [[#9c3efae0]] | " \t}" |
4 | 2 | [[#9c3efae0]] | " \t\t}" |