CloneSet3207


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.990statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14237
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java
24246
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java
Clone Instance
1
Line Count
4
Source Line
237
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java

                                                AddToClasspathChange change = new AddToClasspathChange(project, newEntry);
                                                if (change.validateClasspath()) {
                                                        ChangeCorrectionProposal proposal = new ChangeCorrectionProposal(label, change, 8, JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE));
                                                        proposals.add(proposal);
                                                }


Clone Instance
2
Line Count
4
Source Line
246
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java

                                                        AddToClasspathChange change = new AddToClasspathChange(project, entry);
                                                        if (change.validateClasspath()) {
                                                                ChangeCorrectionProposal proposal = new ChangeCorrectionProposal(label, change, 7, JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE));
                                                                proposals.add(proposal);
                                                        }


Clone AbstractionParameter Count: 2Parameter Bindings

AddToClasspathChange change = new AddToClasspathChange(project,  [[#variable7d7590c0]]);
if (change.validateClasspath()) {
  ChangeCorrectionProposal proposal = new ChangeCorrectionProposal(label, change,  [[#variable7d758f20]], JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE));
  proposals.add(proposal);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d7590c0]]
newEntry 
12[[#7d7590c0]]
entry 
21[[#7d758f20]]
8 
22[[#7d758f20]]
7