CloneSet4102


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.994statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17565
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
27536
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
Clone Instance
1
Line Count
7
Source Line
565
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

                for (Iterator it = node.enumConstants().iterator(); it.hasNext();)  {
                        EnumConstantDeclaration d = (EnumConstantDeclaration) it.next();
                        d.accept(this );
                        // enum constant declarations do not include punctuation
                        if (it.hasNext()) {
                                // enum constant declarations are separated by commas
                                this.buffer.append(", "); //$NON-NLS-1$
                        }
                }


Clone Instance
2
Line Count
7
Source Line
536
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java

                for (Iterator it = node.enumConstants().iterator(); it.hasNext();)  {
                        EnumConstantDeclaration d = (EnumConstantDeclaration) it.next();
                        d.accept(this );
                        // enum constant declarations do not include punctuation
                        if (it.hasNext()) {
                                // enum constant declarations are separated by commas
                                this.fBuffer.append(", "); //$NON-NLS-1$
                        }
                }


Clone AbstractionParameter Count: 1Parameter Bindings

for (Iterator it = node.enumConstants().iterator(); it.hasNext();) {
  EnumConstantDeclaration d = (EnumConstantDeclaration) it.next();
  d.accept(this );
  // enum constant declarations do not include punctuation
  if (it.hasNext()) {
    // enum constant declarations are separated by commas
    this. [[#variable920129c0]].append(", "); //$NON-NLS-1$
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#920129c0]]
fBuffer 
12[[#920129c0]]
buffer