CloneSet2353


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.992statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161847
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
27710
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java
Clone Instance
1
Line Count
6
Source Line
1847
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java

                arrayLoop: for (int i = start, max = arrayLength - toBeFoundLength + 1; i < max; i++) {
                        if (array[i] == toBeFound[0]) {
                                for (int j = 1; j < toBeFoundLength; j++) {
                                        if (array[i + j] != toBeFound[j]) continue arrayLoop;
                                }
                                return i;
                        }
                           }


Clone Instance
2
Line Count
7
Source Line
710
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java

                loop: for (int i = start, max = arrayLength - toBeFoundLength + 1; i < max; i++) {
                        if (array[i] == toBeFound[0]) {
                                for (int j = 1; j < toBeFoundLength; j++) {
                                        if (array[i + j] != toBeFound[j])
                                                continue loop;
                                }
                                return i;
                        }
                      }


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable7d1c73a0]]:
  for (int i = start, max = arrayLength - toBeFoundLength + 1; i < max; i++) {
    if (array[i] == toBeFound[0]) {
      for (int j = 1; j < toBeFoundLength; j++) {
        if (array[i + j] != toBeFound[j])
          continue [[#variable7d1c73a0]];
      }
      return i;
    }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d1c73a0]]
loop 
12[[#7d1c73a0]]
arrayLoop