CloneSet6341


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1330.961statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111697
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java
21215
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CastExpression.java
31150
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompoundAssignment.java
Clone Instance
1
Line Count
1
Source Line
1697
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java

        int operatorSignature = OperatorExpression.OperatorSignatures[operator][(leftTypeID << 4) + rightTypeID];


Clone Instance
2
Line Count
1
Source Line
215
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CastExpression.java

                        int alternateOperatorSignature = OperatorExpression.OperatorSignatures[operator][(alternateLeftTypeId << 4) + alternateRightTypeId];


Clone Instance
3
Line Count
1
Source Line
150
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompoundAssignment.java

                // the code is an int
                // (cast)  left   Op (cast)  rigth --> result 
                //  0000   0000       0000   0000      0000
                //  <<16   <<12       <<8     <<4        <<0
                // the conversion is stored INTO the reference (info needed for the code gen)
                int result = OperatorExpression.OperatorSignatures[operator][ (lhsID << 4) + expressionID];


Clone AbstractionParameter Count: 3Parameter Bindings

// the code is an int
// (cast)  left   Op (cast)  rigth --> result 
//  0000   0000       0000   0000      0000
//  <<16   <<12       <<8     <<4        <<0
// the conversion is stored INTO the reference (info needed for the code gen)
int  [[#variable5fe67120]]= OperatorExpression.OperatorSignatures[operator][( [[#variable5fe670a0]] << 4) +  [[#variable5fe67000]]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5fe67120]]
result 
12[[#5fe67120]]
alternateOperatorSignature 
13[[#5fe67120]]
operatorSignature 
21[[#5fe670a0]]
lhsID 
22[[#5fe670a0]]
alternateLeftTypeId 
23[[#5fe670a0]]
leftTypeID 
31[[#5fe67000]]
expressionID 
32[[#5fe67000]]
alternateRightTypeId 
33[[#5fe67000]]
rightTypeID