File path: /jruby-1.4.0/src/org/jruby/ext/ffi/MemoryPointer.java | File path: /jruby-1.4.0/src/org/jruby/RubyStringIO.java | |||
Method name: IRubyObject allocate(ThreadContext, IRubyObject, IRubyObject, int, int, boolean, Block)
|
Method name: IRubyObject open(ThreadContext, IRubyObject, IRubyObject[], Block)
|
|||
Number of AST nodes: 2 | Number of AST nodes: 3 | |||
1 | if (block.isGiven()) {↵ | |||
1 | try {↵ | 2 | try {↵ | |
2 | return block.yield(context, ptr);↵ | 3 | val = block.yield(context, strio);↵ | |
3 | } finally {↵ | 4 | } finally {↵ | |
4 | io.free();↵ | 5 | strio.doFinalize();↵ | |
5 | ↵ | 6 | }↵ | |
6 | } | 7 |
| |
See real code fragment | See real code fragment |
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.2 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 1 |