Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.978 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 221 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CastExpression.java |
2 | 2 | 833 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/EqualExpression.java |
| ||||
if (leftIsCast) scope.problemReporter().unnecessaryCast((CastExpression) left); if (rightIsCast) scope.problemReporter().unnecessaryCast((CastExpression) right); |
| ||||
if (unnecessaryLeftCast) scope.problemReporter().unnecessaryCast((CastExpression) left); if (unnecessaryRightCast) scope.problemReporter().unnecessaryCast((CastExpression) right); |
| |||
if ( [[#variable4ea998c0]]) scope.problemReporter().unnecessaryCast((CastExpression) left); if ( [[#variable4ea999c0]]) scope.problemReporter().unnecessaryCast((CastExpression) right); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ea998c0]] | leftIsCast |
1 | 2 | [[#4ea998c0]] | unnecessaryLeftCast |
2 | 1 | [[#4ea999c0]] | rightIsCast |
2 | 2 | [[#4ea999c0]] | unnecessaryRightCast |