Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.965 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 639 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
2 | 7 | 66 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java |
| ||||
boolean isPackageFragment = target instanceof IPackageFragment; boolean isJavaProject = target instanceof IJavaProject; boolean isPackageFragmentRoot = target instanceof IPackageFragmentRoot; boolean isContainer = target instanceof IContainer; if ( !(isPackageFragment || isJavaProject || isPackageFragmentRoot || isContainer)) return false; |
| ||||
boolean isPackageFragment = target instanceof IPackageFragment; boolean isJavaProject = target instanceof IJavaProject; boolean isPackageFragmentRoot = target instanceof IPackageFragmentRoot; boolean isContainer = target instanceof IContainer; if ( !(isPackageFragment || isJavaProject || isPackageFragmentRoot || isContainer)) return; |
| |||
boolean isPackageFragment = target instanceof IPackageFragment; boolean isJavaProject = target instanceof IJavaProject; boolean isPackageFragmentRoot = target instanceof IPackageFragmentRoot; boolean isContainer = target instanceof IContainer; if ( !(isPackageFragment || isJavaProject || isPackageFragmentRoot || isContainer)) [[#variable9873a900]] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9873a900]] | return; |
1 | 2 | [[#9873a900]] | return false; |