CloneSet1405


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7310.996block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17609
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java
271059
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
371076
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
Clone Instance
1
Line Count
7
Source Line
609
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java

                    {
                        IMarker[] problemMarkers = resource.findMarkers(IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);
                        for (int i = 0; i < problemMarkers.length; i++) {
                                if (problemMarkers[i].getAttribute(IMarker.SEVERITY, -1) == IMarker.SEVERITY_ERROR)
                                        return true;
                        }
                        return false;
                    }


Clone Instance
2
Line Count
7
Source Line
1059
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java

                                                                                  {
                IMarker[] problemMarkers = resource.findMarkers(IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);
                for (int i = 0; i < problemMarkers.length; i++) {
                        if (problemMarkers[i].getAttribute(IMarker.SEVERITY, -1) == IMarker.SEVERITY_ERROR)
                                return true;
                }
                return false;
                                                                                  }


Clone Instance
3
Line Count
7
Source Line
1076
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java

                                                                                    {
                IMarker[] problemMarkers = resource.findMarkers(IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);
                for (int i = 0; i < problemMarkers.length; i++) {
                        if (problemMarkers[i].getAttribute(IMarker.SEVERITY, -1) == IMarker.SEVERITY_WARNING)
                                return true;
                }
                return false;
                                                                                    }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  IMarker[] problemMarkers = resource.findMarkers(IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);
  for (int i = 0; i < problemMarkers.length; i++) {
    if (problemMarkers[i].getAttribute(IMarker.SEVERITY, -1) == IMarker. [[#variableb3deaa00]])
      return true;
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3deaa00]]
SEVERITY_ERROR 
12[[#b3deaa00]]
SEVERITY_WARNING 
13[[#b3deaa00]]
SEVERITY_ERROR