CloneSet2490


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15240.969statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115223
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaSourceLocator.java
215260
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaSourceLocator.java
Clone Instance
1
Line Count
15
Source Line
223
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaSourceLocator.java

                        IJavaStackFrame frame = (IJavaStackFrame) stackFrame;
                        String name = null;
                        try {
                                name = getFullyQualfiedName(frame);
                                if (name == null) {
                                        return null;
                                }
                        } catch (CoreException e) {
                                // if the thread has since resumed, return null
                                if (e.getStatus().getCode() != IJavaThread.ERR_THREAD_NOT_SUSPENDED) {
                                        LaunchingPlugin.log(e);
                                }
                                return null;
                          }
                        List list = new ArrayList();


Clone Instance
2
Line Count
15
Source Line
260
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaSourceLocator.java

                        IJavaStackFrame frame = (IJavaStackFrame) stackFrame;
                        String name = null;
                        try {
                                name = getFullyQualfiedName(frame);
                                if (name == null) {
                                        return null;
                                }
                        } catch (CoreException e) {
                                // if the thread has since resumed, return null
                                if (e.getStatus().getCode() != IJavaThread.ERR_THREAD_NOT_SUSPENDED) {
                                        LaunchingPlugin.log(e);
                                }
                                return null;
                          }
                        IJavaSourceLocation[] locations = getSourceLocations();


Clone AbstractionParameter Count: 4Parameter Bindings

IJavaStackFrame frame = (IJavaStackFrame) stackFrame;
String name = null;
try {
  name = getFullyQualfiedName(frame);
  if (name == null) {
    return null;
  }
}
catch (CoreException e) {
  // if the thread has since resumed, return null
  if (e.getStatus().getCode() != IJavaThread.ERR_THREAD_NOT_SUSPENDED) {
    LaunchingPlugin.log(e);
  }
  return null;
}
 [[#variable97e30700]] [[#variable91757ba0]]  [[#variable97e30660]]= [[#variable62d5e4c0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97e30700]]
List 
12[[#97e30700]]
IJavaSourceLocation 
21[[#91757ba0]]
22[[#91757ba0]]
[] 
31[[#97e30660]]
list 
32[[#97e30660]]
locations 
41[[#62d5e4c0]]
new ArrayList() 
42[[#62d5e4c0]]
getSourceLocations()