| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 3 | 4 | 0.963 | switch_group |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 190 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelCache.java |
| 2 | 4 | 194 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelCache.java |
| 3 | 4 | 198 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelCache.java |
| ||||
case IJavaElement.JAVA_PROJECT:
this.projectCache.remove(element);
this.rootCache.resetSpaceLimit((int) (DEFAULT_ROOT_SIZE * getMemoryRatio()), element);
break;
|
| ||||
case IJavaElement.PACKAGE_FRAGMENT_ROOT:
this.rootCache.remove(element);
this.pkgCache.resetSpaceLimit((int) (DEFAULT_PKG_SIZE * getMemoryRatio()), element);
break;
|
| ||||
case IJavaElement.PACKAGE_FRAGMENT:
this.pkgCache.remove(element);
this.openableCache.resetSpaceLimit((int) (DEFAULT_OPENABLE_SIZE * getMemoryRatio()), element);
break;
|
| |||
case IJavaElement. [[#variablea3814d80]]: this. [[#variablea3814d00]].remove(element); this. [[#variablea3814ca0]].resetSpaceLimit((int) ( [[#variablea3814b20]] * getMemoryRatio()), element); break; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a3814d80]] | JAVA_PROJECT |
| 1 | 2 | [[#a3814d80]] | PACKAGE_FRAGMENT_ROOT |
| 1 | 3 | [[#a3814d80]] | PACKAGE_FRAGMENT |
| 2 | 1 | [[#a3814d00]] | projectCache |
| 2 | 2 | [[#a3814d00]] | rootCache |
| 2 | 3 | [[#a3814d00]] | pkgCache |
| 3 | 1 | [[#a3814ca0]] | rootCache |
| 3 | 2 | [[#a3814ca0]] | pkgCache |
| 3 | 3 | [[#a3814ca0]] | openableCache |
| 4 | 1 | [[#a3814b20]] | DEFAULT_ROOT_SIZE |
| 4 | 2 | [[#a3814b20]] | DEFAULT_PKG_SIZE |
| 4 | 3 | [[#a3814b20]] | DEFAULT_OPENABLE_SIZE |