| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 4 | 4 | 0.956 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 859 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| 2 | 8 | 1950 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| 3 | 8 | 1990 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| 4 | 8 | 2249 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| ||||
if (expressions != null) {
int length = expressions.length;
for (int i = 0; i < length; i++) {
Expression expr = convert(expressions[i]);
if (this.resolveBindings) {
recordNodes(expr, expressions[i]);
}
arrayInitializer.expressions().add(expr);
}
}
|
| ||||
if (arguments != null) {
int argumentsLength = arguments.length;
for (int i = 0; i < argumentsLength; i++) {
Expression expri = convert(arguments[i]);
if (this.resolveBindings) {
recordNodes(expri, arguments[i]);
}
superMethodInvocation.arguments().add(expri);
}
}
|
| ||||
if (arguments != null) {
int argumentsLength = arguments.length;
for (int i = 0; i < argumentsLength; i++) {
Expression expri = convert(arguments[i]);
if (this.resolveBindings) {
recordNodes(expri, arguments[i]);
}
methodInvocation.arguments().add(expri);
}
}
|
| ||||
if (arguments != null) {
int length = arguments.length;
for (int i = 0; i < length; i++) {
Expression argument = convert(arguments[i]);
if (this.resolveBindings) {
recordNodes(argument, arguments[i]);
}
classInstanceCreation.arguments().add(argument);
}
}
|
| |||
if ( [[#variablebae5b220]]!= null) {
int [[#variablebae5b1c0]]= [[#variablebae5b220]].length;
for (int i = 0; i < [[#variablebae5b1c0]]; i++) {
Expression [[#variablebae5b140]]= convert( [[#variablebae5b220]][i]);
if (this.resolveBindings) {
recordNodes( [[#variablebae5b140]], [[#variablebae5b220]][i]);
}
[[#variablebae5b0a0]]. [[#variablebae5b220]]().add( [[#variablebae5b140]]);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bae5b220]] | expressions |
| 1 | 2 | [[#bae5b220]] | arguments |
| 1 | 3 | [[#bae5b220]] | arguments |
| 1 | 4 | [[#bae5b220]] | arguments |
| 2 | 1 | [[#bae5b1c0]] | length |
| 2 | 2 | [[#bae5b1c0]] | argumentsLength |
| 2 | 3 | [[#bae5b1c0]] | argumentsLength |
| 2 | 4 | [[#bae5b1c0]] | length |
| 3 | 1 | [[#bae5b140]] | expr |
| 3 | 2 | [[#bae5b140]] | expri |
| 3 | 3 | [[#bae5b140]] | expri |
| 3 | 4 | [[#bae5b140]] | argument |
| 4 | 1 | [[#bae5b0a0]] | arrayInitializer |
| 4 | 2 | [[#bae5b0a0]] | superMethodInvocation |
| 4 | 3 | [[#bae5b0a0]] | methodInvocation |
| 4 | 4 | [[#bae5b0a0]] | classInstanceCreation |