Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.992 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 45 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/NameCollector.java |
2 | 5 | 51 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/NameCollector.java |
| ||||
public boolean visit(VariableDeclarationFragment node) { boolean result = super.visit(node); if ( !result) names.add(node.getName().getIdentifier()); return result; } |
| ||||
public boolean visit(SingleVariableDeclaration node) { boolean result = super.visit(node); if ( !result) names.add(node.getName().getIdentifier()); return result; } |
| |||
public boolean visit( [[#variable9cbd4380]] node) { boolean result = super.visit(node); if ( !result) names.add(node.getName().getIdentifier()); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9cbd4380]] | VariableDeclarationFragment |
1 | 2 | [[#9cbd4380]] | SingleVariableDeclaration |