File path: /jruby-1.4.0/src/org/jruby/ext/ffi/jffi/DefaultMethodThreeArg.java | File path: /jruby-1.4.0/src/org/jruby/ext/ffi/jffi/DefaultMethodThreeArg.java | |||
Method name: IRubyObject call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, IRubyObject, IRubyObject)
|
Method name: IRubyObject call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, IRubyObject, IRubyObject)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | m1.marshal(invocation, buffer, arg1);↵ | 1 | m1.marshal(context, buffer, arg1);↵ | |
2 | m2.marshal(invocation, buffer, arg2);↵ | 2 | m2.marshal(context, buffer, arg2);↵ | |
3 | m3.marshal(invocation, buffer, arg3);↵ | 3 | m3.marshal(context, buffer, arg3);↵ | |
4 | return functionInvoker.invoke(context.getRuntime(), function, buffer); | 4 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 16 |
Number of mapped statements | 4 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5 | m1.marshal(invocation, buffer, arg1); |
| 9 | m1.marshal(context, buffer, arg1); | ||||||||||||||
6 | m2.marshal(invocation, buffer, arg2); |
| 10 | m2.marshal(context, buffer, arg2); | ||||||||||||||
7 | m3.marshal(invocation, buffer, arg3); |
| 11 | m3.marshal(context, buffer, arg3); | ||||||||||||||
8 | return functionInvoker.invoke(context.getRuntime(), function, buffer); | 12 | return functionInvoker.invoke(context.getRuntime(), function, buffer); |
Row | Violation |
---|---|
1 | Type org.jruby.ext.ffi.jffi.Invocation of variable invocation does not match with type org.jruby.runtime.ThreadContext of variable context |
2 | Type org.jruby.ext.ffi.jffi.Invocation of variable invocation does not match with type org.jruby.runtime.ThreadContext of variable context |
3 | Type org.jruby.ext.ffi.jffi.Invocation of variable invocation does not match with type org.jruby.runtime.ThreadContext of variable context |