Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.993 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 179 | plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMInstallType.java |
2 | 11 | 223 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/StandardVMType.java |
| ||||
File parentsrc = new File(home, "src.jar"); //$NON-NLS-1$ if (parentsrc.isFile()) { setDefaultRootPath("src"); //$NON-NLS-1$ return new Path(parentsrc.getPath()); } parentsrc = new File(home, "src.zip"); //$NON-NLS-1$ if (parentsrc.isFile()) { setDefaultRootPath(""); //$NON-NLS-1$ return new Path(parentsrc.getPath()); } parent = parent.getParentFile(); |
| ||||
File parentsrc = new File(parent, "src.jar"); //$NON-NLS-1$ if (parentsrc.isFile()) { setDefaultRootPath("src"); //$NON-NLS-1$ return new Path(parentsrc.getPath()); } parentsrc = new File(parent, "src.zip"); //$NON-NLS-1$ if (parentsrc.isFile()) { setDefaultRootPath(""); //$NON-NLS-1$ return new Path(parentsrc.getPath()); } parent = parent.getParentFile(); |
| |||
File parentsrc = new File( [[#variable7d4b26c0]], "src.jar"); //$NON-NLS-1$ if (parentsrc.isFile()) { setDefaultRootPath("src"); //$NON-NLS-1$ return new Path(parentsrc.getPath()); } parentsrc = new File( [[#variable7d4b26c0]], "src.zip"); //$NON-NLS-1$ if (parentsrc.isFile()) { setDefaultRootPath(""); //$NON-NLS-1$ return new Path(parentsrc.getPath()); } parent = parent.getParentFile(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d4b26c0]] | home |
1 | 2 | [[#7d4b26c0]] | parent |