CloneSet2592


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.970statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1104101
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java
2101580
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
Clone Instance
1
Line Count
10
Source Line
4101
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java

                                                        buffer.append(" {\n"); //$NON-NLS-1$
                                                        IClasspathEntry[] entries = container.getClasspathEntries();
                                                        if (entries != null) {
                                                                for (int i = 0; i < entries.length; i++) {
                                                                        buffer.append(" \t\t\t");                   //$NON-NLS-1$
                                                                        buffer.append(entries[i]);
                                                                        buffer.append('\n');
                                                                }
                                                        }
                                                        buffer.append(" \t\t}");             //$NON-NLS-1$


Clone Instance
2
Line Count
10
Source Line
1580
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

                                                buffer.append(" {\n"); //$NON-NLS-1$
                                                IClasspathEntry[] entries = previousContainer.getClasspathEntries();
                                                if (entries != null) {
                                                        for (int j = 0; j < entries.length; j++) {
                                                                buffer.append(" \t\t");             //$NON-NLS-1$
                                                                buffer.append(entries[j]);
                                                                buffer.append('\n');
                                                        }
                                                }
                                                buffer.append(" \t}");       //$NON-NLS-1$


Clone AbstractionParameter Count: 4Parameter Bindings

buffer.append(" {\n"); //$NON-NLS-1$
IClasspathEntry[] entries = [[#variable9c3efbe0]].getClasspathEntries();
if (entries != null) {
  for (int  [[#variable9c3efc40]]= 0; [[#variable9c3efc40]] < entries.length; [[#variable9c3efc40]]++) {
    buffer.append( [[#variable9c3efb60]]); //$NON-NLS-1$
    buffer.append(entries[ [[#variable9c3efc40]]]);
    buffer.append('\n');
  }
}
buffer.append( [[#variable9c3efae0]]); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c3efbe0]]
previousContainer 
12[[#9c3efbe0]]
container 
21[[#9c3efc40]]
j 
22[[#9c3efc40]]
i 
31[[#9c3efb60]]
" \t\t" 
32[[#9c3efb60]]
" \t\t\t" 
41[[#9c3efae0]]
" \t}" 
42[[#9c3efae0]]
" \t\t}"