| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 1 | 17 | 4 | 0.954 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 1 | 1045 | plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java |
| 2 | 1 | 1058 | plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java |
| 3 | 6 | 334 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/Compiler.java |
| 4 | 6 | 171 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/FinallyFlowContext.java |
| 5 | 6 | 177 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/FinallyFlowContext.java |
| 6 | 6 | 75 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/InitializationFlowContext.java |
| 7 | 6 | 81 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/InitializationFlowContext.java |
| 8 | 6 | 87 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/InitializationFlowContext.java |
| 9 | 6 | 281 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/LoopingFlowContext.java |
| 10 | 6 | 287 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/LoopingFlowContext.java |
| 11 | 4 | 571 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LookupEnvironment.java |
| 12 | 1 | 291 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java |
| 13 | 1 | 228 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElementDelta.java |
| 14 | 6 | 150 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProjectElementInfo.java |
| 15 | 6 | 170 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProjectElementInfo.java |
| 16 | 1 | 166 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/MultiOperation.java |
| 17 | 1 | 92 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java |
| ||||
System.arraycopy(arguments, 0, (arguments = new String[count * 2]), 0, count); |
| ||||
System.arraycopy(arguments, 0, (arguments = new String[count * 2]), 0, count); |
| ||||
// when growing reposition units starting at position 0
System.arraycopy(
unitsToProcess,
0,
(unitsToProcess = new CompilationUnitDeclaration[size * 2]),
0,
totalUnits);
|
| ||||
System.arraycopy(
finalAssignments,
0,
(finalAssignments = new Reference[assignCount * 2]),
0,
assignCount);
|
| ||||
System.arraycopy(
finalVariables,
0,
(finalVariables = new VariableBinding[assignCount * 2]),
0,
assignCount);
|
| ||||
System.arraycopy(
thrownExceptions,
0,
(thrownExceptions = new TypeBinding[size * 2]),
0,
size );
|
| ||||
System.arraycopy(
exceptionThrowers,
0,
(exceptionThrowers = new ASTNode[size * 2]),
0,
size );
|
| ||||
System.arraycopy(
exceptionThrowerFlowInfos,
0,
(exceptionThrowerFlowInfos = new FlowInfo[size * 2]),
0,
size );
|
| ||||
System.arraycopy(
finalAssignments,
0,
(finalAssignments = new Reference[assignCount * 2]),
0,
assignCount);
|
| ||||
System.arraycopy(
finalVariables,
0,
(finalVariables = new VariableBinding[assignCount * 2]),
0,
assignCount);
|
| ||||
// no matching array, no space left
System.arraycopy(
arrayBindings, 0,
(arrayBindings = new ArrayBinding[length * 2]), 0,
length );
|
| ||||
System.arraycopy(filesToFormat, 0, (filesToFormat = new File[fileCounter * 2]), 0, fileCounter); |
| ||||
// need a resize
System.arraycopy(resourceDeltas, 0, (resourceDeltas = new IResourceDelta[resourceDeltasCounter * 2]), 0, resourceDeltasCounter);
|
| ||||
// resize
System.arraycopy(
resources,
0,
(resources = new IResource[resourcesCounter * 2]),
0,
resourcesCounter);
|
| ||||
// resize
System.arraycopy(
resources,
0,
(resources = new IResource[resourcesCounter * 2]),
0,
resourcesCounter);
|
| ||||
// resize
System.arraycopy(errors, 0, (errors = new IJavaModelStatus[errorsCounter * 2]), 0, errorsCounter);
|
| ||||
// resize
System.arraycopy(nonJavaResources, 0, (nonJavaResources = new IResource[nonJavaResourcesCounter * 2]), 0, nonJavaResourcesCounter);
|
| |||
// resize // when growing reposition units starting at position 0 // no matching array, no space left // need a resize System.arraycopy( [[#variable92fb9400]], 0, ( [[#variable92fb9400]]= new [[#variable92fb93a0]][ [[#variable92fb9340]] * 2]), 0, [[#variable92fb92a0]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#92fb9400]] | arguments |
| 1 | 2 | [[#92fb9400]] | finalAssignments |
| 1 | 3 | [[#92fb9400]] | resources |
| 1 | 4 | [[#92fb9400]] | finalVariables |
| 1 | 5 | [[#92fb9400]] | unitsToProcess |
| 1 | 6 | [[#92fb9400]] | exceptionThrowerFlowInfos |
| 1 | 7 | [[#92fb9400]] | exceptionThrowers |
| 1 | 8 | [[#92fb9400]] | thrownExceptions |
| 1 | 9 | [[#92fb9400]] | arrayBindings |
| 1 | 10 | [[#92fb9400]] | filesToFormat |
| 1 | 11 | [[#92fb9400]] | resourceDeltas |
| 1 | 12 | [[#92fb9400]] | errors |
| 1 | 13 | [[#92fb9400]] | nonJavaResources |
| 1 | 14 | [[#92fb9400]] | finalAssignments |
| 1 | 15 | [[#92fb9400]] | resources |
| 1 | 16 | [[#92fb9400]] | arguments |
| 1 | 17 | [[#92fb9400]] | finalVariables |
| 2 | 1 | [[#92fb93a0]] | String |
| 2 | 2 | [[#92fb93a0]] | Reference |
| 2 | 3 | [[#92fb93a0]] | IResource |
| 2 | 4 | [[#92fb93a0]] | VariableBinding |
| 2 | 5 | [[#92fb93a0]] | CompilationUnitDeclaration |
| 2 | 6 | [[#92fb93a0]] | FlowInfo |
| 2 | 7 | [[#92fb93a0]] | ASTNode |
| 2 | 8 | [[#92fb93a0]] | TypeBinding |
| 2 | 9 | [[#92fb93a0]] | ArrayBinding |
| 2 | 10 | [[#92fb93a0]] | File |
| 2 | 11 | [[#92fb93a0]] | IResourceDelta |
| 2 | 12 | [[#92fb93a0]] | IJavaModelStatus |
| 2 | 13 | [[#92fb93a0]] | IResource |
| 2 | 14 | [[#92fb93a0]] | Reference |
| 2 | 15 | [[#92fb93a0]] | IResource |
| 2 | 16 | [[#92fb93a0]] | String |
| 2 | 17 | [[#92fb93a0]] | VariableBinding |
| 3 | 1 | [[#92fb9340]] | count |
| 3 | 2 | [[#92fb9340]] | assignCount |
| 3 | 3 | [[#92fb9340]] | resourcesCounter |
| 3 | 4 | [[#92fb9340]] | assignCount |
| 3 | 5 | [[#92fb9340]] | size |
| 3 | 6 | [[#92fb9340]] | size |
| 3 | 7 | [[#92fb9340]] | size |
| 3 | 8 | [[#92fb9340]] | size |
| 3 | 9 | [[#92fb9340]] | length |
| 3 | 10 | [[#92fb9340]] | fileCounter |
| 3 | 11 | [[#92fb9340]] | resourceDeltasCounter |
| 3 | 12 | [[#92fb9340]] | errorsCounter |
| 3 | 13 | [[#92fb9340]] | nonJavaResourcesCounter |
| 3 | 14 | [[#92fb9340]] | assignCount |
| 3 | 15 | [[#92fb9340]] | resourcesCounter |
| 3 | 16 | [[#92fb9340]] | count |
| 3 | 17 | [[#92fb9340]] | assignCount |
| 4 | 1 | [[#92fb92a0]] | count |
| 4 | 2 | [[#92fb92a0]] | assignCount |
| 4 | 3 | [[#92fb92a0]] | resourcesCounter |
| 4 | 4 | [[#92fb92a0]] | assignCount |
| 4 | 5 | [[#92fb92a0]] | totalUnits |
| 4 | 6 | [[#92fb92a0]] | size |
| 4 | 7 | [[#92fb92a0]] | size |
| 4 | 8 | [[#92fb92a0]] | size |
| 4 | 9 | [[#92fb92a0]] | length |
| 4 | 10 | [[#92fb92a0]] | fileCounter |
| 4 | 11 | [[#92fb92a0]] | resourceDeltasCounter |
| 4 | 12 | [[#92fb92a0]] | errorsCounter |
| 4 | 13 | [[#92fb92a0]] | nonJavaResourcesCounter |
| 4 | 14 | [[#92fb92a0]] | assignCount |
| 4 | 15 | [[#92fb92a0]] | resourcesCounter |
| 4 | 16 | [[#92fb92a0]] | count |
| 4 | 17 | [[#92fb92a0]] | assignCount |