CloneSet3812


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

        /*
         * @see ASTVisitor#visit(ConditionalExpression)
         */
        public boolean visit(ConditionalExpression node) {
                node.getExpression().accept(this );
                this.buffer.append(" ? "); //$NON-NLS-1$
                node.getThenExpression().accept(this );
                this.buffer.append(" : "); //$NON-NLS-1$
                node.getElseExpression().accept(this );
                return false;
        }


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

        /*
         * @see ASTVisitor#visit(ConditionalExpression)
         */
        public boolean visit(ConditionalExpression node) {
                node.getExpression().accept(this );
                this.fBuffer.append("?"); //$NON-NLS-1$
                node.getThenExpression().accept(this );
                this.fBuffer.append(":"); //$NON-NLS-1$
                node.getElseExpression().accept(this );
                return false;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see ASTVisitor#visit(ConditionalExpression)
         */
public boolean visit(ConditionalExpression node) {
  node.getExpression().accept(this );
  this. [[#variable5fa5e000]].append( [[#variable601d9f80]]); //$NON-NLS-1$
  node.getThenExpression().accept(this );
  this. [[#variable5fa5e000]].append( [[#variable601d9ec0]]); //$NON-NLS-1$
  node.getElseExpression().accept(this );
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5fa5e000]]
fBuffer 
12[[#5fa5e000]]
buffer 
21[[#601d9f80]]
"?" 
22[[#601d9f80]]
" ? " 
31[[#601d9ec0]]
":" 
32[[#601d9ec0]]
" : "