Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 2506 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 8 | 1124 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
if (this.preferences.insert_new_line_before_closing_brace_in_array_initializer) { this.scribe.printNewLine(); } else if (this.preferences.insert_space_before_closing_brace_in_array_initializer) { this.scribe.space(); } this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE, false); if (array_initializer_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) { this.scribe.unIndent(); } |
| ||||
if (this.preferences.insert_new_line_before_closing_brace_in_array_initializer) { this.scribe.printNewLine(); } else if (this.preferences.insert_space_before_closing_brace_in_array_initializer) { this.scribe.space(); } this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE, false); if (array_initializer_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) { this.scribe.unIndent(); } |
| |||
if (this.preferences.insert_new_line_before_closing_brace_in_array_initializer) { this.scribe.printNewLine(); } else if (this.preferences.insert_space_before_closing_brace_in_array_initializer) { this.scribe.space(); } this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE, false); if (array_initializer_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) { this.scribe.unIndent(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |