CloneSet2778


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4330.959statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1459
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/TypeEquivalenceSet.java
24167
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java
34172
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java
Clone Instance
1
Line Count
4
Source Line
59
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/TypeEquivalenceSet.java

                        for (int i = 0; i < variables.length; i++) {
                                ConstraintVariable2 right = variables[i];
                                if ( ! result.contains(right))
                                        result.add(right);
                        }


Clone Instance
2
Line Count
4
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java

                for (int i = 0; i < a1.length; i++) {
                        IMember member = a1[i];
                        if ( !result.contains(member))
                                result.add(member);
                }


Clone Instance
3
Line Count
4
Source Line
172
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java

                for (int i = 0; i < a2.length; i++) {
                        IMember member = a2[i];
                        if ( !result.contains(member))
                                result.add(member);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variable56fb6ee0]].length; i++) {
   [[#variable56fb6e40]]  [[#variable56fb6de0]]= [[#variable56fb6ee0]][i];
  if ( !result.contains( [[#variable56fb6de0]]))
    result.add( [[#variable56fb6de0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56fb6ee0]]
variables 
12[[#56fb6ee0]]
a2 
13[[#56fb6ee0]]
a1 
21[[#56fb6e40]]
ConstraintVariable2 
22[[#56fb6e40]]
IMember 
23[[#56fb6e40]]
IMember 
31[[#56fb6de0]]
right 
32[[#56fb6de0]]
member 
33[[#56fb6de0]]
member