| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 16 | 1 | 0.968 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 139 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java |
| 2 | 5 | 160 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java |
| 3 | 5 | 225 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java |
| 4 | 3 | 246 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java |
| 5 | 3 | 182 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java |
| 6 | 3 | 324 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java |
| 7 | 3 | 238 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForStatement.java |
| 8 | 3 | 311 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForStatement.java |
| 9 | 3 | 155 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java |
| 10 | 5 | 172 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java |
| 11 | 5 | 191 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java |
| 12 | 5 | 204 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java |
| 13 | 3 | 103 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LabeledStatement.java |
| 14 | 3 | 230 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java |
| 15 | 3 | 175 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/WhileStatement.java |
| 16 | 3 | 239 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/WhileStatement.java |
| ||||
if (trueInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(
currentScope,
trueInitStateIndex );
codeStream.addDefinitelyAssignedVariables(currentScope, trueInitStateIndex);
}
|
| ||||
if (falseInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(
currentScope,
falseInitStateIndex );
codeStream.addDefinitelyAssignedVariables(currentScope, falseInitStateIndex);
}
|
| ||||
if (trueInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(
currentScope,
trueInitStateIndex );
codeStream.addDefinitelyAssignedVariables(currentScope, trueInitStateIndex);
}
|
| ||||
if (falseInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, falseInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, falseInitStateIndex);
}
|
| ||||
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
// May loose some local variable initializations : affecting the local variable attributes
if (thenInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, thenInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, thenInitStateIndex);
}
|
| ||||
// May loose some local variable initializations : affecting the local variable attributes
if (elseInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(
currentScope,
elseInitStateIndex );
codeStream.addDefinitelyAssignedVariables(currentScope, elseInitStateIndex);
}
|
| ||||
// generate else statement
// May loose some local variable initializations : affecting the local variable attributes
if (elseInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(
currentScope,
elseInitStateIndex );
codeStream.addDefinitelyAssignedVariables(currentScope, elseInitStateIndex);
}
|
| ||||
// May loose some local variable initializations : affecting the local variable attributes
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(
currentScope,
mergedInitStateIndex );
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
// May loose some local variable initializations : affecting the local variable attributes
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
// May loose some local variable initializations : affecting the local variable attributes
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
// May loose some local variable initializations : affecting the local variable attributes
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| ||||
// May loose some local variable initializations : affecting the local variable attributes
if (mergedInitStateIndex != -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
}
|
| |||
// generate else statement
// May loose some local variable initializations : affecting the local variable attributes
if ( [[#variableb3d77fc0]]!= -1) {
codeStream.removeNotDefinitelyAssignedVariables(currentScope, [[#variableb3d77fc0]]);
codeStream.addDefinitelyAssignedVariables(currentScope, [[#variableb3d77fc0]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b3d77fc0]] | falseInitStateIndex |
| 1 | 2 | [[#b3d77fc0]] | trueInitStateIndex |
| 1 | 3 | [[#b3d77fc0]] | elseInitStateIndex |
| 1 | 4 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 5 | [[#b3d77fc0]] | thenInitStateIndex |
| 1 | 6 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 7 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 8 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 9 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 10 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 11 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 12 | [[#b3d77fc0]] | mergedInitStateIndex |
| 1 | 13 | [[#b3d77fc0]] | falseInitStateIndex |
| 1 | 14 | [[#b3d77fc0]] | trueInitStateIndex |
| 1 | 15 | [[#b3d77fc0]] | elseInitStateIndex |
| 1 | 16 | [[#b3d77fc0]] | mergedInitStateIndex |