CloneSet2065


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.993statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111179
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMInstallType.java
211223
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/StandardVMType.java
Clone Instance
1
Line Count
11
Source Line
179
Source File
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMInstallType.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();


Clone Instance
2
Line Count
11
Source Line
223
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/StandardVMType.java

                        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();


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d4b26c0]]
home 
12[[#7d4b26c0]]
parent