| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 4 | 6 | 0.961 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 147 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| 2 | 5 | 311 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| 3 | 5 | 629 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| 4 | 5 | 794 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| ||||
for (int i = 0; i < superInterfacesLength; i++) {
TypeReference superInterface = superInterfaces[i];
interfaceNames[i] = CharOperation.concatWith(superInterface.getTypeName(), '.');
interfaceNameStarts[i] = superInterface.sourceStart;
interfaceNameEnds[i] = superInterface.sourceEnd;
}
|
| ||||
for (int i = 0; i < thrownExceptionLength; i++) {
TypeReference exception = thrownExceptions[i];
exceptionTypes[i] = CharOperation.concatWith(exception.getTypeName(), '.');
exceptionTypeStarts[i] = exception.sourceStart;
exceptionTypeEnds[i] = exception.sourceEnd;
}
|
| ||||
for (int i = 0; i < superInterfacesLength; i++) {
TypeReference superInterface = superInterfaces[i];
interfaceNames[i] = CharOperation.concatWith(superInterface.getTypeName(), '.');
interfaceNameStarts[i] = superInterface.sourceStart;
interfacenameEnds[i] = superInterface.sourceEnd;
}
|
| ||||
for (int i = 0; i < thrownExceptionLength; i++) {
TypeReference exception = thrownExceptions[i];
exceptionTypes[i] = CharOperation.concatWith(exception.getTypeName(), '.');
exceptionTypeStarts[i] = exception.sourceStart;
exceptionTypeEnds[i] = exception.sourceEnd;
}
|
| |||
for (int i = 0; i < [[#variable9a1afe00]]; i++) {
TypeReference [[#variable9a1afde0]]= [[#variable9a1afd60]][i];
[[#variable9a1af400]][i] = CharOperation.concatWith( [[#variable9a1afde0]].getTypeName(), '.');
[[#variable9a1afd40]][i] = [[#variable9a1afde0]].sourceStart;
[[#variable9a1afc20]][i] = [[#variable9a1afde0]].sourceEnd;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9a1afe00]] | thrownExceptionLength |
| 1 | 2 | [[#9a1afe00]] | superInterfacesLength |
| 1 | 3 | [[#9a1afe00]] | superInterfacesLength |
| 1 | 4 | [[#9a1afe00]] | thrownExceptionLength |
| 2 | 1 | [[#9a1afde0]] | exception |
| 2 | 2 | [[#9a1afde0]] | superInterface |
| 2 | 3 | [[#9a1afde0]] | superInterface |
| 2 | 4 | [[#9a1afde0]] | exception |
| 3 | 1 | [[#9a1afd60]] | thrownExceptions |
| 3 | 2 | [[#9a1afd60]] | superInterfaces |
| 3 | 3 | [[#9a1afd60]] | superInterfaces |
| 3 | 4 | [[#9a1afd60]] | thrownExceptions |
| 4 | 1 | [[#9a1af400]] | exceptionTypes |
| 4 | 2 | [[#9a1af400]] | interfaceNames |
| 4 | 3 | [[#9a1af400]] | interfaceNames |
| 4 | 4 | [[#9a1af400]] | exceptionTypes |
| 5 | 1 | [[#9a1afd40]] | exceptionTypeStarts |
| 5 | 2 | [[#9a1afd40]] | interfaceNameStarts |
| 5 | 3 | [[#9a1afd40]] | interfaceNameStarts |
| 5 | 4 | [[#9a1afd40]] | exceptionTypeStarts |
| 6 | 1 | [[#9a1afc20]] | exceptionTypeEnds |
| 6 | 2 | [[#9a1afc20]] | interfacenameEnds |
| 6 | 3 | [[#9a1afc20]] | interfaceNameEnds |
| 6 | 4 | [[#9a1afc20]] | exceptionTypeEnds |