| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.984 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 721 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java |
| 2 | 5 | 1053 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java |
| ||||
// Insert the jump
int jumpAddress = ifTrueAddress + 2;
Jump jump = new Jump();
fInstructions.insert(jump, jumpAddress);
// Set the jump offsets
conditionalJump.setOffset(ifTrue.getSize() + 1);
|
| ||||
// Insert the jump
int jumpAddress = ifTrueAddress + 2;
Jump jump = new Jump();
fInstructions.insert(jump, jumpAddress);
// Set the jump offset
jump.setOffset(ifFalse.getSize() + 1);
|
| |||
// Insert the jump int jumpAddress = ifTrueAddress + 2; Jump jump = new Jump(); fInstructions.insert(jump, jumpAddress); [[#variable93021e80]].setOffset( [[#variable9330b400]].getSize() + 1); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#93021e80]] | // Set the jump offset jump |
| 1 | 2 | [[#93021e80]] | // Set the jump offsets conditionalJump |
| 2 | 1 | [[#9330b400]] | ifFalse |
| 2 | 2 | [[#9330b400]] | ifTrue |