CloneSet3609


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
1101041
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
2101825
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
Clone Instance
1
Line Count
10
Source Line
1041
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (commentLineLengthOption != null) {
                        try {
                                this.comment_line_length = Integer.parseInt((String) commentLineLengthOption);
                        } catch (NumberFormatException e) {
                                this.comment_line_length = 80;
                          }
                          catch (ClassCastException e) {
                                this.comment_line_length = 80;
                          }
                }
                final Object indentStatementsCompareToBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK);


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

                if (pageWidthOption != null) {
                        try {
                                this.page_width = Integer.parseInt((String) pageWidthOption);
                        } catch (NumberFormatException e) {
                                this.page_width = 80;
                          }
                          catch (ClassCastException e) {
                                this.page_width = 80;
                          }
                }
                final Object useTabOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR);


Clone AbstractionParameter Count: 4Parameter Bindings

if ( [[#variablea5309980]]!= null) {
  try {
    this. [[#variableb07f7700]]= Integer.parseInt((String)  [[#variablea5309980]]);
  }
  catch (NumberFormatException e) {
    this. [[#variableb07f7700]]= 80;
  }
  catch (ClassCastException e) {
    this. [[#variableb07f7700]]= 80;
  }
}
final Object  [[#variableb07f7720]]= settings.get(DefaultCodeFormatterConstants. [[#variablea5308fe0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a5309980]]
pageWidthOption 
12[[#a5309980]]
commentLineLengthOption 
21[[#b07f7700]]
page_width 
22[[#b07f7700]]
comment_line_length 
31[[#b07f7720]]
useTabOption 
32[[#b07f7720]]
indentStatementsCompareToBlockOption 
41[[#a5308fe0]]
FORMATTER_TAB_CHAR 
42[[#a5308fe0]]
FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK