Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.980 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 531 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java |
2 | 5 | 322 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java |
| ||||
if (dialog.open() == Window.OK) { IResource res = (IResource) dialog.getFirstResult(); return res.getFullPath(); } return null; |
| ||||
if (dialog.open() == Window.OK) { IResource element = (IResource) dialog.getFirstResult(); return element.getFullPath(); } return null; |
| |||
if (dialog.open() == Window.OK) { IResource [[#variable56e2a900]]= (IResource) dialog.getFirstResult(); return [[#variable56e2a900]].getFullPath(); } return null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56e2a900]] | element |
1 | 2 | [[#56e2a900]] | res |