CloneSet3121


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.971statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15199
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ListRewriteEvent.java
25991
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
35168
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfo.java
Clone Instance
1
Line Count
5
Source Line
199
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ListRewriteEvent.java

                for (int i = 0; i < events.length; i++) {
                        if (i != 0) {
                                buf.append("\n\t"); //$NON-NLS-1$
                        }
                        buf.append(events[i]);
                }


Clone Instance
2
Line Count
5
Source Line
991
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

                for (int i = 0; i < paramTypes.length; i++) {
                        if (i != 0) {
                                buf.append(", "); //$NON-NLS-1$
                        }
                        buf.append(paramTypes[i]);
                }


Clone Instance
3
Line Count
5
Source Line
168
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfo.java

                for (int i = 0; i < fEnclosingNames.length; i++) {
                        if (i != 0) {
                                buf.append('.');
                        }
                        buf.append(fEnclosingNames[i]);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

for (int i = 0; i <  [[#variable9b837fc0]].length; i++) {
  if (i != 0) {
    buf.append( [[#variable9b837ea0]]); //$NON-NLS-1$
  }
  buf.append( [[#variable9b837fc0]][i]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b837fc0]]
events 
12[[#9b837fc0]]
paramTypes 
13[[#9b837fc0]]
fEnclosingNames 
21[[#9b837ea0]]
"\n\t" 
22[[#9b837ea0]]
", " 
23[[#9b837ea0]]
'.'