CloneSet4122


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.970statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13705
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java
23709
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java
Clone Instance
1
Line Count
3
Source Line
705
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java

                int angleBracketOffset = qualifiedTypeName.indexOf('<');
                if (angleBracketOffset != -1) {
                        return internalAddImport(qualifiedTypeName.substring(0, angleBracketOffset), context) + qualifiedTypeName.substring(angleBracketOffset);
                }


Clone Instance
2
Line Count
3
Source Line
709
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java

                int bracketOffset = qualifiedTypeName.indexOf('[');
                if (bracketOffset != -1) {
                        return internalAddImport(qualifiedTypeName.substring(0, bracketOffset), context) + qualifiedTypeName.substring(bracketOffset);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

int  [[#variable9c62b840]]= qualifiedTypeName.indexOf( [[#variable5d3d0220]]);
if ( [[#variable9c62b840]]!= -1) {
  return internalAddImport(qualifiedTypeName.substring(0,  [[#variable9c62b840]]), context) + qualifiedTypeName.substring( [[#variable9c62b840]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c62b840]]
bracketOffset 
12[[#9c62b840]]
angleBracketOffset 
21[[#5d3d0220]]
'[' 
22[[#5d3d0220]]
'<'