Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 3 | 3 | 0.961 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 1697 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java |
2 | 1 | 215 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CastExpression.java |
3 | 1 | 150 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompoundAssignment.java |
| ||||
int operatorSignature = OperatorExpression.OperatorSignatures[operator][(leftTypeID << 4) + rightTypeID]; |
| ||||
int alternateOperatorSignature = OperatorExpression.OperatorSignatures[operator][(alternateLeftTypeId << 4) + alternateRightTypeId]; |
| ||||
// 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]; |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5fe67120]] | result |
1 | 2 | [[#5fe67120]] | alternateOperatorSignature |
1 | 3 | [[#5fe67120]] | operatorSignature |
2 | 1 | [[#5fe670a0]] | lhsID |
2 | 2 | [[#5fe670a0]] | alternateLeftTypeId |
2 | 3 | [[#5fe670a0]] | leftTypeID |
3 | 1 | [[#5fe67000]] | expressionID |
3 | 2 | [[#5fe67000]] | alternateRightTypeId |
3 | 3 | [[#5fe67000]] | rightTypeID |