Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.955 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 33 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BreakStatement.java |
2 | 7 | 33 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ContinueStatement.java |
| ||||
if (targetContext == null) { if (this.label == null) { currentScope.problemReporter().invalidBreak(this ); } else { currentScope.problemReporter().undefinedLabel(this ); } return flowInfo; // pretend it did not break since no actual target } |
| ||||
if (targetContext == null) { if (label == null) { currentScope.problemReporter().invalidContinue(this ); } else { currentScope.problemReporter().undefinedLabel(this ); } return flowInfo; // pretend it did not continue since no actual target } |
| |||
if (targetContext == null) { if ( [[#variable9003eaa0]]== null) { currentScope.problemReporter(). [[#variable9003ea40]](this ); } else { currentScope.problemReporter().undefinedLabel(this ); } return flowInfo; // pretend it did not break since no actual target // pretend it did not continue since no actual target } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9003eaa0]] | this.label |
1 | 2 | [[#9003eaa0]] | label |
2 | 1 | [[#9003ea40]] | invalidBreak |
2 | 2 | [[#9003ea40]] | invalidContinue |