Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.969 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 45 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchTableContentProvider.java |
2 | 6 | 57 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/TextSearchTableContentProvider.java |
| ||||
{ if (viewer.testFindItem(updatedElements[i]) != null) updated.add(updatedElements[i]); else added.add(updatedElements[i]); addCount++; } |
| ||||
{ if (fTableViewer.testFindItem(updatedElements[i]) != null) fTableViewer.refresh(updatedElements[i]); else fTableViewer.add(updatedElements[i]); addCount++; } |
| |||
{ if ( [[#variable99e80da0]].testFindItem(updatedElements[i]) != null) [[#variable99e80ce0]]. [[#variable99e80980]](updatedElements[i]); else [[#variable99e80dc0]].add(updatedElements[i]); addCount++; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99e80da0]] | fTableViewer |
1 | 2 | [[#99e80da0]] | viewer |
2 | 1 | [[#99e80ce0]] | fTableViewer |
2 | 2 | [[#99e80ce0]] | updated |
3 | 1 | [[#99e80980]] | refresh |
3 | 2 | [[#99e80980]] | add |
4 | 1 | [[#99e80dc0]] | fTableViewer |
4 | 2 | [[#99e80dc0]] | added |