SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG19, null, null)); mv.visitCode(); Label line = new Label(); mv.visitLineNumber(0, line); return mv;
SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG, null, null)); mv.visitCode(); Label line = new Label(); mv.visitLineNumber(0, line); return mv;
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/runtime/callback/InvocationCallbackFactory.java File path: /jruby-1.4.0/src/org/jruby/runtime/callback/InvocationCallbackFactory.java
Method name: SkinnyMethodAdapter startBlockCall19(ClassWriter) Method name: SkinnyMethodAdapter startBlockCall(ClassWriter)
Number of AST nodes: 5 Number of AST nodes: 5
1
SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG19, null, null));
1
SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG, null, null));
2
        
2
        mv.visitCode();
3
        mv.visitCode();
3
        Label line = new Label();
4
        Label line = new Label();
4
        mv.visitLineNumber(0, line);
5
        mv.visitLineNumber(0, line);
5
        return mv;
6
        return mv;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are declared in the same class
Number of node comparisons12
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements5
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG19, null, null));
    1
    SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG19, null, null));
    1
    SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG, null, null));
    Differences
    Expression1Expression2Difference
    BLOCK_CALL_SIG19BLOCK_CALL_SIGVARIABLE_NAME_MISMATCH
    1
    SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw.visitMethod(ACC_PUBLIC | ACC_SYNTHETIC | ACC_FINAL, "call", BLOCK_CALL_SIG, null, null));
    2
    mv.visitCode();
    2
    mv.visitCode();
    3
    Label line = new Label();
    3
    Label line = new Label();
    4
    mv.visitLineNumber(0, line);
    4
    mv.visitLineNumber(0, line);
    5
    return mv;
    5
    return mv;
    Precondition Violations (0)
    Row Violation