Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 4 | 0.977 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 284 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java |
2 | 2 | 608 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java |
| ||||
match = new FieldDeclarationMatch(((JavaElement) field).resolved(fieldBinding), SearchMatch.A_ACCURATE, offset, fieldDecl.sourceEnd - offset + 1, locator.getParticipant(), resource); locator.report(match); |
| ||||
match = new TypeDeclarationMatch(((JavaElement) type).resolved(typeBinding), SearchMatch.A_ACCURATE, offset, typeDecl.sourceEnd - offset + 1, locator.getParticipant(), resource); locator.report(match); |
| |||
match = new [[#variable968b84c0]](((JavaElement) [[#variable92afe800]]).resolved( [[#variablea0f1e380]]), SearchMatch.A_ACCURATE, offset, [[#variable57d61060]].sourceEnd - offset + 1, locator.getParticipant(), resource); locator.report(match); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#968b84c0]] | TypeDeclarationMatch |
1 | 2 | [[#968b84c0]] | FieldDeclarationMatch |
2 | 1 | [[#92afe800]] | type |
2 | 2 | [[#92afe800]] | field |
3 | 1 | [[#a0f1e380]] | typeBinding |
3 | 2 | [[#a0f1e380]] | fieldBinding |
4 | 1 | [[#57d61060]] | typeDecl |
4 | 2 | [[#57d61060]] | fieldDecl |