CloneSet7051


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.962statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
141686
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
24175
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
Clone Instance
1
Line Count
4
Source Line
1686
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                int dimensions = 1; // always include this array type
                while (t.isArrayType()) {
                        dimensions++;
                        t = (Type) getOriginalValue(t, ArrayType.COMPONENT_TYPE_PROPERTY);
                }


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

                int dimensions = 1; // always include this array type
                while (elementType.isArrayType()) {
                        dimensions++;
                        elementType = (Type) getChildNode(elementType, ArrayType.COMPONENT_TYPE_PROPERTY);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

int dimensions = 1; // always include this array type
while ( [[#variable55976300]].isArrayType()) {
  dimensions++;
   [[#variable55976300]]= (Type)  [[#variable55783c00]]( [[#variable55976300]], ArrayType.COMPONENT_TYPE_PROPERTY);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55976300]]
elementType 
12[[#55976300]]
t 
21[[#55783c00]]
getChildNode 
22[[#55783c00]]
getOriginalValue