Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.961 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1570 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java |
2 | 7 | 2664 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java |
| ||||
for (int i = first.length; --i >= 0;) if (ScannerHelper.toLowerCase(first[i]) != ScannerHelper.toLowerCase(second[i])) return false; return true; |
| ||||
for (int i = max; --i >= 0;) // assumes the prefix is not larger than the name if (ScannerHelper.toLowerCase(prefix[i]) != ScannerHelper.toLowerCase(name[i])) return false; return true; |
| |||
for (int i = [[#variable56dbe240]]; --i >= 0;) // assumes the prefix is not larger than the name if (ScannerHelper.toLowerCase( [[#variable582afae0]][i]) != ScannerHelper.toLowerCase( [[#variable582afb00]][i])) return false; return true; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56dbe240]] | first.length |
1 | 2 | [[#56dbe240]] | max |
2 | 1 | [[#582afae0]] | first |
2 | 2 | [[#582afae0]] | prefix |
3 | 1 | [[#582afb00]] | second |
3 | 2 | [[#582afb00]] | name |