CloneSet1516


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15220.988statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115297
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/StringMatcher.java
215368
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/StringMatcher.java
Clone Instance
1
Line Count
15
Source Line
297
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/StringMatcher.java

                int max = end - fLength;

                if ( !fIgnoreCase) {
                        int i = text.indexOf(fPattern, start);
                        if (i == -1 || i > max)
                                return -1;
                        return i;
                }

                for (int i = start; i <= max; ++i) {
                        if (text.regionMatches(true, i, fPattern, 0, fLength))
                                return i;
                }

                return -1;


Clone Instance
2
Line Count
15
Source Line
368
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/StringMatcher.java

                int max = end - plen;

                if ( !fIgnoreCase) {
                        int i = text.indexOf(p, start);
                        if (i == -1 || i > max)
                                return -1;
                        return i;
                }

                for (int i = start; i <= max; ++i) {
                        if (text.regionMatches(true, i, p, 0, plen))
                                return i;
                }

                return -1;


Clone AbstractionParameter Count: 2Parameter Bindings

int max = end -  [[#variableb204c5c0]];
if ( !fIgnoreCase) {
  int i = text.indexOf( [[#variable97b20f20]], start);
  if (i == -1 || i > max)
    return -1;
  return i;
}
for (int i = start; i <= max; ++i) {
  if (text.regionMatches(true, i,  [[#variable97b20f20]], 0,  [[#variableb204c5c0]]))
    return i;
}
return -1;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b204c5c0]]
plen 
12[[#b204c5c0]]
fLength 
21[[#97b20f20]]
p 
22[[#97b20f20]]
fPattern