Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.972 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 820 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java |
2 | 3 | 824 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java |
| ||||
if (assignedNode instanceof SimpleName) { String label = CorrectionMessages.LocalCorrectionsSubProcessor_qualify_left_hand_side_description; proposals.add(createNoSideEffectProposal(context, (SimpleName) assignedNode, fieldBinding, label, 6)); } |
| ||||
if (assignExpression instanceof SimpleName) { String label = CorrectionMessages.LocalCorrectionsSubProcessor_LocalCorrectionsSubProcessor_qualify_right_hand_side_description; proposals.add(createNoSideEffectProposal(context, (SimpleName) assignExpression, fieldBinding, label, 5)); } |
| |||
if ( [[#variable5834b120]]instanceof SimpleName) { String label = CorrectionMessages. [[#variable5834b0c0]]; proposals.add(createNoSideEffectProposal(context, (SimpleName) [[#variable5834b120]], fieldBinding, label, [[#variable5834b040]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5834b120]] | assignedNode |
1 | 2 | [[#5834b120]] | assignExpression |
2 | 1 | [[#5834b0c0]] | LocalCorrectionsSubProcessor_qualify_left_hand_side_description |
2 | 2 | [[#5834b0c0]] | LocalCorrectionsSubProcessor_LocalCorrectionsSubProcessor_qualify_right_hand_side_description |
3 | 1 | [[#5834b040]] | 6 |
3 | 2 | [[#5834b040]] | 5 |