| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 3 | 0.974 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 2372 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
| 2 | 7 | 2483 | 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];
|
| ||||
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];
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#645d9c00]] | allStringsCount |
| 1 | 2 | [[#645d9c00]] | allClasspathEntryCount |
| 2 | 1 | [[#9309e720]] | "Unexpected string id" |
| 2 | 2 | [[#9309e720]] | "Unexpected classpathentry id" |
| 3 | 1 | [[#645d9ba0]] | allStrings |
| 3 | 2 | [[#645d9ba0]] | allClasspathEntries |