Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 1 | 0.993 | statement_sequence[9] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 902 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java |
2 | 15 | 967 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java |
| ||||
int nameLength = name == null ? 0: name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0: array.length; if (length == 0) return name; int size = nameLength; int index = length; while ( --index >= 0) if (array[index].length > 0) size += array[index].length + 1; char[] result = new char[size]; index = size; |
| ||||
int nameLength = name == null ? 0: name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0: array.length; if (length == 0) return name; int size = nameLength; int index = length; while ( --index >= 0) if (array[index].length > 0) size += array[index].length + 1; char[] result = new char[size]; index = 0; |
| |||
int nameLength = name == null ? 0: name.length; if (nameLength == 0) return concatWith(array, separator); int length = array == null ? 0: array.length; if (length == 0) return name; int size = nameLength; int index = length; while ( --index >= 0) if (array[index].length > 0) size += array[index].length + 1; char[] result = new char[size]; index = [[#variableb1966760]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1966760]] | 0 |
1 | 2 | [[#b1966760]] | size |