Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.963 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 251 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWriter.java |
2 | 4 | 266 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWriter.java |
| ||||
{ Element element = document.createElement("project"); //$NON-NLS-1$ parent.appendChild(element); element.setAttribute("name", resource.getName()); //$NON-NLS-1$ } |
| ||||
{ Element element = document.createElement("javaElement"); //$NON-NLS-1$ parent.appendChild(element); element.setAttribute("handleIdentifier", javaElement.getHandleIdentifier()); //$NON-NLS-1$ } |
| |||
{ Element element = document.createElement( [[#variable641a8360]]); //$NON-NLS-1$ parent.appendChild(element); element.setAttribute( [[#variable641a8300]], [[#variable641a9180]]. [[#variable641a90e0]]()); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#641a8360]] | "javaElement" |
1 | 2 | [[#641a8360]] | "project" |
2 | 1 | [[#641a8300]] | "handleIdentifier" |
2 | 2 | [[#641a8300]] | "name" |
3 | 1 | [[#641a9180]] | javaElement |
3 | 2 | [[#641a9180]] | resource |
4 | 1 | [[#641a90e0]] | getHandleIdentifier |
4 | 2 | [[#641a90e0]] | getName |