Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.967 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 74 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaClasspathVariablesInitializer.java |
2 | 3 | 66 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringSaveHelper.java |
3 | 3 | 182 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/CoreUtility.java |
| ||||
IWorkspace workspace = ResourcesPlugin.getWorkspace(); IWorkspaceDescription wsDescription = workspace.getDescription(); boolean wasAutobuild = wsDescription.isAutoBuilding(); |
| ||||
// Save isn't cancelable. IWorkspace workspace = ResourcesPlugin.getWorkspace(); IWorkspaceDescription description = workspace.getDescription(); boolean autoBuild = description.isAutoBuilding(); |
| ||||
IWorkspace workspace = ResourcesPlugin.getWorkspace(); IWorkspaceDescription desc = workspace.getDescription(); boolean isAutoBuilding = desc.isAutoBuilding(); |
| |||
// Save isn't cancelable. IWorkspace workspace = ResourcesPlugin.getWorkspace(); IWorkspaceDescription [[#variable95daad20]]= workspace.getDescription(); boolean [[#variable97beea00]]= [[#variable95daad20]].isAutoBuilding(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95daad20]] | description |
1 | 2 | [[#95daad20]] | desc |
1 | 3 | [[#95daad20]] | wsDescription |
2 | 1 | [[#97beea00]] | autoBuild |
2 | 2 | [[#97beea00]] | isAutoBuilding |
2 | 3 | [[#97beea00]] | wasAutobuild |