CloneSet3615


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.965statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17639
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
2766
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
Clone Instance
1
Line Count
7
Source Line
639
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.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;


Clone Instance
2
Line Count
7
Source Line
66
Source File
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;


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9873a900]]
return; 
12[[#9873a900]]
return false;