CloneSet3610


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.962statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110875
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
210885
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
Clone Instance
1
Line Count
10
Source Line
875
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (continuationIndentationOption != null) {
                        try {
                                this.continuation_indentation = Integer.parseInt((String) continuationIndentationOption);
                        } catch (NumberFormatException e) {
                                this.continuation_indentation = 2;
                          }
                          catch (ClassCastException e) {
                                this.continuation_indentation = 2;
                          }
                }
                final Object continuationIndentationForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER);


Clone Instance
2
Line Count
10
Source Line
885
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (continuationIndentationForArrayInitializerOption != null) {
                        try {
                                this.continuation_indentation_for_array_initializer = Integer.parseInt((String) continuationIndentationForArrayInitializerOption);
                        } catch (NumberFormatException e) {
                                this.continuation_indentation_for_array_initializer = 2;
                          }
                          catch (ClassCastException e) {
                                this.continuation_indentation_for_array_initializer = 2;
                          }
                }
                final Object blankLinesAfterImportsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_IMPORTS);


Clone AbstractionParameter Count: 4Parameter Bindings

if ( [[#variable6072c2e0]]!= null) {
  try {
    this. [[#variable6072d340]]= Integer.parseInt((String)  [[#variable6072c2e0]]);
  }
  catch (NumberFormatException e) {
    this. [[#variable6072d340]]= 2;
  }
  catch (ClassCastException e) {
    this. [[#variable6072d340]]= 2;
  }
}
final Object  [[#variable6072dcc0]]= settings.get(DefaultCodeFormatterConstants. [[#variable6072dc80]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6072c2e0]]
continuationIndentationForArrayInitializerOption 
12[[#6072c2e0]]
continuationIndentationOption 
21[[#6072d340]]
continuation_indentation_for_array_initializer 
22[[#6072d340]]
continuation_indentation 
31[[#6072dcc0]]
blankLinesAfterImportsOption 
32[[#6072dcc0]]
continuationIndentationForArrayInitializerOption 
41[[#6072dc80]]
FORMATTER_BLANK_LINES_AFTER_IMPORTS 
42[[#6072dc80]]
FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER