Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 5 | 0.961 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 1675 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java |
2 | 4 | 1681 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BinaryExpression.java |
| ||||
if (leftTypeID == TypeIds.T_JavaLangString) { this.left.computeConversion(scope, leftType, leftType); if (rightType.isArrayType() && ((ArrayBinding) rightType).elementsType() == TypeBinding.CHAR) { scope.problemReporter().signalNoImplicitStringConversionForCharArrayExpression(this.right); } } |
| ||||
if (rightTypeID == TypeIds.T_JavaLangString) { this.right.computeConversion(scope, rightType, rightType); if (leftType.isArrayType() && ((ArrayBinding) leftType).elementsType() == TypeBinding.CHAR) { scope.problemReporter().signalNoImplicitStringConversionForCharArrayExpression(this.left); } } |
| |||
if ( [[#variable7deae580]]== TypeIds.T_JavaLangString) { this. [[#variable7deae500]].computeConversion(scope, [[#variable7deae480]], [[#variable7deae480]]); if ( [[#variable7deae400]].isArrayType() && ((ArrayBinding) [[#variable7deae400]]).elementsType() == TypeBinding.CHAR) { scope.problemReporter().signalNoImplicitStringConversionForCharArrayExpression(this. [[#variable7deae380]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7deae580]] | rightTypeID |
1 | 2 | [[#7deae580]] | leftTypeID |
2 | 1 | [[#7deae500]] | right |
2 | 2 | [[#7deae500]] | left |
3 | 1 | [[#7deae480]] | rightType |
3 | 2 | [[#7deae480]] | leftType |
4 | 1 | [[#7deae400]] | leftType |
4 | 2 | [[#7deae400]] | rightType |
5 | 1 | [[#7deae380]] | left |
5 | 2 | [[#7deae380]] | right |