Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.992 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 65 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java |
2 | 3 | 53 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/VariableLocator.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 } |
| ||||
{ if (matchesName(this.pattern.name, ((SingleNameReference) node).token)) return nodeSet.addMatch(node, POSSIBLE_MATCH); } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5cd11220]] | name |
1 | 2 | [[#5cd11220]] | simpleName |