CloneSet5795


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.952statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14485
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
24180
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java
Clone Instance
1
Line Count
4
Source Line
485
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java

        for (Iterator iter = bodyDeclarations.iterator(); iter.hasNext();) {
                Object each = iter.next();
                if (each instanceof FieldDeclaration)
                        fields.add(each);
        }


Clone Instance
2
Line Count
4
Source Line
180
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java

                for (Iterator iter = elements.iterator(); iter.hasNext();) {
                        Object elem = iter.next();
                        if (elem instanceof IPackageFragment)
                                packageFragments.add(elem);
                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (Iterator iter = [[#variable7db1f420]].iterator(); iter.hasNext();) {
  Object  [[#variable7db1f3a0]]= iter.next();
  if ( [[#variable7db1f3a0]]instanceof [[#variable7db1f320]])
     [[#variable7db1f260]].add( [[#variable7db1f3a0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7db1f420]]
bodyDeclarations 
12[[#7db1f420]]
elements 
21[[#7db1f3a0]]
each 
22[[#7db1f3a0]]
elem 
31[[#7db1f320]]
FieldDeclaration 
32[[#7db1f320]]
IPackageFragment 
41[[#7db1f260]]
fields 
42[[#7db1f260]]
packageFragments