Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.980 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 178 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassModifier.java |
2 | 8 | 190 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassModifier.java |
| ||||
ASTNode node = findField(fRoot, sub.getKey()); if (node == null) return; String name = Messages.format(NLSMessages.AccessorClassModifier_remove_entry, sub.getKey()); TextEditGroup editGroup = new TextEditGroup(name); fListRewrite.remove(node, editGroup); change.addTextEditGroup(editGroup); |
| ||||
ASTNode node = findField(fRoot, sub.getInitialKey()); if (node == null) return; String name = Messages.format(NLSMessages.AccessorClassModifier_replace_entry, sub.getKey()); TextEditGroup editGroup = new TextEditGroup(name); fListRewrite.remove(node, editGroup); fFields.remove(node); |
| |||
ASTNode node = findField(fRoot, sub. [[#variable506f93c0]]()); if (node == null) return; String name = Messages.format(NLSMessages. [[#variable506f9260]], sub.getKey()); TextEditGroup editGroup = new TextEditGroup(name); fListRewrite.remove(node, editGroup); [[#variable506f92e0]]. [[#variablea055bb60]]( [[#variable506f90e0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#506f93c0]] | getKey |
1 | 2 | [[#506f93c0]] | getInitialKey |
2 | 1 | [[#506f9260]] | AccessorClassModifier_remove_entry |
2 | 2 | [[#506f9260]] | AccessorClassModifier_replace_entry |
3 | 1 | [[#506f92e0]] | change |
3 | 2 | [[#506f92e0]] | fFields |
4 | 1 | [[#a055bb60]] | addTextEditGroup |
4 | 2 | [[#a055bb60]] | remove |
5 | 1 | [[#506f90e0]] | editGroup |
5 | 2 | [[#506f90e0]] | node |