| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 3 | 2 | 0.972 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 36 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java |
| 2 | 3 | 35 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ArrayInitializer.java |
| 3 | 6 | 62 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java |
| ||||
// process arguments
if (arguments != null) {
for (int i = 0, count = arguments.length; i < count; i++) {
flowInfo =
arguments[i]
.analyseCode(currentScope, flowContext, flowInfo)
.unconditionalInits();
}
}
|
| ||||
if (expressions != null) {
for (int i = 0, max = expressions.length; i < max; i++) {
flowInfo = expressions[i].analyseCode(currentScope, flowContext, flowInfo).unconditionalInits();
}
}
|
| ||||
// process arguments
if (arguments != null) {
for (int i = 0, max = arguments.length; i < max; i++) {
flowInfo =
arguments[i]
.analyseCode(currentScope, flowContext, flowInfo)
.unconditionalInits();
}
}
|
| |||
// process arguments
if ( [[#variableb96f8140]]!= null) {
for (int i = 0, [[#variableb96f80a0]]= [[#variableb96f8140]].length; i < [[#variableb96f80a0]]; i++) {
flowInfo = [[#variableb96f8140]][i].analyseCode(currentScope, flowContext, flowInfo).unconditionalInits();
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b96f8140]] | arguments |
| 1 | 2 | [[#b96f8140]] | expressions |
| 1 | 3 | [[#b96f8140]] | arguments |
| 2 | 1 | [[#b96f80a0]] | max |
| 2 | 2 | [[#b96f80a0]] | max |
| 2 | 3 | [[#b96f80a0]] | count |