} else { if (SafePropertyAccessor.getProperty("jruby.reflection") != null && SafePropertyAccessor.getBoolean("jruby.reflection")) { reflection_ = true; } if (SafePropertyAccessor.getProperty("jruby.dump_invocations") != null) { dumping_ = true; dumpingPath_ = SafePropertyAccessor.getProperty("jruby.dump_invocations"); }
} else { if (SafePropertyAccessor.getProperty("jruby.reflection") != null && SafePropertyAccessor.getBoolean("jruby.reflection")) { reflection_ = true; } if (SafePropertyAccessor.getProperty("jruby.dump_invocations") != null) { dumping_ = true; }
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/runtime/MethodFactory.java File path: /jruby-1.4.0/src/org/jruby/runtime/CallbackFactory.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
} else {
1
} else {
2
            if (SafePropertyAccessor.getProperty("jruby.reflection") != null && SafePropertyAccessor.getBoolean("jruby.reflection")) {
2
            if (SafePropertyAccessor.getProperty("jruby.reflection") != null && SafePropertyAccessor.getBoolean("jruby.reflection")) {
3
                reflection_ = true;
3
                reflection_ = true;
4
            }
4
            }
5
            if (SafePropertyAccessor.getProperty("jruby.dump_invocations") != null) {
5
            if (SafePropertyAccessor.getProperty("jruby.dump_invocations") != null) {
6
                dumping_ = true;
6
                dumping_ = true;
7
                dumpingPath_ = SafePropertyAccessor.getProperty("jruby.dump_invocations");
8
            }
7
            }
9
        
8
        
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0