CloneSet3944


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.959statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16158
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMInstallType.java
26165
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMInstallType.java
Clone Instance
1
Line Count
6
Source Line
158
Source File
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMInstallType.java

                File extDir = new File(lib, "ext"); //$NON-NLS-1$
                String[] dirs = null;
                if (extDir == null)
                        dirs = new String[0];
                else
                        dirs = new String[] {
                                             extDir.getAbsolutePath()
                                            };


Clone Instance
2
Line Count
6
Source Line
165
Source File
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMInstallType.java

                File endDir = new File(lib, "endorsed"); //$NON-NLS-1$
                String[] endDirs = null;
                if (endDir == null)
                        endDirs = new String[0];
                else
                        endDirs = new String[] {
                                                endDir.getAbsolutePath()
                                               };


Clone AbstractionParameter Count: 3Parameter Bindings

File  [[#variable5b755ce0]]= new File(lib,  [[#variable5b755c80]]); //$NON-NLS-1$
String[]  [[#variable5b755ba0]]= null;
if ( [[#variable5b755ce0]]== null)
   [[#variable5b755ba0]]= new String[0];
else
   [[#variable5b755ba0]]= new String[] {
                                          [[#variable5b755ce0]].getAbsolutePath()
                                       };
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b755ce0]]
extDir 
12[[#5b755ce0]]
endDir 
21[[#5b755c80]]
"ext" 
22[[#5b755c80]]
"endorsed" 
31[[#5b755ba0]]
dirs 
32[[#5b755ba0]]
endDirs