Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.954 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 632 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java |
2 | 5 | 678 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.internal.corext.dom.HierarchicalASTVisitor#visit(org.eclipse.jdt.core.dom.TypeParameter) */ public boolean visit(TypeParameter node) { if (hasFlag(TYPES, fFlags) && node.getStartPosition() < fPosition) { fBreak = fRequestor.acceptBinding(node.getName().resolveBinding()); } return !fBreak; } |
| ||||
public boolean visit(VariableDeclaration node) { if (hasFlag(VARIABLES, fFlags) && node.getStartPosition() < fPosition) { fBreak = fRequestor.acceptBinding(node.resolveBinding()); } return !fBreak; } |
| |||
/* (non-Javadoc) * @see org.eclipse.jdt.internal.corext.dom.HierarchicalASTVisitor#visit(org.eclipse.jdt.core.dom.TypeParameter) */ public boolean visit( [[#variable4e075aa0]] node) { if (hasFlag( [[#variable4e075a20]], fFlags) && node.getStartPosition() < fPosition) { fBreak = fRequestor.acceptBinding( [[#variable538ca060]].resolveBinding()); } return !fBreak; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e075aa0]] | TypeParameter |
1 | 2 | [[#4e075aa0]] | VariableDeclaration |
2 | 1 | [[#4e075a20]] | TYPES |
2 | 2 | [[#4e075a20]] | VARIABLES |
3 | 1 | [[#538ca060]] | node.getName() |
3 | 2 | [[#538ca060]] | node |