Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.981 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 3180 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 5 | 4127 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
3 | 5 | 2405 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
formatLeftCurlyBrace(line, constructor_declaration_brace); formatOpeningBrace(constructor_declaration_brace, this.preferences.insert_space_before_opening_brace_in_constructor_declaration); final int numberOfBlankLinesAtBeginningOfMethodBody = this.preferences.blank_lines_at_beginning_of_method_body; if (numberOfBlankLinesAtBeginningOfMethodBody > 0) { this.scribe.printEmptyLines(numberOfBlankLinesAtBeginningOfMethodBody); } |
| ||||
formatLeftCurlyBrace(line, method_declaration_brace); formatOpeningBrace(method_declaration_brace, this.preferences.insert_space_before_opening_brace_in_method_declaration); final int numberOfBlankLinesAtBeginningOfMethodBody = this.preferences.blank_lines_at_beginning_of_method_body; if (numberOfBlankLinesAtBeginningOfMethodBody > 0) { this.scribe.printEmptyLines(numberOfBlankLinesAtBeginningOfMethodBody); } |
| ||||
formatLeftCurlyBrace(line, method_declaration_brace); formatOpeningBrace(method_declaration_brace, this.preferences.insert_space_before_opening_brace_in_method_declaration); final int numberOfBlankLinesAtBeginningOfMethodBody = this.preferences.blank_lines_at_beginning_of_method_body; if (numberOfBlankLinesAtBeginningOfMethodBody > 0) { this.scribe.printEmptyLines(numberOfBlankLinesAtBeginningOfMethodBody); } |
| |||
formatLeftCurlyBrace(line, [[#variableb413c200]]); formatOpeningBrace( [[#variableb413c200]], this.preferences. [[#variableb413dd20]]); final int numberOfBlankLinesAtBeginningOfMethodBody = this.preferences.blank_lines_at_beginning_of_method_body; if (numberOfBlankLinesAtBeginningOfMethodBody > 0) { this.scribe.printEmptyLines(numberOfBlankLinesAtBeginningOfMethodBody); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b413c200]] | method_declaration_brace |
1 | 2 | [[#b413c200]] | constructor_declaration_brace |
1 | 3 | [[#b413c200]] | method_declaration_brace |
2 | 1 | [[#b413dd20]] | insert_space_before_opening_brace_in_method_declaration |
2 | 2 | [[#b413dd20]] | insert_space_before_opening_brace_in_constructor_declaration |
2 | 3 | [[#b413dd20]] | insert_space_before_opening_brace_in_method_declaration |