Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.971 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 152 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
2 | 2 | 156 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java |
| ||||
private static void duplicate(Map settings, String existingKey, String newKey) { checkAndReplace(settings, existingKey, new String[] { newKey } ); } |
| ||||
private static void checkAndReplace(Map settings, String oldKey, String newKey) { checkAndReplace(settings, oldKey, new String[] { newKey } ); } |
| |||
private static void [[#variable56a17ec0]](Map settings, String [[#variable56a17e60]], String newKey) { checkAndReplace(settings, [[#variable56a17e60]], new String[] { newKey } ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56a17ec0]] | duplicate |
1 | 2 | [[#56a17ec0]] | checkAndReplace |
2 | 1 | [[#56a17e60]] | existingKey |
2 | 2 | [[#56a17e60]] | oldKey |