Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.970 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 705 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java |
2 | 3 | 709 | 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); } |
| ||||
int bracketOffset = qualifiedTypeName.indexOf('['); if (bracketOffset != -1) { return internalAddImport(qualifiedTypeName.substring(0, bracketOffset), context) + qualifiedTypeName.substring(bracketOffset); } |
| |||
int [[#variable9c62b840]]= qualifiedTypeName.indexOf( [[#variable5d3d0220]]); if ( [[#variable9c62b840]]!= -1) { return internalAddImport(qualifiedTypeName.substring(0, [[#variable9c62b840]]), context) + qualifiedTypeName.substring( [[#variable9c62b840]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c62b840]] | bracketOffset |
1 | 2 | [[#9c62b840]] | angleBracketOffset |
2 | 1 | [[#5d3d0220]] | '[' |
2 | 2 | [[#5d3d0220]] | '<' |