CloneSet4009


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.965block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17234
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
27244
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
Clone Instance
1
Line Count
7
Source Line
234
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java

                                                                        {
        if (pattern == null)
                return true; // null pattern is equivalent to '*'
        if (name == null)
                return false; // null name cannot match

        return camelCaseMatch(pattern, 0, pattern.length, name, 0, name.length);
                                                                        }


Clone Instance
2
Line Count
7
Source Line
244
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                                                        {
        if (pattern == null)
                return true; // null pattern is equivalent to '*'
        if (name == null)
                return false; // null name cannot match

        return camelCaseMatch(pattern, 0, pattern.length(), name, 0, name.length());
                                                                        }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  if (pattern == null)
    return true; // null pattern is equivalent to '*'
  if (name == null)
    return false; // null name cannot match
  return camelCaseMatch(pattern, 0, pattern [[#variable5057de80]], name, 0, name [[#variable5057de80]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5057de80]]
.length 
12[[#5057de80]]
.length()