Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.954 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 276 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyProcessor.java |
2 | 7 | 767 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java |
| ||||
{ Expression newInitializer = null; if (mapping.length > 0) newInitializer = createPlaceholderForExpression(oldFieldFragment.getInitializer(), field.getCompilationUnit(), mapping, rewrite); else newInitializer = createPlaceholderForExpression(oldFieldFragment.getInitializer(), field.getCompilationUnit(), rewrite); newFragment.setInitializer(newInitializer); } |
| ||||
{ Expression newInitializer = null; if (mapping.length > 0) newInitializer = createPlaceholderForExpression(initializer, field.getCompilationUnit(), mapping, rewrite); else newInitializer = createPlaceholderForExpression(initializer, field.getCompilationUnit(), rewrite); newFragment.setInitializer(newInitializer); } |
| |||
{ Expression newInitializer = null; if (mapping.length > 0) newInitializer = createPlaceholderForExpression( [[#variable5090c140]], field.getCompilationUnit(), mapping, rewrite); else newInitializer = createPlaceholderForExpression( [[#variable5090c140]], field.getCompilationUnit(), rewrite); newFragment.setInitializer(newInitializer); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5090c140]] | initializer |
1 | 2 | [[#5090c140]] | oldFieldFragment.getInitializer() |