Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 8 | 3 | 0.968 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 3281 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 4 | 3324 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
3 | 4 | 5102 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
4 | 4 | 5122 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
5 | 4 | 1578 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
6 | 4 | 1597 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
7 | 4 | 3144 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
8 | 4 | 3166 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
if (this.preferences.insert_new_line_before_while_in_do_statement) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNamewhile, this.preferences.insert_space_after_closing_brace_in_block); |
| ||||
if (this.preferences.put_empty_statement_on_new_line) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); |
| ||||
if (this.preferences.insert_new_line_before_catch_in_try_statement) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNamecatch, this.preferences.insert_space_after_closing_brace_in_block); |
| ||||
if (this.preferences.insert_new_line_before_finally_in_try_statement) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNamefinally, this.preferences.insert_space_after_closing_brace_in_block); |
| ||||
if (this.preferences.insert_new_line_before_while_in_do_statement) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNamewhile, this.preferences.insert_space_after_closing_brace_in_block); |
| ||||
if (this.preferences.put_empty_statement_on_new_line) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); |
| ||||
if (this.preferences.insert_new_line_before_catch_in_try_statement) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNamecatch, this.preferences.insert_space_after_closing_brace_in_block); |
| ||||
if (this.preferences.insert_new_line_before_finally_in_try_statement) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens.TokenNamefinally, this.preferences.insert_space_after_closing_brace_in_block); |
| |||
if (this.preferences. [[#variable967f7d20]]) { this.scribe.printNewLine(); } this.scribe.printNextToken(TerminalTokens. [[#variable967f6720]], this.preferences. [[#variable967f7cc0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#967f7d20]] | insert_new_line_before_finally_in_try_statement |
1 | 2 | [[#967f7d20]] | insert_new_line_before_catch_in_try_statement |
1 | 3 | [[#967f7d20]] | put_empty_statement_on_new_line |
1 | 4 | [[#967f7d20]] | insert_new_line_before_while_in_do_statement |
1 | 5 | [[#967f7d20]] | insert_new_line_before_finally_in_try_statement |
1 | 6 | [[#967f7d20]] | insert_new_line_before_catch_in_try_statement |
1 | 7 | [[#967f7d20]] | put_empty_statement_on_new_line |
1 | 8 | [[#967f7d20]] | insert_new_line_before_while_in_do_statement |
2 | 1 | [[#967f6720]] | TokenNamefinally |
2 | 2 | [[#967f6720]] | TokenNamecatch |
2 | 3 | [[#967f6720]] | TokenNameSEMICOLON |
2 | 4 | [[#967f6720]] | TokenNamewhile |
2 | 5 | [[#967f6720]] | TokenNamefinally |
2 | 6 | [[#967f6720]] | TokenNamecatch |
2 | 7 | [[#967f6720]] | TokenNameSEMICOLON |
2 | 8 | [[#967f6720]] | TokenNamewhile |
3 | 1 | [[#967f7cc0]] | insert_space_after_closing_brace_in_block |
3 | 2 | [[#967f7cc0]] | insert_space_after_closing_brace_in_block |
3 | 3 | [[#967f7cc0]] | insert_space_before_semicolon |
3 | 4 | [[#967f7cc0]] | insert_space_after_closing_brace_in_block |
3 | 5 | [[#967f7cc0]] | insert_space_after_closing_brace_in_block |
3 | 6 | [[#967f7cc0]] | insert_space_after_closing_brace_in_block |
3 | 7 | [[#967f7cc0]] | insert_space_before_semicolon |
3 | 8 | [[#967f7cc0]] | insert_space_after_closing_brace_in_block |