CloneSet5113


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.986executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14259
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java
24152
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ExcludeFromBuildpathAction.java
Clone Instance
1
Line Count
4
Source Line
259
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java

                                                                                {
                                        int type = DialogPackageExplorerActionGroup.getType(element, ((IPackageFragment) element).getJavaProject());
                                        if (type != DialogPackageExplorerActionGroup.PACKAGE_FRAGMENT && type != DialogPackageExplorerActionGroup.INCLUDED_FOLDER)
                                                return false;
                                                                                }


Clone Instance
2
Line Count
4
Source Line
152
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ExcludeFromBuildpathAction.java

                                                                         {
                                        int type = DialogPackageExplorerActionGroup.getType(element, ((IPackageFragment) element).getJavaProject());
                                        if (type != DialogPackageExplorerActionGroup.INCLUDED_FOLDER && type != DialogPackageExplorerActionGroup.PACKAGE_FRAGMENT)
                                                return false;
                                                                         }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  int type = DialogPackageExplorerActionGroup.getType(element, ((IPackageFragment) element).getJavaProject());
  if (type != DialogPackageExplorerActionGroup. [[#variablea3c76520]]&& type != DialogPackageExplorerActionGroup. [[#variablea3c764a0]])
    return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3c76520]]
PACKAGE_FRAGMENT 
12[[#a3c76520]]
INCLUDED_FOLDER 
21[[#a3c764a0]]
INCLUDED_FOLDER 
22[[#a3c764a0]]
PACKAGE_FRAGMENT