Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 7 | 5 | 0.956 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 231 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
2 | 8 | 297 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
3 | 8 | 318 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
4 | 8 | 343 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
5 | 8 | 381 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
6 | 8 | 446 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
7 | 8 | 463 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
| ||||
checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_IN_WHILE_CONDITION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE); checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS); |
| ||||
checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BEFORE_FIRST_ARGUMENT, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION); checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BEFORE_MESSAGE_SEND, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION); |
| ||||
checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BEFORE_METHOD_OPEN_BRACE, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BEFORE_CONSTRUCTOR_DECLARATION_OPEN_PAREN, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION); |
| ||||
checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BEFORE_METHOD_DECLARATION_OPEN_PAREN, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION); |
| ||||
checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARGUMENTS, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARRAY_INITIALIZER, DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER); |
| ||||
checkAndReplace(oldSettings, FORMATTER_METHOD_DECLARATION_ARGUMENTS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION); checkAndReplace(oldSettings, FORMATTER_MESSAGE_SEND_SELECTOR_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION); |
| ||||
checkAndReplace(oldSettings, FORMATTER_METHOD_THROWS_CLAUSE_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION); checkAndReplace(oldSettings, FORMATTER_EXPLICIT_CONSTRUCTOR_ARGUMENTS_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL); |
| |||
checkAndReplace(oldSettings, [[#variable967dbd60]], DefaultCodeFormatterConstants. [[#variable967dbd40]], DefaultCodeFormatterConstants. [[#variable967dbd80]]); checkAndReplace(oldSettings, [[#variable52326800]], DefaultCodeFormatterConstants. [[#variable9b7e4c20]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#967dbd60]] | FORMATTER_METHOD_THROWS_CLAUSE_ALIGNMENT |
1 | 2 | [[#967dbd60]] | FORMATTER_METHOD_DECLARATION_ARGUMENTS_ALIGNMENT |
1 | 3 | [[#967dbd60]] | FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARGUMENTS |
1 | 4 | [[#967dbd60]] | FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN |
1 | 5 | [[#967dbd60]] | FORMATTER_INSERT_SPACE_BEFORE_METHOD_OPEN_BRACE |
1 | 6 | [[#967dbd60]] | FORMATTER_INSERT_SPACE_BEFORE_FIRST_ARGUMENT |
1 | 7 | [[#967dbd60]] | FORMATTER_INSERT_SPACE_IN_WHILE_CONDITION |
2 | 1 | [[#967dbd40]] | FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION |
2 | 2 | [[#967dbd40]] | FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION |
2 | 3 | [[#967dbd40]] | FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION |
2 | 4 | [[#967dbd40]] | FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION |
2 | 5 | [[#967dbd40]] | FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION |
2 | 6 | [[#967dbd40]] | FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION |
2 | 7 | [[#967dbd40]] | FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE |
3 | 1 | [[#967dbd80]] | FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION |
3 | 2 | [[#967dbd80]] | FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION |
3 | 3 | [[#967dbd80]] | FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION |
3 | 4 | [[#967dbd80]] | FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION |
3 | 5 | [[#967dbd80]] | FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION |
3 | 6 | [[#967dbd80]] | FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION |
3 | 7 | [[#967dbd80]] | FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE |
4 | 1 | [[#52326800]] | FORMATTER_EXPLICIT_CONSTRUCTOR_ARGUMENTS_ALIGNMENT |
4 | 2 | [[#52326800]] | FORMATTER_MESSAGE_SEND_SELECTOR_ALIGNMENT |
4 | 3 | [[#52326800]] | FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARRAY_INITIALIZER |
4 | 4 | [[#52326800]] | FORMATTER_INSERT_SPACE_BEFORE_METHOD_DECLARATION_OPEN_PAREN |
4 | 5 | [[#52326800]] | FORMATTER_INSERT_SPACE_BEFORE_CONSTRUCTOR_DECLARATION_OPEN_PAREN |
4 | 6 | [[#52326800]] | FORMATTER_INSERT_SPACE_BEFORE_MESSAGE_SEND |
4 | 7 | [[#52326800]] | FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_ARGUMENTS |
5 | 1 | [[#9b7e4c20]] | FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL |
5 | 2 | [[#9b7e4c20]] | FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION |
5 | 3 | [[#9b7e4c20]] | FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER |
5 | 4 | [[#9b7e4c20]] | FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION |
5 | 5 | [[#9b7e4c20]] | FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION |
5 | 6 | [[#9b7e4c20]] | FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION |
5 | 7 | [[#9b7e4c20]] | FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS |