Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 5 | 0.990 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 1057 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java |
2 | 16 | 1178 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java |
| ||||
if (methodDecl.isConstructor()) { if (diff == 1) { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removeparam_constr_description, arg); } else { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removeparams_constr_description, arg); } } else { if (diff == 1) { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removeparam_description, arg); } else { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removeparams_description, arg); } } Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_REMOVE); ChangeMethodSignatureProposal proposal = new ChangeMethodSignatureProposal(label, targetCU, invocationNode, methodDecl, changeDesc, null, 5, image); proposals.add(proposal); |
| ||||
if (methodDecl.isConstructor()) { if (diff == 1) { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addparam_constr_description, arg); } else { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addparams_constr_description, arg); } } else { if (diff == 1) { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addparam_description, arg); } else { label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addparams_description, arg); } } Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_ADD); ChangeMethodSignatureProposal proposal = new ChangeMethodSignatureProposal(label, targetCU, invocationNode, methodDecl, changeDesc, null, 5, image); proposals.add(proposal); |
| |||
if (methodDecl.isConstructor()) { if (diff == 1) { label = Messages.format(CorrectionMessages. [[#variablec209b4c0]], arg); } else { label = Messages.format(CorrectionMessages. [[#variablec209b440]], arg); } } else { if (diff == 1) { label = Messages.format(CorrectionMessages. [[#variablec209b400]], arg); } else { label = Messages.format(CorrectionMessages. [[#variablec209b420]], arg); } } Image image = JavaPluginImages.get(JavaPluginImages. [[#variablec1f88f60]]); ChangeMethodSignatureProposal proposal = new ChangeMethodSignatureProposal(label, targetCU, invocationNode, methodDecl, changeDesc, null, 5, image); proposals.add(proposal); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c209b4c0]] | UnresolvedElementsSubProcessor_removeparam_constr_description |
1 | 2 | [[#c209b4c0]] | UnresolvedElementsSubProcessor_addparam_constr_description |
2 | 1 | [[#c209b440]] | UnresolvedElementsSubProcessor_removeparams_constr_description |
2 | 2 | [[#c209b440]] | UnresolvedElementsSubProcessor_addparams_constr_description |
3 | 1 | [[#c209b400]] | UnresolvedElementsSubProcessor_removeparam_description |
3 | 2 | [[#c209b400]] | UnresolvedElementsSubProcessor_addparam_description |
4 | 1 | [[#c209b420]] | UnresolvedElementsSubProcessor_removeparams_description |
4 | 2 | [[#c209b420]] | UnresolvedElementsSubProcessor_addparams_description |
5 | 1 | [[#c1f88f60]] | IMG_CORRECTION_REMOVE |
5 | 2 | [[#c1f88f60]] | IMG_CORRECTION_ADD |