CloneSet5428


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.955executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14147
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/Evaluator.java
24317
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
34131
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
Clone Instance
1
Line Count
4
Source Line
147
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/Evaluator.java

               {
                ClassFile[] result = new ClassFile[classDefinitions.size()];
                classDefinitions.toArray(result);
                return result;
               }


Clone Instance
2
Line Count
4
Source Line
317
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                                        {
                        ASTNode[] result = new ASTNode[mergedNodes.size()];
                        mergedNodes.toArray(result);
                        return result;
                                                        }


Clone Instance
3
Line Count
4
Source Line
131
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java

                       {
                        IResource[] result = new IResource[correctKindChildren.size()];
                        correctKindChildren.toArray(result);
                        return result;
                       }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variablea066bd80]][] result = new [[#variablea066bd80]][ [[#variablea066bd20]].size()];
   [[#variablea066bd20]].toArray(result);
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a066bd80]]
ClassFile 
12[[#a066bd80]]
ASTNode 
13[[#a066bd80]]
IResource 
21[[#a066bd20]]
classDefinitions 
22[[#a066bd20]]
mergedNodes 
23[[#a066bd20]]
correctKindChildren