super(op, dest); _source = src; _ref = ref;
super(Operation.DECLARE_TYPE, null); _argIndex = index; _typeName = type;
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/compiler/ir/instructions/GET_Instr.java File path: /jruby-1.4.0/src/org/jruby/compiler/ir/instructions/DECLARE_LOCAL_TYPE_Instr.java
Method name: void GET_Instr(Operation, Variable, Operand, String) Method name: void DECLARE_LOCAL_TYPE_Instr(int, String)
Number of AST nodes: 3 Number of AST nodes: 3
1
super(op, dest);
1
super(
2
        _source = src;
3
        _ref = ref
2
Operation.DECLARE_TYPE, null);
3
        _argIndex = index;
4
;
4
        _typeName = type;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons7
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment1
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    super(op, dest);
    1
    super(op, dest);
    1
    super(Operation.DECLARE_TYPE, null);
    Differences
    Expression1Expression2Difference
    opOperation.DECLARE_TYPETYPE_COMPATIBLE_REPLACEMENT
    destnullTYPE_COMPATIBLE_REPLACEMENT
    1
    super(Operation.DECLARE_TYPE, null);
                                          
    2
    _argIndex = index;
    2
    _source = src;
                                  
    3
    _ref = ref;
    3
    _ref = ref;
    3
    _typeName = type;
    Differences
    Expression1Expression2Difference
    _ref_typeNameVARIABLE_NAME_MISMATCH
    reftypeVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression _ref is a field being modified, and thus it cannot be parameterized
    Expression _typeName is a field being modified, and thus it cannot be parameterized
    3
    _typeName = type;
    Precondition Violations (2)
    Row Violation
    1Expression _ref is a field being modified, and thus it cannot be parameterized
    2Expression _typeName is a field being modified, and thus it cannot be parameterized