Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 4 | 0.962 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 832 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java |
2 | 3 | 250 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java |
3 | 3 | 256 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java |
| ||||
String label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_createparameter_description, simpleName.getIdentifier()); Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_LOCAL); proposals.add(new NewVariableCompletionProposal(label, context.getCompilationUnit(), NewVariableCompletionProposal.PARAM, simpleName, null, 5, image)); |
| ||||
String label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_createparameter_description, simpleName.getIdentifier()); Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_LOCAL); proposals.add(new NewVariableCompletionProposal(label, cu, NewVariableCompletionProposal.PARAM, simpleName, null, relevance, image)); |
| ||||
String label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_createlocal_description, simpleName.getIdentifier()); Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_LOCAL); proposals.add(new NewVariableCompletionProposal(label, cu, NewVariableCompletionProposal.LOCAL, simpleName, null, relevance, image)); |
| |||
String label = Messages.format(CorrectionMessages. [[#variableb2042180]], simpleName.getIdentifier()); Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_LOCAL); proposals.add(new NewVariableCompletionProposal(label, [[#variableb61e67c0]], NewVariableCompletionProposal. [[#variableb2042100]], simpleName, null, [[#variableb61e7fe0]], image)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2042180]] | UnresolvedElementsSubProcessor_createparameter_description |
1 | 2 | [[#b2042180]] | UnresolvedElementsSubProcessor_createlocal_description |
1 | 3 | [[#b2042180]] | UnresolvedElementsSubProcessor_createparameter_description |
2 | 1 | [[#b61e67c0]] | cu |
2 | 2 | [[#b61e67c0]] | cu |
2 | 3 | [[#b61e67c0]] | context.getCompilationUnit() |
3 | 1 | [[#b2042100]] | PARAM |
3 | 2 | [[#b2042100]] | LOCAL |
3 | 3 | [[#b2042100]] | PARAM |
4 | 1 | [[#b61e7fe0]] | relevance |
4 | 2 | [[#b61e7fe0]] | relevance |
4 | 3 | [[#b61e7fe0]] | 5 |