Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 5 | 0.965 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 215 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NativeLibrariesConfigurationBlock.java |
2 | 10 | 517 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java |
| ||||
if (initSelection.length() > 0) { initSel = root.findMember(new Path(initSelection)); } if (initSel == null) { initSel = root.findMember(fEntry.getPath()); } ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(fShell, lp, cp); dialog.setAllowMultiple(false); dialog.setValidator(validator); |
| ||||
if (initSelection.length() > 0) { initSel = fWorkspaceRoot.findMember(new Path(initSelection)); } if (initSel == null) { initSel = fWorkspaceRoot.findMember(fEntry.getPath()); } FolderSelectionDialog dialog = new FolderSelectionDialog(getShell(), lp, cp); dialog.setAllowMultiple(false); dialog.addFilter(filter); |
| |||
if (initSelection.length() > 0) { initSel = [[#variable5901b880]].findMember(new Path(initSelection)); } if (initSel == null) { initSel = [[#variable5901b880]].findMember(fEntry.getPath()); } [[#variable5901b860]] dialog = new [[#variable5901b860]]( [[#variable5901b7c0]], lp, cp); dialog.setAllowMultiple(false); dialog. [[#variable9cbb93a0]]( [[#variable5901b7e0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5901b880]] | root |
1 | 2 | [[#5901b880]] | fWorkspaceRoot |
2 | 1 | [[#5901b860]] | ElementTreeSelectionDialog |
2 | 2 | [[#5901b860]] | FolderSelectionDialog |
3 | 1 | [[#5901b7c0]] | fShell |
3 | 2 | [[#5901b7c0]] | getShell() |
4 | 1 | [[#9cbb93a0]] | setValidator |
4 | 2 | [[#9cbb93a0]] | addFilter |
5 | 1 | [[#5901b7e0]] | validator |
5 | 2 | [[#5901b7e0]] | filter |