Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.988 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 167 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java |
2 | 8 | 176 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java |
| ||||
public boolean visit(FieldAccess node) { Expression exp = node.getExpression(); if (exp != null) fIgnore.add(node.getName()); return true; } public void endVisit(FieldAccess node) { fIgnore.remove(node.getName()); } |
| ||||
public boolean visit(MethodInvocation node) { Expression exp = node.getExpression(); if (exp != null) fIgnore.add(node.getName()); return true; } public void endVisit(MethodInvocation node) { fIgnore.remove(node.getName()); } |
| |||
public boolean visit( [[#variable925da700]] node) { Expression exp = node.getExpression(); if (exp != null) fIgnore.add(node.getName()); return true; } public void endVisit( [[#variable925da700]] node) { fIgnore.remove(node.getName()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#925da700]] | MethodInvocation |
1 | 2 | [[#925da700]] | FieldAccess |