CloneSet2021


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.993statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110770
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
2101004
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
Clone Instance
1
Line Count
10
Source Line
770
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

                int extraDimensions = getIntAttribute(node, SingleVariableDeclaration.EXTRA_DIMENSIONS_PROPERTY);
                for (int i = 0; i < extraDimensions; i++) {
                        this.result.append("[]"); //$NON-NLS-1$
                }
                ASTNode initializer = getChildNode(node, SingleVariableDeclaration.INITIALIZER_PROPERTY);
                if (initializer != null) {
                        this.result.append('=');
                        initializer.accept(this );
                }
                return false;


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

                int extraDimensions = getIntAttribute(node, VariableDeclarationFragment.EXTRA_DIMENSIONS_PROPERTY);
                for (int i = 0; i < extraDimensions; i++) {
                        this.result.append("[]"); //$NON-NLS-1$
                }
                ASTNode initializer = getChildNode(node, VariableDeclarationFragment.INITIALIZER_PROPERTY);
                if (initializer != null) {
                        this.result.append('=');
                        initializer.accept(this );
                }
                return false;


Clone AbstractionParameter Count: 1Parameter Bindings

int extraDimensions = getIntAttribute(node,  [[#variableb44a2d20]].EXTRA_DIMENSIONS_PROPERTY);
for (int i = 0; i < extraDimensions; i++) {
  this.result.append("[]"); //$NON-NLS-1$
}
ASTNode initializer = getChildNode(node,  [[#variableb44a2d20]].INITIALIZER_PROPERTY);
if (initializer != null) {
  this.result.append('=');
  initializer.accept(this );
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b44a2d20]]
VariableDeclarationFragment 
12[[#b44a2d20]]
SingleVariableDeclaration