CloneSet5501


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.969statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14451
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java
24547
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java
Clone Instance
1
Line Count
4
Source Line
451
Source File
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));


Clone Instance
2
Line Count
4
Source Line
547
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java

                                fragment.setName(fAst.newSimpleName(VARIABLE_NAME_DOUBLE_TEMPORARY));

                                VariableDeclarationStatement st2 = fAst.newVariableDeclarationStatement(fragment);
                                st2.setType(fAst.newPrimitiveType(PrimitiveType.LONG));


Clone AbstractionParameter Count: 3Parameter Bindings

fragment.setName(fAst.newSimpleName( [[#variable9bd9cd20]]));
VariableDeclarationStatement  [[#variable9bd7dfe0]]= fAst.newVariableDeclarationStatement(fragment);
 [[#variable9bd7dfe0]].setType(fAst.newPrimitiveType(PrimitiveType. [[#variable9bd7dfc0]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9bd9cd20]]
VARIABLE_NAME_DOUBLE_TEMPORARY 
12[[#9bd9cd20]]
VARIABLE_NAME_RESULT 
21[[#9bd7dfe0]]
st2 
22[[#9bd7dfe0]]
resultDeclaration 
31[[#9bd7dfc0]]
LONG 
32[[#9bd7dfc0]]
INT