Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.966 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 158 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodCompletionProposal.java |
2 | 5 | 268 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewClassWizardPage.java |
| ||||
if (body != null) { buf.append(body); buf.append(lineDelim); } buf.append("}"); //$NON-NLS-1$ |
| ||||
if (comment != null) { buf.append(comment); buf.append(lineDelim); } buf.append("public static void main("); //$NON-NLS-1$ |
| |||
if ( [[#variable50ab68a0]]!= null) { buf.append( [[#variable50ab68a0]]); buf.append(lineDelim); } buf.append( [[#variable50ab6920]]); //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50ab68a0]] | comment |
1 | 2 | [[#50ab68a0]] | body |
2 | 1 | [[#50ab6920]] | "public static void main(" |
2 | 2 | [[#50ab6920]] | "}" |