Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 6 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1249 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 7 | 1366 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
| ||||
public void duplicateFieldInType(SourceTypeBinding type, FieldDeclaration fieldDecl) { this.handle( IProblem.DuplicateField, new String[] { new String(type.sourceName()), new String(fieldDecl.name) }, new String[] { new String(type.shortReadableName()), new String(fieldDecl.name) }, fieldDecl.sourceStart, fieldDecl.sourceEnd); } |
| ||||
public void duplicateModifierForMethod(ReferenceBinding type, AbstractMethodDeclaration methodDecl) { this.handle( IProblem.DuplicateModifierForMethod, new String[] { new String(type.sourceName()), new String(methodDecl.selector) }, new String[] { new String(type.shortReadableName()), new String(methodDecl.selector) }, methodDecl.sourceStart, methodDecl.sourceEnd); } |
| |||
public void [[#variable96162640]]( [[#variable96162580]] type, [[#variable96162540]] [[#variable96162400]]) { this.handle(IProblem. [[#variable961623e0]], new String[] { new String(type.sourceName()), new String( [[#variable96162400]]. [[#variable96162460]]) }, new String[] { new String(type.shortReadableName()), new String( [[#variable96162400]]. [[#variable96162460]]) }, [[#variable96162400]].sourceStart, [[#variable96162400]].sourceEnd); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#96162640]] | duplicateFieldInType |
1 | 2 | [[#96162640]] | duplicateModifierForMethod |
2 | 1 | [[#96162580]] | SourceTypeBinding |
2 | 2 | [[#96162580]] | ReferenceBinding |
3 | 1 | [[#96162540]] | FieldDeclaration |
3 | 2 | [[#96162540]] | AbstractMethodDeclaration |
4 | 1 | [[#96162400]] | fieldDecl |
4 | 2 | [[#96162400]] | methodDecl |
5 | 1 | [[#961623e0]] | DuplicateField |
5 | 2 | [[#961623e0]] | DuplicateModifierForMethod |
6 | 1 | [[#96162460]] | name |
6 | 2 | [[#96162460]] | selector |