Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.969 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 451 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
2 | 4 | 547 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
| ||||
fragment.setName(fAst.newSimpleName(VARIABLE_NAME_RESULT)); VariableDeclarationStatement resultDeclaration = fAst.newVariableDeclarationStatement(fragment); resultDeclaration.setType(fAst.newPrimitiveType(PrimitiveType.INT)); |
| ||||
fragment.setName(fAst.newSimpleName(VARIABLE_NAME_DOUBLE_TEMPORARY)); VariableDeclarationStatement st2 = fAst.newVariableDeclarationStatement(fragment); st2.setType(fAst.newPrimitiveType(PrimitiveType.LONG)); |
| |||
fragment.setName(fAst.newSimpleName( [[#variable9bd9cd20]])); VariableDeclarationStatement [[#variable9bd7dfe0]]= fAst.newVariableDeclarationStatement(fragment); [[#variable9bd7dfe0]].setType(fAst.newPrimitiveType(PrimitiveType. [[#variable9bd7dfc0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bd9cd20]] | VARIABLE_NAME_DOUBLE_TEMPORARY |
1 | 2 | [[#9bd9cd20]] | VARIABLE_NAME_RESULT |
2 | 1 | [[#9bd7dfe0]] | st2 |
2 | 2 | [[#9bd7dfe0]] | resultDeclaration |
3 | 1 | [[#9bd7dfc0]] | LONG |
3 | 2 | [[#9bd7dfc0]] | INT |