CloneSet3647


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7310.984class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17307
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
27262
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
37286
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
Clone Instance
1
Line Count
7
Source Line
307
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

        /*
         * @see ASTVisitor#visit(BooleanLiteral)
         */
        public boolean visit(BooleanLiteral node) {
                if (node.booleanValue() == true) {
                        this.buffer.append("true"); //$NON-NLS-1$
                }
                else   {
                        this.buffer.append("false"); //$NON-NLS-1$
                }
                return false;
        }


Clone Instance
2
Line Count
7
Source Line
262
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @see ASTVisitor#visit(BooleanLiteral)
         */
        public boolean visit(BooleanLiteral node) {
                if (node.booleanValue() == true) {
                        this.result.append("true"); //$NON-NLS-1$
                }
                else   {
                        this.result.append("false"); //$NON-NLS-1$
                }
                return false;
        }


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

        /*
         * @see ASTVisitor#visit(BooleanLiteral)
         */
        public boolean visit(BooleanLiteral node) {
                if (node.booleanValue() == true) {
                        this.fBuffer.append("true"); //$NON-NLS-1$
                }
                else   {
                        this.fBuffer.append("false"); //$NON-NLS-1$
                }
                return false;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * @see ASTVisitor#visit(BooleanLiteral)
         */
public boolean visit(BooleanLiteral node) {
  if (node.booleanValue() == true) {
    this. [[#variable570f9600]].append("true"); //$NON-NLS-1$
  }
  else {
    this. [[#variable570f9600]].append("false"); //$NON-NLS-1$
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#570f9600]]
fBuffer 
12[[#570f9600]]
result 
13[[#570f9600]]
buffer