| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 2 | 0.973 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 212 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java |
| 2 | 3 | 217 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java |
| ||||
if (containerName.length() > 0 && !qualifiedBindingName.equals(name)) {
return null;
}
|
| ||||
if (containerName.length() > 0 && !res.equals(simpleName)) {
// adding import failed
return null;
}
|
| |||
if (containerName.length() > 0 && ! [[#variableb3154220]].equals( [[#variableb3154200]])) {
// adding import failed
return null;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b3154220]] | qualifiedBindingName |
| 1 | 2 | [[#b3154220]] | res |
| 2 | 1 | [[#b3154200]] | name |
| 2 | 2 | [[#b3154200]] | simpleName |