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.962 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 103 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java |
2 | 2 | 218 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java |
| ||||
if (element instanceof IAdaptable) { resource = (IResource) ((IAdaptable) element).getAdapter(IResource.class ); } |
| ||||
if (o instanceof IAdaptable) { r = (IResource) ((IAdaptable) o).getAdapter(IResource.class ); } |
| |||
if ( [[#variable94230300]]instanceof IAdaptable) { [[#variable94230280]]= (IResource) ((IAdaptable) [[#variable94230300]]).getAdapter(IResource.class ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94230300]] | element |
1 | 2 | [[#94230300]] | o |
2 | 1 | [[#94230280]] | resource |
2 | 2 | [[#94230280]] | r |