Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 4910 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 16 | 3030 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
if (this.preferences.indent_breaks_compare_to_cases) { if (wasAStatement && !this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.indent(); } } else { if (wasAStatement) { if (this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.unIndent(); } } if (wasACase && this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.unIndent(); } } if (wasACase) { this.scribe.printNewLine(); } |
| ||||
if (this.preferences.indent_breaks_compare_to_cases) { if (wasAStatement && !this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.indent(); } } else { if (wasAStatement) { if (this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.unIndent(); } } if (wasACase && this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.unIndent(); } } if (wasACase) { this.scribe.printNewLine(); } |
| |||
if (this.preferences.indent_breaks_compare_to_cases) { if (wasAStatement && !this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.indent(); } } else { if (wasAStatement) { if (this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.unIndent(); } } if (wasACase && this.preferences.indent_switchstatements_compare_to_cases) { this.scribe.unIndent(); } } if (wasACase) { this.scribe.printNewLine(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |