CloneSet6164


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.992executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1365
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java
2353
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/VariableLocator.java
Clone Instance
1
Line Count
3
Source Line
65
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java

                                                 {
                if (matchesName(this.pattern.simpleName, ((SingleNameReference) node).token))
                        return nodeSet.addMatch(node, POSSIBLE_MATCH); // resolution is needed to find out if it is a type ref 
                                                 }


Clone Instance
2
Line Count
3
Source Line
53
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/VariableLocator.java

                                                                {
                        if (matchesName(this.pattern.name, ((SingleNameReference) node).token))
                                return nodeSet.addMatch(node, POSSIBLE_MATCH);
                                                                }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  if (matchesName(this.pattern. [[#variable5cd11220]], ((SingleNameReference) node).token))
    return nodeSet.addMatch(node, POSSIBLE_MATCH); // resolution is needed to find out if it is a type ref 
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5cd11220]]
name 
12[[#5cd11220]]
simpleName