CloneSet2962


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.969statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1124876
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
2122996
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
12
Source Line
4876
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                this.scribe.printNextToken(TerminalTokens.TokenNameRPAREN, this.preferences.insert_space_before_closing_paren_in_switch);
                /*
                 * Type body
                 */
                String switch_brace = this.preferences.brace_position_for_switch;
                formatOpeningBrace(switch_brace, this.preferences.insert_space_before_opening_brace_in_switch);
                this.scribe.printNewLine();

                if (this.preferences.indent_switchstatements_compare_to_switch) {
                        this.scribe.indent();
                }
                final Statement[] statements = switchStatement.statements;


Clone Instance
2
Line Count
12
Source Line
2996
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                this.scribe.printNextToken(TerminalTokens.TokenNameRPAREN, this.preferences.insert_space_before_closing_paren_in_switch);
                /*
                 * Type body
                 */
                String switch_brace = this.preferences.brace_position_for_switch;
                formatOpeningBrace(switch_brace, this.preferences.insert_space_before_opening_brace_in_switch);
                this.scribe.printNewLine();

                if (this.preferences.indent_switchstatements_compare_to_switch) {
                        this.scribe.indent();
                }
                final List statements = node.statements();


Clone AbstractionParameter Count: 4Parameter Bindings

this.scribe.printNextToken(TerminalTokens.TokenNameRPAREN, this.preferences.insert_space_before_closing_paren_in_switch);
/*
                 * Type body
                 */
String switch_brace = this.preferences.brace_position_for_switch;
formatOpeningBrace(switch_brace, this.preferences.insert_space_before_opening_brace_in_switch);
this.scribe.printNewLine();
if (this.preferences.indent_switchstatements_compare_to_switch) {
  this.scribe.indent();
}
final [[#variable52d5d920]] [[#variable52d5d8a0]] statements = [[#variable52d5d820]] [[#variable5603f9c0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52d5d920]]
Statement 
12[[#52d5d920]]
List 
21[[#52d5d8a0]]
[] 
22[[#52d5d8a0]]
31[[#52d5d820]]
switchStatement 
32[[#52d5d820]]
node 
41[[#5603f9c0]]
.statements 
42[[#5603f9c0]]
.statements()