Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.960 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 64 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java |
2 | 9 | 88 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java |
| ||||
public boolean visit( TypeDeclaration memberTypeDeclaration, ClassScope scope) { if (memberTypeDeclaration.declarationSourceStart <= position && position <= memberTypeDeclaration.declarationSourceEnd) { enclosingType = memberTypeDeclaration; return true; } return false; } |
| ||||
public boolean visit( TypeDeclaration typeDeclaration, CompilationUnitScope scope) { if (typeDeclaration.declarationSourceStart <= position && position <= typeDeclaration.declarationSourceEnd) { enclosingType = typeDeclaration; return true; } return false; } |
| |||
public boolean visit(TypeDeclaration [[#variable93838820]], [[#variable938387a0]] scope) { if ( [[#variable93838820]].declarationSourceStart <= position && position <= [[#variable93838820]].declarationSourceEnd) { enclosingType = [[#variable93838820]]; return true; } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#93838820]] | memberTypeDeclaration |
1 | 2 | [[#93838820]] | typeDeclaration |
2 | 1 | [[#938387a0]] | ClassScope |
2 | 2 | [[#938387a0]] | CompilationUnitScope |