CloneSet2578


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.981statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
153180
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
254127
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
352405
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
5
Source Line
3180
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.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);
                        }


Clone Instance
2
Line Count
5
Source Line
4127
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

            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);
                        }


Clone Instance
3
Line Count
5
Source Line
2405
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

            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);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b413c200]]
method_declaration_brace 
12[[#b413c200]]
constructor_declaration_brace 
13[[#b413c200]]
method_declaration_brace 
21[[#b413dd20]]
insert_space_before_opening_brace_in_method_declaration 
22[[#b413dd20]]
insert_space_before_opening_brace_in_constructor_declaration 
23[[#b413dd20]]
insert_space_before_opening_brace_in_method_declaration