Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.953 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1309 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java |
2 | 7 | 368 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java |
| ||||
{ if (element instanceof CPListElementAttribute) { return ((CPListElementAttribute) element).getParent(); } else if (element instanceof CPListElement) { return ((CPListElement) element).getParentContainer(); } return null; } |
| ||||
{ if (element instanceof IJavaElement) { return ((IJavaElement) element).getJavaProject(); } else if (element instanceof ClassPathContainer) { return ((ClassPathContainer) element).getJavaProject(); } return null; } |
| |||
{ if (element instanceof [[#variable9a43fd20]]) { return (( [[#variable9a43fd20]]) element). [[#variable9a43fc80]](); } else if (element instanceof [[#variable9a43fbc0]]) { return (( [[#variable9a43fbc0]]) element). [[#variable9a43fb00]](); } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9a43fd20]] | CPListElementAttribute |
1 | 2 | [[#9a43fd20]] | IJavaElement |
2 | 1 | [[#9a43fc80]] | getParent |
2 | 2 | [[#9a43fc80]] | getJavaProject |
3 | 1 | [[#9a43fbc0]] | CPListElement |
3 | 2 | [[#9a43fbc0]] | ClassPathContainer |
4 | 1 | [[#9a43fb00]] | getParentContainer |
4 | 2 | [[#9a43fb00]] | getJavaProject |