Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.953 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 298 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java |
2 | 6 | 310 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java |
| ||||
case ASTNode.METHOD_INVOCATION: MethodInvocation decl = (MethodInvocation) parent; if (selector == decl.getName()) { return getBinding(decl.getExpression()); } return null; |
| ||||
case ASTNode.FIELD_ACCESS: FieldAccess fieldAccess = (FieldAccess) parent; if (selector == fieldAccess.getName()) { return getBinding(fieldAccess.getExpression()); } return null; |
| |||
case ASTNode. [[#variable9656f420]]: [[#variable9656f3a0]] [[#variable9656f320]]= ( [[#variable9656f3a0]]) parent; if (selector == [[#variable9656f320]].getName()) { return getBinding( [[#variable9656f320]].getExpression()); } return null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9656f420]] | FIELD_ACCESS |
1 | 2 | [[#9656f420]] | METHOD_INVOCATION |
2 | 1 | [[#9656f3a0]] | FieldAccess |
2 | 2 | [[#9656f3a0]] | MethodInvocation |
3 | 1 | [[#9656f320]] | fieldAccess |
3 | 2 | [[#9656f320]] | decl |