File path: /jruby-1.4.0/src/org/jruby/ext/ffi/jffi/CallbackMethodWithBlock.java | File path: /jruby-1.4.0/src/org/jruby/ext/ffi/jffi/JFFIDynamicMethod.java | |||
Method name: void CallbackMethodWithBlock(RubyModule, Function, FunctionInvoker, ParameterMarshaller[], int)
|
Method name: void JFFIDynamicMethod(RubyModule, Arity, Function, FunctionInvoker)
|
|||
Number of AST nodes: 5 | Number of AST nodes: 4 | |||
1 | super(implementationClass, Visibility.PUBLIC, CallConfiguration.FrameFullScopeFull)↵ | 1 | super(implementationClass, Visibility.PUBLIC, CallConfiguration.FrameNoneScopeNone);↵ | |
2 | ;↵ | 2 | this.arity = arity;↵ | |
3 | this.function = function;↵ | 3 | this.function = function;↵ | |
4 | this.functionInvoker = functionInvoker;↵ | 4 |
| |
5 | this.marshallers = marshallers;↵ | |||
6 | this.cbindex = cbindex; | |||
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
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 | 11 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 2 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super(implementationClass, Visibility.PUBLIC, CallConfiguration.FrameFullScopeFull); |
| 1 | super(implementationClass, Visibility.PUBLIC, CallConfiguration.FrameNoneScopeNone); | ||||||||||
| 2 | this.arity = arity; | ||||||||||||
2 | this.function = function; | 3 | this.function = function; | |||||||||||
3 | this.functionInvoker = functionInvoker; | 4 | this.functionInvoker = functionInvoker; | |||||||||||
4 | this.marshallers = marshallers; | | ||||||||||||
5 | this.cbindex = cbindex; | |
Row | Violation |
---|