Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.986 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1026 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java |
2 | 6 | 1130 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java |
| ||||
String[] arg = new String[] { ASTResolving.getMethodSignature(methodBinding, false) }; String label; if (diff == 1) { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addargument_description, arg); } else { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addarguments_description, arg); } |
| ||||
String[] arg = new String[] { ASTResolving.getMethodSignature(methodRef, false) }; String label; if (diff == 1) { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removeargument_description, arg); } else { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removearguments_description, arg); } |
| |||
String[] arg = new String[] { ASTResolving.getMethodSignature( [[#variablea465cd60]], false) }; String label; if (diff == 1) { label = Messages.format(CorrectionMessages. [[#variableb61c3500]], arg); } else { label = Messages.format(CorrectionMessages. [[#variableb61c3520]], arg); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a465cd60]] | methodBinding |
1 | 2 | [[#a465cd60]] | methodRef |
2 | 1 | [[#b61c3500]] | UnresolvedElementsSubProcessor_addargument_description |
2 | 2 | [[#b61c3500]] | UnresolvedElementsSubProcessor_removeargument_description |
3 | 1 | [[#b61c3520]] | UnresolvedElementsSubProcessor_addarguments_description |
3 | 2 | [[#b61c3520]] | UnresolvedElementsSubProcessor_removearguments_description |