if (isTrace) {
// XXX Wrong, but will have to do for now
runtime.callEventHooks(context, RubyEvent.CALL, context.getFile(), context.getLine(), name, getImplementationClass());
}
return (IRubyObject)method.invoke(null, $scriptObject, context, self, args, block);
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/internal/runtime/methods/FullFunctionCallbackMethod.java
|
|
File path: /jruby-1.4.0/src/org/jruby/internal/runtime/methods/ReflectedCompiledMethod.java
|
Method name: IRubyObject call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[], Block)
|
|
Method name: IRubyObject call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[], Block)
|
Number of AST nodes: 0
|
|
Number of AST nodes: 3
|
|
| | | 1 | if (isTrace) {↵
|
| | | 2 | // XXX Wrong, but will have to do for now↵
|
| | | 3 | runtime.callEventHooks(context, RubyEvent.CALL, context.getFile(), context.getLine(), name, getImplementationClass());↵
|
| | | 4 | }↵
|
| | | 5 | return (IRubyObject)method.invoke(null, $scriptObject, context, self, args, block);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 0 |