| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 4 | 3 | 0.973 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 2781 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| 2 | 9 | 3233 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| 3 | 8 | 1243 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| 4 | 8 | 1543 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
{
this.scribe.printNextToken(TerminalTokens.TokenNamebreak);
if (breakStatement.label != null) {
this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
}
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
this.scribe.printTrailingComment();
return false;
}
|
| ||||
{
this.scribe.printNextToken(TerminalTokens.TokenNamecontinue);
if (continueStatement.label != null) {
this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
}
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
this.scribe.printTrailingComment();
return false;
}
|
| ||||
{
this.scribe.printNextToken(TerminalTokens.TokenNamebreak);
if (node.getLabel() != null) {
this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
}
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
this.scribe.printTrailingComment();
return false;
}
|
| ||||
{
this.scribe.printNextToken(TerminalTokens.TokenNamecontinue);
if (node.getLabel() != null) {
this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
}
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
this.scribe.printTrailingComment();
return false;
}
|
| |||
{
this.scribe.printNextToken(TerminalTokens. [[#variable986dcd40]]);
if ( [[#variable96ad6520]] [[#variable96ad6600]]!= null) {
this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
}
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
this.scribe.printTrailingComment();
return false;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#986dcd40]] | TokenNamecontinue |
| 1 | 2 | [[#986dcd40]] | TokenNamebreak |
| 1 | 3 | [[#986dcd40]] | TokenNamecontinue |
| 1 | 4 | [[#986dcd40]] | TokenNamebreak |
| 2 | 1 | [[#96ad6520]] | continueStatement |
| 2 | 2 | [[#96ad6520]] | breakStatement |
| 2 | 3 | [[#96ad6520]] | node |
| 2 | 4 | [[#96ad6520]] | node |
| 3 | 1 | [[#96ad6600]] | .label |
| 3 | 2 | [[#96ad6600]] | .label |
| 3 | 3 | [[#96ad6600]] | .getLabel() |
| 3 | 4 | [[#96ad6600]] | .getLabel() |