CloneSet5131


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

        /*
         * @see ASTVisitor#visit(ArrayType)
         */
        public boolean visit(ArrayType node) {
                node.getComponentType().accept(this );
                this.buffer.append("[]"); //$NON-NLS-1$
                return false;
        }


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

        /*
         * @see ASTVisitor#visit(ArrayType)
         */
        public boolean visit(ArrayType node) {
                node.getComponentType().accept(this );
                this.fBuffer.append("[]"); //$NON-NLS-1$
                return false;
        }


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

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


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * @see ASTVisitor#visit(ArrayType)
         */
/*
         * @see ASTVisitor#visit(ExpressionStatement)
         */
public boolean visit( [[#variablea04f68a0]] node) {
  node. [[#variablea04f6820]]().accept(this );
  this. [[#variablea04f67a0]].append( [[#variablea04f66a0]]); //$NON-NLS-1$
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a04f68a0]]
ArrayType 
12[[#a04f68a0]]
ExpressionStatement 
13[[#a04f68a0]]
ArrayType 
21[[#a04f6820]]
getComponentType 
22[[#a04f6820]]
getExpression 
23[[#a04f6820]]
getComponentType 
31[[#a04f67a0]]
fBuffer 
32[[#a04f67a0]]
fBuffer 
33[[#a04f67a0]]
buffer 
41[[#a04f66a0]]
"[]" 
42[[#a04f66a0]]
";" 
43[[#a04f66a0]]
"[]"