| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 2 | 0.972 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 520 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java |
| 2 | 9 | 682 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java |
| ||||
for (int i = startIndex; i <= this.typeIndex; i++) {
IGenericType igType = this.typeModels[i];
if (igType != null && igType.isBinaryType()) {
// fault in its hierarchy...
try {
ReferenceBinding typeBinding = this.typeBindings[i];
typeBinding.superclass();
typeBinding.superInterfaces();
} catch (AbortCompilation e) {
// classpath problem for this type: ignore
}
}
}
|
| ||||
for (int i = 0; i <= this.typeIndex; i++) {
IGenericType suppliedType = this.typeModels[i];
if (suppliedType != null && suppliedType.isBinaryType()) {
// fault in its hierarchy...
try {
ReferenceBinding typeBinding = this.typeBindings[i];
typeBinding.superclass();
typeBinding.superInterfaces();
} catch (AbortCompilation e) {
// classpath problem for this type: ignore
}
}
}
|
| |||
for (int i = [[#variable986a0820]]; i <= this.typeIndex; i++) {
IGenericType [[#variable9884c540]]= this.typeModels[i];
if ( [[#variable9884c540]]!= null && [[#variable9884c540]].isBinaryType()) {
// fault in its hierarchy...
try {
ReferenceBinding typeBinding = this.typeBindings[i];
typeBinding.superclass();
typeBinding.superInterfaces();
}
catch (AbortCompilation e) {
// classpath problem for this type: ignore
}
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#986a0820]] | startIndex |
| 1 | 2 | [[#986a0820]] | 0 |
| 2 | 1 | [[#9884c540]] | igType |
| 2 | 2 | [[#9884c540]] | suppliedType |