CloneSet3128


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.966block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17369
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
27380
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
Clone Instance
1
Line Count
7
Source Line
369
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java

                                                                                 {
                Set result = new HashSet(resources.length);
                for (int i = 0; i < resources.length; i++) {
                        if (isOfType(resources[i], typeMask))
                                result.add(resources[i]);
                }
                return result;
                                                                                 }


Clone Instance
2
Line Count
7
Source Line
380
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java

                                                                                   {
                List result = new ArrayList(javaElements.length);
                for (int i = 0; i < javaElements.length; i++) {
                        if (isOfType(javaElements[i], type))
                                result.add(javaElements[i]);
                }
                return result;
                                                                                   }


Clone AbstractionParameter Count: 4Parameter Bindings

{
   [[#variable5b519400]] result = new [[#variable5b5192c0]]( [[#variable5b519220]].length);
  for (int i = 0; i <  [[#variable5b519220]].length; i++) {
    if (isOfType( [[#variable5b519220]][i],  [[#variable5b519360]]))
      result.add( [[#variable5b519220]][i]);
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b519400]]
List 
12[[#5b519400]]
Set 
21[[#5b5192c0]]
ArrayList 
22[[#5b5192c0]]
HashSet 
31[[#5b519220]]
javaElements 
32[[#5b519220]]
resources 
41[[#5b519360]]
type 
42[[#5b519360]]
typeMask