CloneSet1814


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4510.966statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14768
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
24780
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
34367
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarOptionsPage.java
44426
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java
54643
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java
Clone Instance
1
Line Count
4
Source Line
768
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java

                if (filePath.isValidPath(filePath.toString()) && filePath.segmentCount() >= 2)
                        return JavaPlugin.getWorkspace().getRoot().getFile(filePath);
                else
                        return null;


Clone Instance
2
Line Count
4
Source Line
780
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java

                if (filePath.isValidPath(filePath.toString()) && filePath.segmentCount() >= 2)
                        return JavaPlugin.getWorkspace().getRoot().getFile(filePath);
                else
                        return null;


Clone Instance
3
Line Count
4
Source Line
367
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarOptionsPage.java

                if (filePath.isValidPath(filePath.toString()) && filePath.segmentCount() >= 2)
                        return JavaPlugin.getWorkspace().getRoot().getFile(filePath);
                else
                        return null;


Clone Instance
4
Line Count
4
Source Line
426
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java

                if (path.isValidPath(path.toString()) && path.segmentCount() >= 2)
                        return JavaPlugin.getWorkspace().getRoot().getFile(path);
                else
                        return null;


Clone Instance
5
Line Count
4
Source Line
643
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java

                if (path.isValidPath(path.toString()) && path.segmentCount() >= 2)
                        return JavaPlugin.getWorkspace().getRoot().getFile(path);
                else
                        return null;


Clone AbstractionParameter Count: 1Parameter Bindings

if ( [[#variablea0eb7500]].isValidPath( [[#variablea0eb7500]].toString()) && [[#variablea0eb7500]].segmentCount() >= 2)
  return JavaPlugin.getWorkspace().getRoot().getFile( [[#variablea0eb7500]]);
else
  return null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0eb7500]]
path 
12[[#a0eb7500]]
filePath 
13[[#a0eb7500]]
filePath 
14[[#a0eb7500]]
path 
15[[#a0eb7500]]
filePath