Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 4 | 0.957 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 145 | plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/junit3/JUnit3TestReference.java |
2 | 2 | 114 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java |
3 | 2 | 117 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java |
| ||||
for (Iterator iter = tests.iterator(); iter.hasNext();) { sendTreeOfChild((Test) iter.next(), notified); } |
| ||||
for (Iterator iter = toAdd.iterator(); iter.hasNext();) { addElement((IAdaptable) iter.next(), ws); } |
| ||||
for (Iterator iter = toRemove.iterator(); iter.hasNext();) { removeElement((IAdaptable) iter.next(), ws); } |
| |||
for (Iterator iter = [[#variableb4cb9420]].iterator(); iter.hasNext();) { [[#variableb4cb93a0]](( [[#variableb4cb9320]]) iter.next(), [[#variableb4cb92a0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4cb9420]] | toAdd |
1 | 2 | [[#b4cb9420]] | toRemove |
1 | 3 | [[#b4cb9420]] | tests |
2 | 1 | [[#b4cb93a0]] | addElement |
2 | 2 | [[#b4cb93a0]] | removeElement |
2 | 3 | [[#b4cb93a0]] | sendTreeOfChild |
3 | 1 | [[#b4cb9320]] | IAdaptable |
3 | 2 | [[#b4cb9320]] | IAdaptable |
3 | 3 | [[#b4cb9320]] | Test |
4 | 1 | [[#b4cb92a0]] | ws |
4 | 2 | [[#b4cb92a0]] | ws |
4 | 3 | [[#b4cb92a0]] | notified |