CloneSet5142


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.967statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1374
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaClasspathVariablesInitializer.java
2366
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringSaveHelper.java
33182
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/CoreUtility.java
Clone Instance
1
Line Count
3
Source Line
74
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaClasspathVariablesInitializer.java

                                IWorkspace workspace = ResourcesPlugin.getWorkspace();
                                IWorkspaceDescription wsDescription = workspace.getDescription();
                                boolean wasAutobuild = wsDescription.isAutoBuilding();


Clone Instance
2
Line Count
3
Source Line
66
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringSaveHelper.java

                        // Save isn't cancelable.
                        IWorkspace workspace = ResourcesPlugin.getWorkspace();
                        IWorkspaceDescription description = workspace.getDescription();
                        boolean autoBuild = description.isAutoBuilding();


Clone Instance
3
Line Count
3
Source Line
182
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/CoreUtility.java

        IWorkspace workspace = ResourcesPlugin.getWorkspace();
        IWorkspaceDescription desc = workspace.getDescription();
        boolean isAutoBuilding = desc.isAutoBuilding();


Clone AbstractionParameter Count: 2Parameter Bindings

// Save isn't cancelable.
IWorkspace workspace = ResourcesPlugin.getWorkspace();
IWorkspaceDescription  [[#variable95daad20]]= workspace.getDescription();
boolean  [[#variable97beea00]]= [[#variable95daad20]].isAutoBuilding();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95daad20]]
description 
12[[#95daad20]]
desc 
13[[#95daad20]]
wsDescription 
21[[#97beea00]]
autoBuild 
22[[#97beea00]]
isAutoBuilding 
23[[#97beea00]]
wasAutobuild