Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 1799 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java |
2 | 17 | 1985 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java |
| ||||
/** * @see ASTVisitor#visit(BreakStatement) */ public boolean visit(BreakStatement node) { if ( !isActive()) { return false; } // create the equivalent jump instruction in the instruction // and add an element in the list of pending break and continue // instructions Jump instruction = new Jump(); SimpleName labelName = node.getLabel(); String label = null; if (labelName != null) { label = labelName.getIdentifier(); } push(instruction); fCompleteInstructions.add(new CompleteInstruction(instruction, label, true)); return false; } |
| ||||
/** * @see ASTVisitor#visit(ContinueStatement) */ public boolean visit(ContinueStatement node) { if ( !isActive()) { return false; } // create the equivalent jump instruction in the instruction // and add an element in the list of pending break and continue // instructions Jump instruction = new Jump(); SimpleName labelName = node.getLabel(); String label = null; if (labelName != null) { label = labelName.getIdentifier(); } push(instruction); fCompleteInstructions.add(new CompleteInstruction(instruction, label, false)); return false; } |
| |||
/** * @see ASTVisitor#visit(BreakStatement) */ /** * @see ASTVisitor#visit(ContinueStatement) */ public boolean visit( [[#variableb94fdd00]] node) { if ( !isActive()) { return false; } // create the equivalent jump instruction in the instruction // and add an element in the list of pending break and continue // instructions Jump instruction = new Jump(); SimpleName labelName = node.getLabel(); String label = null; if (labelName != null) { label = labelName.getIdentifier(); } push(instruction); fCompleteInstructions.add(new CompleteInstruction(instruction, label, [[#variableb94fdc80]])); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b94fdd00]] | BreakStatement |
1 | 2 | [[#b94fdd00]] | ContinueStatement |
2 | 1 | [[#b94fdc80]] | true |
2 | 2 | [[#b94fdc80]] | false |