CloneSet3719


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1772
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java
2781
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java
Clone Instance
1
Line Count
7
Source Line
72
Source File
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;


Clone Instance
2
Line Count
7
Source Line
81
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java

                                                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;


Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None