Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.977 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 188 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeReferencePattern.java |
2 | 10 | 209 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeReferencePattern.java |
| ||||
start = ++slash; if (key[start] == SEPARATOR) { this.enclosingTypeName = null; } else { slash = CharOperation.indexOf(SEPARATOR, key, start); if (slash == (start + 1) && key[start] == ZERO_CHAR) { this.enclosingTypeName = ONE_ZERO; } else { char[] names = CharOperation.subarray(key, start, slash); this.enclosingTypeName = names; } } |
| ||||
start = ++slash; if (key[start] == SEPARATOR) { this.pkgName = null; } else { slash = CharOperation.indexOf(SEPARATOR, key, start); if (slash == (start + 1) && key[start] == ZERO_CHAR) { this.pkgName = this.superQualification; } else { char[] names = CharOperation.subarray(key, start, slash); this.pkgName = names; } } |
| |||
start = ++slash; if (key[start] == SEPARATOR) { this. [[#variableb1ada700]]= null; } else { slash = CharOperation.indexOf(SEPARATOR, key, start); if (slash == (start + 1) && key[start] == ZERO_CHAR) { this. [[#variableb1ada700]]= [[#variableb5291a20]]; } else { char[] names = CharOperation.subarray(key, start, slash); this. [[#variableb1ada700]]= names; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1ada700]] | enclosingTypeName |
1 | 2 | [[#b1ada700]] | pkgName |
2 | 1 | [[#b5291a20]] | ONE_ZERO |
2 | 2 | [[#b5291a20]] | this.superQualification |