CloneSet5855


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14303
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/EvaluateAction.java
24547
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java
Clone Instance
1
Line Count
4
Source Line
303
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/EvaluateAction.java

                       if (sourceElement instanceof IResource) {
                        IJavaProject project = JavaCore.create(((IResource) sourceElement).getProject());
                        if (project.exists()) {
                                return project;
                        }
                       }


Clone Instance
2
Line Count
4
Source Line
547
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java

                       if (sourceElement instanceof IResource) {
                        IJavaProject project = JavaCore.create(((IResource) sourceElement).getProject());
                        if (project.exists()) {
                                return project;
                        }
                       }


Clone AbstractionParameter Count: 0Parameter Bindings

if (sourceElement instanceof IResource) {
  IJavaProject project = JavaCore.create(((IResource) sourceElement).getProject());
  if (project.exists()) {
    return project;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None