Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.963 | conditional_or_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 172 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ArrayInitializer.java |
2 | 5 | 126 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java |
| ||||
scope.isBoxingCompatibleWith(exprType, elementType) || (exprType.isBaseType() // narrowing then boxing ? && scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing && !elementType.isBaseType() && expression.isConstantValueOfTypeAssignableToType(exprType, scope.environment().computeBoxingType(elementType))) |
| ||||
scope.isBoxingCompatibleWith(caseType, switchExpressionType) || (caseType.isBaseType() // narrowing then boxing ? && scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing && !switchExpressionType.isBaseType() && constantExpression.isConstantValueOfTypeAssignableToType(caseType, scope.environment().computeBoxingType(switchExpressionType))) |
| |||
scope.isBoxingCompatibleWith( [[#variable753d8440]], [[#variablea3571f40]]) || ( [[#variable753d8440]].isBaseType() // narrowing then boxing ? && scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing && ! [[#variablea3571f40]].isBaseType() && [[#variable753d8c00]].isConstantValueOfTypeAssignableToType( [[#variable753d8440]], scope.environment().computeBoxingType( [[#variablea3571f40]]))) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#753d8440]] | exprType |
1 | 2 | [[#753d8440]] | caseType |
2 | 1 | [[#a3571f40]] | elementType |
2 | 2 | [[#a3571f40]] | switchExpressionType |
3 | 1 | [[#753d8c00]] | expression |
3 | 2 | [[#753d8c00]] | constantExpression |