Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.969 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 107 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java |
2 | 3 | 112 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java |
| ||||
String source = getSourceFor(element); String lineSeparator = org.eclipse.jdt.internal.core.util.Util.getLineSeparator(source, element.getJavaProject()); return new CreateTypeOperation(dest, source + lineSeparator, this.force); |
| ||||
String source = getSourceFor(element); String lineSeparator = org.eclipse.jdt.internal.core.util.Util.getLineSeparator(source, element.getJavaProject()); return new CreateMethodOperation((IType) dest, source + lineSeparator, this.force); |
| |||
String source = getSourceFor(element); String lineSeparator = org.eclipse.jdt.internal.core.util.Util.getLineSeparator(source, element.getJavaProject()); return new [[#variable58a22ae0]]( [[#variable58a22bc0]], source + lineSeparator, this.force); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58a22ae0]] | CreateTypeOperation |
1 | 2 | [[#58a22ae0]] | CreateMethodOperation |
2 | 1 | [[#58a22bc0]] | dest |
2 | 2 | [[#58a22bc0]] | (IType) dest |