| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 0 | 1.000 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 72 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java |
| 2 | 7 | 81 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java |
| ||||
if (fallThroughState == FALLTHROUGH &&
(statement.bits& ASTNode.DocumentedFallthrough) == 0) { // the case is not fall-through protected by a line comment
scope.problemReporter().possibleFallThroughCase(this.scope.enclosingCase);
}
caseInits = caseInits.mergedWith(flowInfo.unconditionalInits());
didAlreadyComplain = false; // reset complaint
fallThroughState = CASE;
|
| ||||
if (fallThroughState == FALLTHROUGH &&
(statement.bits& ASTNode.DocumentedFallthrough) == 0) {
scope.problemReporter().possibleFallThroughCase(this.scope.enclosingCase);
}
caseInits = caseInits.mergedWith(flowInfo.unconditionalInits());
didAlreadyComplain = false; // reset complaint
fallThroughState = CASE;
|
| |||
if (fallThroughState == FALLTHROUGH && (statement.bits&ASTNode.DocumentedFallthrough) == 0) { // the case is not fall-through protected by a line comment
scope.problemReporter().possibleFallThroughCase(this.scope.enclosingCase);
}
caseInits = caseInits.mergedWith(flowInfo.unconditionalInits());
didAlreadyComplain = false; // reset complaint
fallThroughState = CASE;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||