Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.988 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 246 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceAnalyzer.java |
2 | 4 | 251 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceAnalyzer.java |
| ||||
public boolean visit(SingleVariableDeclaration node) { if (fTypeCounter == 0) addNameReference(node.getName()); return true; } |
| ||||
public boolean visit(VariableDeclarationFragment node) { if (fTypeCounter == 0) addNameReference(node.getName()); return true; } |
| |||
public boolean visit( [[#variablebb8647c0]] node) { if (fTypeCounter == 0) addNameReference(node.getName()); return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb8647c0]] | SingleVariableDeclaration |
1 | 2 | [[#bb8647c0]] | VariableDeclarationFragment |