CloneSet3307


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.969conditional_or_expression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15204
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Assignment.java
25242
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ReturnStatement.java
Clone Instance
1
Line Count
5
Source Line
204
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Assignment.java

                   scope.isBoxingCompatibleWith(rhsType, lhsType) ||
                                                   (rhsType.isBaseType()  // narrowing then boxing ?
                                                    &&             scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing
                                                    &&             !lhsType.isBaseType() &&
                                                                   this.expression.isConstantValueOfTypeAssignableToType(rhsType, scope.environment().computeBoxingType(lhsType)))


Clone Instance
2
Line Count
5
Source Line
242
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ReturnStatement.java

                   scope.isBoxingCompatibleWith(expressionType, methodType) ||
                                                   (expressionType.isBaseType()  // narrowing then boxing ?
                                                    &&             scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing
                                                    &&             !methodType.isBaseType() &&
                                                                   this.expression.isConstantValueOfTypeAssignableToType(expressionType, scope.environment().computeBoxingType(methodType)))


Clone AbstractionParameter Count: 2Parameter Bindings

scope.isBoxingCompatibleWith( [[#variable59ca1920]],  [[#variable59ca18a0]]) || ( [[#variable59ca1920]].isBaseType() // narrowing then boxing ?
                                                                                 && scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing
                                                                                 && ! [[#variable59ca18a0]].isBaseType() && this.expression.isConstantValueOfTypeAssignableToType( [[#variable59ca1920]], scope.environment().computeBoxingType( [[#variable59ca18a0]])))
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59ca1920]]
expressionType 
12[[#59ca1920]]
rhsType 
21[[#59ca18a0]]
methodType 
22[[#59ca18a0]]
lhsType