Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 1 | 0.990 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 147 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/CodeScopeBuilder.java |
2 | 8 | 195 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/CodeScopeBuilder.java |
3 | 8 | 205 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/CodeScopeBuilder.java |
| ||||
public boolean visit(CatchClause node) { // open a new scope for the exception declaration. fScopes.add(fScope); fScope = new Scope(fScope, node.getStartPosition(), node.getLength()); return true; } public void endVisit(CatchClause node) { fScope = (Scope) fScopes.remove(fScopes.size() - 1); } |
| ||||
public boolean visit(Block node) { fScopes.add(fScope); fScope = new Scope(fScope, node.getStartPosition(), node.getLength()); return true; } public void endVisit(Block node) { fScope = (Scope) fScopes.remove(fScopes.size() - 1); } |
| ||||
public boolean visit(ForStatement node) { fScopes.add(fScope); fScope = new Scope(fScope, node.getStartPosition(), node.getLength()); return true; } public void endVisit(ForStatement node) { fScope = (Scope) fScopes.remove(fScopes.size() - 1); } |
| |||
public boolean visit( [[#variable9bde45e0]] node) { // open a new scope for the exception declaration. fScopes.add(fScope); fScope = new Scope(fScope, node.getStartPosition(), node.getLength()); return true; } public void endVisit( [[#variable9bde45e0]] node) { fScope = (Scope) fScopes.remove(fScopes.size() - 1); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bde45e0]] | ForStatement |
1 | 2 | [[#9bde45e0]] | Block |
1 | 3 | [[#9bde45e0]] | CatchClause |