CloneSet7413


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.954block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
162789
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java
26532
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
Clone Instance
1
Line Count
6
Source Line
2789
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java

                                                                                   {

                // if factory is null, default factory must be used
                if (factory == null) factory = BufferManager.getDefaultBufferManager().getDefaultBufferFactory();

                return getWorkingCopies(BufferFactoryWrapper.create(factory));
                                                                                   }


Clone Instance
2
Line Count
6
Source Line
532
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java

                                                                  {

        // if factory is null, default factory must be used
        if (factory == null) factory = this.getBufferManager().getDefaultBufferFactory();

        return findWorkingCopy(BufferFactoryWrapper.create(factory));
                                                                  }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  // if factory is null, default factory must be used
  if (factory == null)
    factory = [[#variable5854d540]]. [[#variable5854d300]]().getDefaultBufferFactory();
  return [[#variable5854d560]](BufferFactoryWrapper.create(factory));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5854d540]]
BufferManager 
12[[#5854d540]]
this 
21[[#5854d300]]
getDefaultBufferManager 
22[[#5854d300]]
getBufferManager 
31[[#5854d560]]
getWorkingCopies 
32[[#5854d560]]
findWorkingCopy