Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.954 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2789 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java |
2 | 6 | 532 | 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 = BufferManager.getDefaultBufferManager().getDefaultBufferFactory(); return getWorkingCopies(BufferFactoryWrapper.create(factory)); } |
| ||||
{ // if factory is null, default factory must be used if (factory == null) factory = this.getBufferManager().getDefaultBufferFactory(); return findWorkingCopy(BufferFactoryWrapper.create(factory)); } |
| |||
{ // if factory is null, default factory must be used if (factory == null) factory = [[#variable5854d540]]. [[#variable5854d300]]().getDefaultBufferFactory(); return [[#variable5854d560]](BufferFactoryWrapper.create(factory)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5854d540]] | BufferManager |
1 | 2 | [[#5854d540]] | this |
2 | 1 | [[#5854d300]] | getDefaultBufferManager |
2 | 2 | [[#5854d300]] | getBufferManager |
3 | 1 | [[#5854d560]] | getWorkingCopies |
3 | 2 | [[#5854d560]] | findWorkingCopy |