if(conf.isDebug()) { System.err.println("Unrecognized command"); }
if(conf.isDebug()) { System.err.println("Not doing START anymore, invalid command"); }
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/JRubyServer.java File path: /jruby-1.4.0/src/org/jruby/JRubyServer.java
Method name: void run() Method name: void run()
Number of AST nodes: 2 Number of AST nodes: 2
1
if(conf.isDebug()) {
1
if(conf.isDebug()) {
2
                            System.err.println("Unrecognized command");
2
                                System.err.println("Not doing START anymore, invalid command");
3
                        }
3
                            }
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.1
Clones locationClones are in the same method
Number of node comparisons5
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements2
    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.4
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    26
    if (conf.isDebug())
    24
    if (conf.isDebug())
    27
    System.err.println("Unrecognized command");
    27
    System.err.println("Unrecognized command");
    25
    System.err.println("Not doing START anymore, invalid command");
    Differences
    Expression1Expression2Difference
    "Unrecognized command""Not doing START anymore, invalid command"LITERAL_VALUE_MISMATCH
    25
    System.err.println("Not doing START anymore, invalid command");
    Precondition Violations (0)
    Row Violation