CloneSet4457


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.974statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
172372
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
272483
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
Clone Instance
1
Line Count
7
Source Line
2372
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

                        int id = loadInt();

                        if (id < 0 || id > this.allClasspathEntryCount)
                                throw new IOException("Unexpected classpathentry id"); //$NON-NLS-1$

                        if (id < this.allClasspathEntryCount)
                                return this.allClasspathEntries[id];


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

                        int id = loadInt();

                        if (id < 0 || id > this.allStringsCount)
                                throw new IOException("Unexpected string id"); //$NON-NLS-1$

                        if (id < this.allStringsCount)
                                return this.allStrings[id];


Clone AbstractionParameter Count: 3Parameter Bindings

int id = loadInt();
if (id < 0 || id > this. [[#variable645d9c00]])
  throw new IOException( [[#variable9309e720]]); //$NON-NLS-1$
if (id < this. [[#variable645d9c00]])
  return this. [[#variable645d9ba0]][id];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#645d9c00]]
allStringsCount 
12[[#645d9c00]]
allClasspathEntryCount 
21[[#9309e720]]
"Unexpected string id" 
22[[#9309e720]]
"Unexpected classpathentry id" 
31[[#645d9ba0]]
allStrings 
32[[#645d9ba0]]
allClasspathEntries