Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 1 | 0.988 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 290 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java |
2 | 10 | 301 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java |
3 | 10 | 313 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java |
| ||||
public boolean visit(FieldDeclaration node) { fBodies.add(fCurrent); fCurrent = new BodyData(node); return true; } public void endVisit(FieldDeclaration node) { if (fCurrent.hasInvocations()) { result.put(node, fCurrent); } endVisitType(); } |
| ||||
public boolean visit(MethodDeclaration node) { fBodies.add(fCurrent); fCurrent = new BodyData(node); return true; } public void endVisit(MethodDeclaration node) { if (fCurrent.hasInvocations()) { result.put(node, fCurrent); } endVisitType(); } |
| ||||
public boolean visit(Initializer node) { fBodies.add(fCurrent); fCurrent = new BodyData(node); return true; } public void endVisit(Initializer node) { if (fCurrent.hasInvocations()) { result.put(node, fCurrent); } endVisitType(); } |
| |||
public boolean visit( [[#variableb7833d60]] node) { fBodies.add(fCurrent); fCurrent = new BodyData(node); return true; } public void endVisit( [[#variableb7833d60]] node) { if (fCurrent.hasInvocations()) { result.put(node, fCurrent); } endVisitType(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b7833d60]] | Initializer |
1 | 2 | [[#b7833d60]] | MethodDeclaration |
1 | 3 | [[#b7833d60]] | FieldDeclaration |