Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.956 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 2361 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
2 | 8 | 2462 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
| ||||
private IClasspathEntry[] loadClasspathEntries() throws IOException { int count = loadInt(); IClasspathEntry[] entries = new IClasspathEntry[count]; for (int i = 0; i < count; ++i) entries[i] = loadClasspathEntry(); return entries; } |
| ||||
private IPath[] loadPaths() throws IOException { int count = loadInt(); IPath[] pathArray = new IPath[count]; for (int i = 0; i < count; ++i) pathArray[i] = loadPath(); return pathArray; } |
| |||
private [[#variable9879a320]][] [[#variable9879a2c0]]() throws IOException { int count = loadInt(); [[#variable9879a320]][] [[#variable9879a240]]= new [[#variable9879a320]][count]; for (int i = 0; i < count; ++i) [[#variable9879a240]][i] = [[#variable9879a120]](); return [[#variable9879a240]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9879a320]] | IClasspathEntry |
1 | 2 | [[#9879a320]] | IPath |
2 | 1 | [[#9879a2c0]] | loadClasspathEntries |
2 | 2 | [[#9879a2c0]] | loadPaths |
3 | 1 | [[#9879a240]] | entries |
3 | 2 | [[#9879a240]] | pathArray |
4 | 1 | [[#9879a120]] | loadClasspathEntry |
4 | 2 | [[#9879a120]] | loadPath |