File path: /jruby-1.4.0/src/org/jruby/util/Dir.java | File path: /jruby-1.4.0/src/org/jruby/RubyIO.java | |||
Method name: int glob_helper(String, byte[], int, int, int, int, GlobFunc, GlobArgs)
|
Method name: IRubyObject select_static(ThreadContext, Ruby, IRubyObject[])
|
|||
Number of AST nodes: 3 | Number of AST nodes: 2 | |||
1 | if (ix == -1 || ix == name.length()-1) {↵ | 1 | if (↵ | |
2 | if("/".equals(jar) || (name.startsWith(jar) && name.length()>jar.length())) {↵ | 2 | (ioObj.openFile.getMode() & OpenFile.READABLE) != 0) {↵ | |
3 | dirp.add(je);↵ | 3 | ↵ | |
4 | }↵ | |||
5 | ↵ | 4 | unselectable_reads.add(obj);↵ | |
6 | } | 5 |
| |
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 |
Number of node comparisons | 1 |