CloneSet2746


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.982executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19611
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java
29621
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java
Clone Instance
1
Line Count
9
Source Line
611
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java

                                                           {
                        MultiTextEdit multiTextEdit1 = (MultiTextEdit) edit1;
                        TextEdit[] children = multiTextEdit1.getChildren();
                        for (int i = 0; i < children.length; i++) {
                                TextEdit child = children[i];
                                if (intersects(child, edit2))
                                        return true;
                        }
                        return false;
                                                           }


Clone Instance
2
Line Count
9
Source Line
621
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java

                                                           {
                        MultiTextEdit multiTextEdit2 = (MultiTextEdit) edit2;
                        TextEdit[] children = multiTextEdit2.getChildren();
                        for (int i = 0; i < children.length; i++) {
                                TextEdit child = children[i];
                                if (intersects(child, edit1))
                                        return true;
                        }
                        return false;
                                                           }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  MultiTextEdit  [[#variablea0678de0]]= (MultiTextEdit)  [[#variableb782f380]];
  TextEdit[] children = [[#variablea0678de0]].getChildren();
  for (int i = 0; i < children.length; i++) {
    TextEdit child = children[i];
    if (intersects(child,  [[#variablea0679b20]]))
      return true;
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0678de0]]
multiTextEdit1 
12[[#a0678de0]]
multiTextEdit2 
21[[#b782f380]]
edit1 
22[[#b782f380]]
edit2 
31[[#a0679b20]]
edit2 
32[[#a0679b20]]
edit1