CloneSet5243


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

                if (node.isDefault()) {
                        this.buffer.append("default :\n"); //$NON-NLS-1$
                }
                else   {
                        this.buffer.append("case "); //$NON-NLS-1$
                        node.getExpression().accept(this );
                        this.buffer.append(":\n"); //$NON-NLS-1$
                }


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

                if (node.isDefault()) {
                        this.fBuffer.append("default :"); //$NON-NLS-1$
                }
                else   {
                        this.fBuffer.append("case "); //$NON-NLS-1$
                        node.getExpression().accept(this );
                        this.fBuffer.append(":"); //$NON-NLS-1$
                }


Clone AbstractionParameter Count: 3Parameter Bindings

if (node.isDefault()) {
  this. [[#variableb4239b60]].append( [[#variableb4239ae0]]); //$NON-NLS-1$
}
else {
  this. [[#variableb4239b60]].append("case "); //$NON-NLS-1$
  node.getExpression().accept(this );
  this. [[#variableb4239b60]].append( [[#variableb4239a40]]); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4239b60]]
fBuffer 
12[[#b4239b60]]
buffer 
21[[#b4239ae0]]
"default :" 
22[[#b4239ae0]]
"default :\n" 
31[[#b4239a40]]
":" 
32[[#b4239a40]]
":\n"