Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 4 | 0.957 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 318 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java |
2 | 3 | 592 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java |
| ||||
for (int i = 0; i < len; i++) { if (s.charAt(i) != t.charAt(i)) { return i; } } |
| ||||
for (int i = 0; i < stringLength; i++) { if (fileName.charAt(i) != string.charAt(i)) { return false; } } |
| |||
for (int i = 0; i < [[#variable971f16c0]]; i++) { if ( [[#variable971f1620]].charAt(i) != [[#variable971f1580]].charAt(i)) { return [[#variable971f14c0]]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#971f16c0]] | len |
1 | 2 | [[#971f16c0]] | stringLength |
2 | 1 | [[#971f1620]] | s |
2 | 2 | [[#971f1620]] | fileName |
3 | 1 | [[#971f1580]] | t |
3 | 2 | [[#971f1580]] | string |
4 | 1 | [[#971f14c0]] | i |
4 | 2 | [[#971f14c0]] | false |