| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 4 | 0.962 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 875 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 2 | 10 | 885 | 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);
|
| ||||
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);
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6072c2e0]] | continuationIndentationForArrayInitializerOption |
| 1 | 2 | [[#6072c2e0]] | continuationIndentationOption |
| 2 | 1 | [[#6072d340]] | continuation_indentation_for_array_initializer |
| 2 | 2 | [[#6072d340]] | continuation_indentation |
| 3 | 1 | [[#6072dcc0]] | blankLinesAfterImportsOption |
| 3 | 2 | [[#6072dcc0]] | continuationIndentationForArrayInitializerOption |
| 4 | 1 | [[#6072dc80]] | FORMATTER_BLANK_LINES_AFTER_IMPORTS |
| 4 | 2 | [[#6072dc80]] | FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER |