CloneSet2941


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.965statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111243
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaLaunchableTester.java
210310
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaLaunchableTester.java
Clone Instance
1
Line Count
11
Source Line
243
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaLaunchableTester.java

                        IOpenable openable = type.getOpenable();
                        if (openable instanceof ICompilationUnit) {
                                buffer = ((ICompilationUnit) openable).getBuffer();
                        }
                        else   if (openable instanceof IClassFile) {
                                buffer = ((IClassFile) openable).getBuffer();
                               }
                        if (buffer == null) {
                                return false;
                        }
                        ISourceRange sourceRange = type.getSourceRange();


Clone Instance
2
Line Count
10
Source Line
310
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaLaunchableTester.java

                        IOpenable openable = type.getOpenable();
                        if (openable instanceof ICompilationUnit) {
                                buffer = ((ICompilationUnit) openable).getBuffer();
                        }
                        else   if (openable instanceof IClassFile) {
                                buffer = ((IClassFile) openable).getBuffer();
                               }
                        if (buffer == null) {
                                return false;
                        }
                        IScanner scanner = null; // delay initialization


Clone AbstractionParameter Count: 3Parameter Bindings

IOpenable openable = type.getOpenable();
if (openable instanceof ICompilationUnit) {
  buffer = ((ICompilationUnit) openable).getBuffer();
}
else
  if (openable instanceof IClassFile) {
    buffer = ((IClassFile) openable).getBuffer();
  }
if (buffer == null) {
  return false;
}
 [[#variableb18d19a0]]  [[#variable94aa2f20]]= [[#variableb0828040]]; // delay initialization
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b18d19a0]]
IScanner 
12[[#b18d19a0]]
ISourceRange 
21[[#94aa2f20]]
scanner 
22[[#94aa2f20]]
sourceRange 
31[[#b0828040]]
null 
32[[#b0828040]]
type.getSourceRange()