| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.982 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 28 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/WorkingSetsComparator.java |
| 2 | 4 | 34 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/WorkingSetsComparator.java |
| ||||
if (o1 instanceof IWorkingSet[]) {
IWorkingSet[] workingSets = (IWorkingSet[]) o1;
if (workingSets.length > 0)
name1 = workingSets[0].getLabel();
}
|
| ||||
if (o2 instanceof IWorkingSet[]) {
IWorkingSet[] workingSets = (IWorkingSet[]) o1;
if (workingSets.length > 0)
name2 = workingSets[0].getLabel();
}
|
| |||
if ( [[#variable602de100]]instanceof IWorkingSet[]) {
IWorkingSet[] workingSets = (IWorkingSet[]) o1;
if (workingSets.length > 0)
[[#variable602de080]]= workingSets[0].getLabel();
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#602de100]] | o1 |
| 1 | 2 | [[#602de100]] | o2 |
| 2 | 1 | [[#602de080]] | name1 |
| 2 | 2 | [[#602de080]] | name2 |