CloneSet3715


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4250.950statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14470
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
24480
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
Clone Instance
1
Line Count
4
Source Line
470
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java

                for (int i = 0; i < fCheckBoxes.size(); i++) {
                        Button button = (Button) fCheckBoxes.get(i);
                        String key = (String) button.getData();
                        button.setSelection(store.getDefaultBoolean(key));
                }


Clone Instance
2
Line Count
4
Source Line
480
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java

                for (int i = 0; i < fTextControls.size(); i++) {
                        Text text = (Text) fTextControls.get(i);
                        String key = (String) text.getData();
                        text.setText(store.getDefaultString(key));
                }


Clone AbstractionParameter Count: 5Parameter Bindings

for (int i = 0; i <  [[#variableba6b8420]].size(); i++) {
   [[#variableba6b83a0]]  [[#variableba6b8300]]= ( [[#variableba6b83a0]])  [[#variableba6b8420]].get(i);
  String key = (String)  [[#variableba6b8300]].getData();
   [[#variableba6b8300]]. [[#variableba6b8240]](store. [[#variableba6b81c0]](key));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba6b8420]]
fTextControls 
12[[#ba6b8420]]
fCheckBoxes 
21[[#ba6b83a0]]
Text 
22[[#ba6b83a0]]
Button 
31[[#ba6b8300]]
text 
32[[#ba6b8300]]
button 
41[[#ba6b8240]]
setText 
42[[#ba6b8240]]
setSelection 
51[[#ba6b81c0]]
getDefaultString 
52[[#ba6b81c0]]
getDefaultBoolean