CloneSet7528


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.959executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14640
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
24214
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java
Clone Instance
1
Line Count
4
Source Line
640
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                                                          {
                        TemplateVariable curr = positions[i];
                        if (variable.equals(curr.getType())) {
                                return curr;
                        }
                                                          }


Clone Instance
2
Line Count
4
Source Line
214
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java

                                                                  {
                                        TypeInfo curr = results[i];
                                        if (containerName.equals(curr.getTypeContainerName())) {
                                                return curr;
                                        }
                                                                  }


Clone AbstractionParameter Count: 4Parameter Bindings

{
   [[#variable5913b600]] curr = [[#variable5913b5a0]][i];
  if ( [[#variable5913b520]].equals(curr. [[#variable5913b480]]())) {
    return curr;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5913b600]]
TypeInfo 
12[[#5913b600]]
TemplateVariable 
21[[#5913b5a0]]
results 
22[[#5913b5a0]]
positions 
31[[#5913b520]]
containerName 
32[[#5913b520]]
variable 
41[[#5913b480]]
getTypeContainerName 
42[[#5913b480]]
getType