CloneSet2451


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.988statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1577
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/Strings.java
25366
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/Strings.java
Clone Instance
1
Line Count
5
Source Line
77
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/Strings.java

                        String result[] = new String[size];
                        for (int i = 0; i < size; i++) {
                                IRegion region = tracker.getLineInformation(i);
                                int offset = region.getOffset();
                                result[i] = input.substring(offset, offset + region.getLength());
                        }


Clone Instance
2
Line Count
5
Source Line
366
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/Strings.java

                        String lines[] = new String[size];
                        for (int i = 0; i < size; i++) {
                                IRegion region = tracker.getLineInformation(i);
                                int offset = region.getOffset();
                                lines[i] = source.substring(offset, offset + region.getLength());
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

String  [[#variable97e86220]][] = new String[size];
for (int i = 0; i < size; i++) {
  IRegion region = tracker.getLineInformation(i);
  int offset = region.getOffset();
   [[#variable97e86220]][i] = [[#variable5fde44e0]].substring(offset, offset + region.getLength());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97e86220]]
result 
12[[#97e86220]]
lines 
21[[#5fde44e0]]
input 
22[[#5fde44e0]]
source