Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 4 | 0.972 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 418 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
2 | 11 | 434 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
| ||||
checkAndReplace(oldSettings, FORMATTER_COMPACT_IF_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); checkAndReplace(oldSettings, FORMATTER_MESSAGE_SEND_ARGUMENTS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION); checkAndReplace(oldSettings, FORMATTER_QUALIFIED_ALLOCATION_EXPRESSION_ARGUMENTS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION); |
| ||||
checkAndReplace(oldSettings, FORMATTER_COMPACT_IF_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); checkAndReplace(oldSettings, FORMATTER_CONDITIONAL_EXPRESSION_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION); checkAndReplace(oldSettings, FORMATTER_ARRAY_INITIALIZER_EXPRESSIONS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER); |
| |||
checkAndReplace(oldSettings, FORMATTER_COMPACT_IF_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); checkAndReplace(oldSettings, [[#variable77b05160]], DefaultCodeFormatterConstants. [[#variable77b05100]]); checkAndReplace(oldSettings, [[#variable5255dbc0]], DefaultCodeFormatterConstants. [[#variable77b05060]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#77b05160]] | FORMATTER_CONDITIONAL_EXPRESSION_ALIGNMENT |
1 | 2 | [[#77b05160]] | FORMATTER_MESSAGE_SEND_ARGUMENTS_ALIGNMENT |
2 | 1 | [[#77b05100]] | FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION |
2 | 2 | [[#77b05100]] | FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION |
3 | 1 | [[#5255dbc0]] | FORMATTER_ARRAY_INITIALIZER_EXPRESSIONS_ALIGNMENT |
3 | 2 | [[#5255dbc0]] | FORMATTER_QUALIFIED_ALLOCATION_EXPRESSION_ARGUMENTS_ALIGNMENT |
4 | 1 | [[#77b05060]] | FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER |
4 | 2 | [[#77b05060]] | FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION |