| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 11 | 4 | 0.957 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 787 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 2 | 8 | 795 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 3 | 8 | 803 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 4 | 8 | 811 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 5 | 8 | 819 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 6 | 8 | 827 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 7 | 8 | 835 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 8 | 8 | 843 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 9 | 8 | 851 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 10 | 8 | 859 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| 11 | 8 | 867 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| ||||
if (bracePositionForAnnotationTypeDeclarationOption != null) {
try {
this.brace_position_for_annotation_type_declaration = (String) bracePositionForAnnotationTypeDeclarationOption;
} catch (ClassCastException e) {
this.brace_position_for_annotation_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForAnonymousTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION);
|
| ||||
if (bracePositionForAnonymousTypeDeclarationOption != null) {
try {
this.brace_position_for_anonymous_type_declaration = (String) bracePositionForAnonymousTypeDeclarationOption;
} catch (ClassCastException e) {
this.brace_position_for_anonymous_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER);
|
| ||||
if (bracePositionForArrayInitializerOption != null) {
try {
this.brace_position_for_array_initializer = (String) bracePositionForArrayInitializerOption;
} catch (ClassCastException e) {
this.brace_position_for_array_initializer = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK);
|
| ||||
if (bracePositionForBlockOption != null) {
try {
this.brace_position_for_block = (String) bracePositionForBlockOption;
} catch (ClassCastException e) {
this.brace_position_for_block = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForBlockInCaseOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE);
|
| ||||
if (bracePositionForBlockInCaseOption != null) {
try {
this.brace_position_for_block_in_case = (String) bracePositionForBlockInCaseOption;
} catch (ClassCastException e) {
this.brace_position_for_block_in_case = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION);
|
| ||||
if (bracePositionForConstructorDeclarationOption != null) {
try {
this.brace_position_for_constructor_declaration = (String) bracePositionForConstructorDeclarationOption;
} catch (ClassCastException e) {
this.brace_position_for_constructor_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT);
|
| ||||
if (bracePositionForEnumConstantOption != null) {
try {
this.brace_position_for_enum_constant = (String) bracePositionForEnumConstantOption;
} catch (ClassCastException e) {
this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION);
|
| ||||
if (bracePositionForEnumDeclarationOption != null) {
try {
this.brace_position_for_enum_declaration = (String) bracePositionForEnumDeclarationOption;
} catch (ClassCastException e) {
this.brace_position_for_enum_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION);
|
| ||||
if (bracePositionForMethodDeclarationOption != null) {
try {
this.brace_position_for_method_declaration = (String) bracePositionForMethodDeclarationOption;
} catch (ClassCastException e) {
this.brace_position_for_method_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH);
|
| ||||
if (bracePositionForSwitchOption != null) {
try {
this.brace_position_for_switch = (String) bracePositionForSwitchOption;
} catch (ClassCastException e) {
this.brace_position_for_switch = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object bracePositionForTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION);
|
| ||||
if (bracePositionForTypeDeclarationOption != null) {
try {
this.brace_position_for_type_declaration = (String) bracePositionForTypeDeclarationOption;
} catch (ClassCastException e) {
this.brace_position_for_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object continuationIndentationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION);
|
| |||
if ( [[#variableb5611140]]!= null) {
try {
this. [[#variableb42839a0]]= (String) [[#variableb5611140]];
}
catch (ClassCastException e) {
this. [[#variableb42839a0]]= DefaultCodeFormatterConstants.END_OF_LINE;
}
}
final Object [[#variableb88808c0]]= settings.get(DefaultCodeFormatterConstants. [[#variableb5611180]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b5611140]] | bracePositionForTypeDeclarationOption |
| 1 | 2 | [[#b5611140]] | bracePositionForSwitchOption |
| 1 | 3 | [[#b5611140]] | bracePositionForMethodDeclarationOption |
| 1 | 4 | [[#b5611140]] | bracePositionForEnumDeclarationOption |
| 1 | 5 | [[#b5611140]] | bracePositionForEnumConstantOption |
| 1 | 6 | [[#b5611140]] | bracePositionForConstructorDeclarationOption |
| 1 | 7 | [[#b5611140]] | bracePositionForBlockInCaseOption |
| 1 | 8 | [[#b5611140]] | bracePositionForBlockOption |
| 1 | 9 | [[#b5611140]] | bracePositionForArrayInitializerOption |
| 1 | 10 | [[#b5611140]] | bracePositionForAnonymousTypeDeclarationOption |
| 1 | 11 | [[#b5611140]] | bracePositionForAnnotationTypeDeclarationOption |
| 2 | 1 | [[#b42839a0]] | brace_position_for_type_declaration |
| 2 | 2 | [[#b42839a0]] | brace_position_for_switch |
| 2 | 3 | [[#b42839a0]] | brace_position_for_method_declaration |
| 2 | 4 | [[#b42839a0]] | brace_position_for_enum_declaration |
| 2 | 5 | [[#b42839a0]] | brace_position_for_enum_constant |
| 2 | 6 | [[#b42839a0]] | brace_position_for_constructor_declaration |
| 2 | 7 | [[#b42839a0]] | brace_position_for_block_in_case |
| 2 | 8 | [[#b42839a0]] | brace_position_for_block |
| 2 | 9 | [[#b42839a0]] | brace_position_for_array_initializer |
| 2 | 10 | [[#b42839a0]] | brace_position_for_anonymous_type_declaration |
| 2 | 11 | [[#b42839a0]] | brace_position_for_annotation_type_declaration |
| 3 | 1 | [[#b88808c0]] | continuationIndentationOption |
| 3 | 2 | [[#b88808c0]] | bracePositionForTypeDeclarationOption |
| 3 | 3 | [[#b88808c0]] | bracePositionForSwitchOption |
| 3 | 4 | [[#b88808c0]] | bracePositionForMethodDeclarationOption |
| 3 | 5 | [[#b88808c0]] | bracePositionForEnumDeclarationOption |
| 3 | 6 | [[#b88808c0]] | bracePositionForEnumConstantOption |
| 3 | 7 | [[#b88808c0]] | bracePositionForConstructorDeclarationOption |
| 3 | 8 | [[#b88808c0]] | bracePositionForBlockInCaseOption |
| 3 | 9 | [[#b88808c0]] | bracePositionForBlockOption |
| 3 | 10 | [[#b88808c0]] | bracePositionForArrayInitializerOption |
| 3 | 11 | [[#b88808c0]] | bracePositionForAnonymousTypeDeclarationOption |
| 4 | 1 | [[#b5611180]] | FORMATTER_CONTINUATION_INDENTATION |
| 4 | 2 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION |
| 4 | 3 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_SWITCH |
| 4 | 4 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION |
| 4 | 5 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION |
| 4 | 6 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT |
| 4 | 7 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION |
| 4 | 8 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE |
| 4 | 9 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_BLOCK |
| 4 | 10 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER |
| 4 | 11 | [[#b5611180]] | FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION |