Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.965 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 512 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
2 | 3 | 674 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
| ||||
ArrayAccess access = fAst.newArrayAccess(); access.setArray(fAst.newSimpleName(VARIABLE_NAME_HASHCODE_PARAM)); access.setIndex(fAst.newSimpleName(VARIABLE_NAME_INDEX)); |
| ||||
ArrayAccess a = fAst.newArrayAccess(); a.setArray(fAst.newSimpleName(VARIABLE_NAME_HASHCODE_PARAM)); a.setIndex(fAst.newSimpleName(name)); |
| |||
ArrayAccess [[#variable609aa440]]= fAst.newArrayAccess(); [[#variable609aa440]].setArray(fAst.newSimpleName(VARIABLE_NAME_HASHCODE_PARAM)); [[#variable609aa440]].setIndex(fAst.newSimpleName( [[#variable609aadc0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#609aa440]] | access |
1 | 2 | [[#609aa440]] | a |
2 | 1 | [[#609aadc0]] | VARIABLE_NAME_INDEX |
2 | 2 | [[#609aadc0]] | name |