CloneSet3688


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.995statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1642
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyPackageFragmentRootOperation.java
26122
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/MovePackageFragmentRootOperation.java
Clone Instance
1
Line Count
6
Source Line
42
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyPackageFragmentRootOperation.java

                IClasspathEntry rootEntry = root.getRawClasspathEntry();
                IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();

                // copy resource
                if ( !root.isExternal() && (this.updateModelFlags&  IPackageFragmentRoot.NO_RESOURCE_MODIFICATION) == 0) {
                        copyResource(root, rootEntry, workspaceRoot);
                }


Clone Instance
2
Line Count
6
Source Line
122
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/MovePackageFragmentRootOperation.java

                IClasspathEntry rootEntry = root.getRawClasspathEntry();
                IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();

                // move resource
                if ( !root.isExternal() && (this.updateModelFlags&  IPackageFragmentRoot.NO_RESOURCE_MODIFICATION) == 0) {
                        moveResource(root, rootEntry, workspaceRoot);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

IClasspathEntry rootEntry = root.getRawClasspathEntry();
IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
// copy resource
// move resource
if ( !root.isExternal() && (this.updateModelFlags&IPackageFragmentRoot.NO_RESOURCE_MODIFICATION) == 0) {
   [[#variable7d757860]](root, rootEntry, workspaceRoot);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d757860]]
copyResource 
12[[#7d757860]]
moveResource