Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 5 | 6 | 0.983 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 4747 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 15 | 4763 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
3 | 15 | 4779 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
4 | 15 | 4819 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
5 | 15 | 5589 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
| ||||
{ String leftName = new String(leftType.readableName()); String rightName = new String(rightType.readableName()); String leftShortName = new String(leftType.shortReadableName()); String rightShortName = new String(rightType.shortReadableName()); if (leftShortName.equals(rightShortName)) { leftShortName = leftName; rightShortName = rightName; } this.handle( IProblem.IncompatibleTypesInEqualityOperator, new String[] { leftName, rightName }, new String[] { leftShortName, rightShortName }, expression.sourceStart, expression.sourceEnd); } |
| ||||
{ String leftName = new String(leftType.readableName()); String rightName = new String(rightType.readableName()); String leftShortName = new String(leftType.shortReadableName()); String rightShortName = new String(rightType.shortReadableName()); if (leftShortName.equals(rightShortName)) { leftShortName = leftName; rightShortName = rightName; } this.handle( IProblem.IncompatibleTypesInConditionalOperator, new String[] { leftName, rightName }, new String[] { leftShortName, rightShortName }, expression.sourceStart, expression.sourceEnd); } |
| ||||
{ String leftName = new String(leftType.readableName()); String rightName = new String(rightType.readableName()); String leftShortName = new String(leftType.shortReadableName()); String rightShortName = new String(rightType.shortReadableName()); if (leftShortName.equals(rightShortName)) { leftShortName = leftName; rightShortName = rightName; } this.handle( IProblem.IncompatibleTypesInForeach, new String[] { leftName, rightName }, new String[] { leftShortName, rightShortName }, expression.sourceStart, expression.sourceEnd); } |
| ||||
{ String leftName = new String(leftType.readableName()); String rightName = new String(rightType.readableName()); String leftShortName = new String(leftType.shortReadableName()); String rightShortName = new String(rightType.shortReadableName()); if (leftShortName.equals(rightShortName)) { leftShortName = leftName; rightShortName = rightName; } this.handle( IProblem.TypeMismatch, new String[] { leftName, rightName }, new String[] { leftShortName, rightShortName }, assignment.sourceStart, assignment.sourceEnd); } |
| ||||
{ String leftName = new String(leftType.readableName()); String rightName = new String(rightType.readableName()); String leftShortName = new String(leftType.shortReadableName()); String rightShortName = new String(rightType.shortReadableName()); if (leftShortName.equals(rightShortName)) { leftShortName = leftName; rightShortName = rightName; } this.handle( IProblem.IllegalCast, new String[] { rightName, leftName }, new String[] { rightShortName, leftShortName }, expression.sourceStart, expression.sourceEnd); } |
| |||
{ String leftName = new String(leftType.readableName()); String rightName = new String(rightType.readableName()); String leftShortName = new String(leftType.shortReadableName()); String rightShortName = new String(rightType.shortReadableName()); if (leftShortName.equals(rightShortName)) { leftShortName = leftName; rightShortName = rightName; } this.handle(IProblem. [[#variableb91fb260]], new String[] { [[#variableb91fb0a0]], [[#variableb91fb100]] }, new String[] { [[#variableb91fb080]], [[#variableb94c60c0]] }, [[#variableb91fb160]].sourceStart, [[#variableb91fb160]].sourceEnd); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b91fb260]] | IllegalCast |
1 | 2 | [[#b91fb260]] | TypeMismatch |
1 | 3 | [[#b91fb260]] | IncompatibleTypesInForeach |
1 | 4 | [[#b91fb260]] | IncompatibleTypesInConditionalOperator |
1 | 5 | [[#b91fb260]] | IncompatibleTypesInEqualityOperator |
2 | 1 | [[#b91fb0a0]] | rightName |
2 | 2 | [[#b91fb0a0]] | leftName |
2 | 3 | [[#b91fb0a0]] | leftName |
2 | 4 | [[#b91fb0a0]] | leftName |
2 | 5 | [[#b91fb0a0]] | leftName |
3 | 1 | [[#b91fb100]] | leftName |
3 | 2 | [[#b91fb100]] | rightName |
3 | 3 | [[#b91fb100]] | rightName |
3 | 4 | [[#b91fb100]] | rightName |
3 | 5 | [[#b91fb100]] | rightName |
4 | 1 | [[#b91fb080]] | rightShortName |
4 | 2 | [[#b91fb080]] | leftShortName |
4 | 3 | [[#b91fb080]] | leftShortName |
4 | 4 | [[#b91fb080]] | leftShortName |
4 | 5 | [[#b91fb080]] | leftShortName |
5 | 1 | [[#b94c60c0]] | leftShortName |
5 | 2 | [[#b94c60c0]] | rightShortName |
5 | 3 | [[#b94c60c0]] | rightShortName |
5 | 4 | [[#b94c60c0]] | rightShortName |
5 | 5 | [[#b94c60c0]] | rightShortName |
6 | 1 | [[#b91fb160]] | expression |
6 | 2 | [[#b91fb160]] | assignment |
6 | 3 | [[#b91fb160]] | expression |
6 | 4 | [[#b91fb160]] | expression |
6 | 5 | [[#b91fb160]] | expression |