Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 1 | 0.987 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 3197 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 18 | 4134 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| ||||
if (statements != null) { this.scribe.printNewLine(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.indent(); } formatStatements(constructorDeclaration.scope, statements, true); this.scribe.printComment(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.unIndent(); } } else if (this.preferences.insert_new_line_in_empty_method_body) { this.scribe.printNewLine(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.indent(); } this.scribe.printComment(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.unIndent(); } } |
| ||||
if (statements != null) { this.scribe.printNewLine(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.indent(); } formatStatements(methodDeclarationScope, statements, true); this.scribe.printComment(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.unIndent(); } } else if (this.preferences.insert_new_line_in_empty_method_body) { this.scribe.printNewLine(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.indent(); } this.scribe.printComment(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.unIndent(); } } |
| |||
if (statements != null) { this.scribe.printNewLine(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.indent(); } formatStatements( [[#variableb34c7480]], statements, true); this.scribe.printComment(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.unIndent(); } } else if (this.preferences.insert_new_line_in_empty_method_body) { this.scribe.printNewLine(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.indent(); } this.scribe.printComment(); if (this.preferences.indent_statements_compare_to_body) { this.scribe.unIndent(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b34c7480]] | constructorDeclaration.scope |
1 | 2 | [[#b34c7480]] | methodDeclarationScope |