CloneSet1061


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.993statement_sequence[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115902
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
215967
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
Clone Instance
1
Line Count
15
Source Line
902
Source File
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;


Clone Instance
2
Line Count
15
Source Line
967
Source File
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 = 0;


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1966760]]
0 
12[[#b1966760]]
size