| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 4 | 0.980 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 189 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
| 2 | 5 | 196 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
| ||||
if (isFlag(ADD_DEPRECATED_ANNOTATION)) {
for (int i = 0; i < problems.length; i++) {
int id = problems[i].getID();
if (id == IProblem.FieldMissingDeprecatedAnnotation || id == IProblem.MethodMissingDeprecatedAnnotation || id == IProblem.TypeMissingDeprecatedAnnotation)
result++;
}
}
|
| ||||
if (isFlag(ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE)) {
for (int i = 0; i < problems.length; i++) {
int id = problems[i].getID();
if (id == IProblem.UnsafeTypeConversion || id == IProblem.RawTypeReference || id == IProblem.UnsafeRawMethodInvocation)
result++;
}
}
|
| |||
if (isFlag( [[#variable5316cdc0]])) {
for (int i = 0; i < problems.length; i++) {
int id = problems[i].getID();
if (id == IProblem. [[#variable5316cd60]]|| id == IProblem. [[#variable5316cca0]]|| id == IProblem. [[#variable5316cba0]])
result++;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5316cdc0]] | ADD_DEPRECATED_ANNOTATION |
| 1 | 2 | [[#5316cdc0]] | ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE |
| 2 | 1 | [[#5316cd60]] | FieldMissingDeprecatedAnnotation |
| 2 | 2 | [[#5316cd60]] | UnsafeTypeConversion |
| 3 | 1 | [[#5316cca0]] | MethodMissingDeprecatedAnnotation |
| 3 | 2 | [[#5316cca0]] | RawTypeReference |
| 4 | 1 | [[#5316cba0]] | TypeMissingDeprecatedAnnotation |
| 4 | 2 | [[#5316cba0]] | UnsafeRawMethodInvocation |