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 | 1091 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
2 | 10 | 1811 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java |
| ||||
if (indentationSizeOption != null) { try { this.indentation_size = Integer.parseInt((String) indentationSizeOption); } catch (NumberFormatException e) { this.indentation_size = 4; } catch (ClassCastException e) { this.indentation_size = 4; } } final Object insertNewLineAfterAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION); |
| ||||
if (tabSizeOption != null) { try { this.tab_size = Integer.parseInt((String) tabSizeOption); } catch (NumberFormatException e) { this.tab_size = 4; } catch (ClassCastException e) { this.tab_size = 4; } } final Object useTabsOnlyForLeadingIndentationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS); |
| |||
if ( [[#variable51106240]]!= null) { try { this. [[#variableb07f7540]]= Integer.parseInt((String) [[#variable51106240]]); } catch (NumberFormatException e) { this. [[#variableb07f7540]]= 4; } catch (ClassCastException e) { this. [[#variableb07f7540]]= 4; } } final Object [[#variable51107840]]= settings.get(DefaultCodeFormatterConstants. [[#variable511062a0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51106240]] | tabSizeOption |
1 | 2 | [[#51106240]] | indentationSizeOption |
2 | 1 | [[#b07f7540]] | tab_size |
2 | 2 | [[#b07f7540]] | indentation_size |
3 | 1 | [[#51107840]] | useTabsOnlyForLeadingIndentationsOption |
3 | 2 | [[#51107840]] | insertNewLineAfterAnnotationOption |
4 | 1 | [[#511062a0]] | FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS |
4 | 2 | [[#511062a0]] | FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION |