Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.952 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1503 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java |
2 | 6 | 1644 | 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 + secondStart])) return false; |
| ||||
for (int i = max; --i >= 0;) // assumes the prefix is not larger than the name if (ScannerHelper.toLowerCase(fragment[i]) != ScannerHelper.toLowerCase(name[i + startIndex])) return false; |
| |||
for (int i = [[#variable5d0c84a0]]; --i >= 0;) // assumes the prefix is not larger than the name if (ScannerHelper.toLowerCase( [[#variable5d0c8440]][i]) != ScannerHelper.toLowerCase( [[#variable5d0c83c0]][i + [[#variable5d0c8340]]])) return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d0c84a0]] | max |
1 | 2 | [[#5d0c84a0]] | first.length |
2 | 1 | [[#5d0c8440]] | fragment |
2 | 2 | [[#5d0c8440]] | first |
3 | 1 | [[#5d0c83c0]] | name |
3 | 2 | [[#5d0c83c0]] | second |
4 | 1 | [[#5d0c8340]] | startIndex |
4 | 2 | [[#5d0c8340]] | secondStart |