File path: /jruby-1.4.0/src/org/jruby/util/Dir.java | File path: /jruby-1.4.0/src/org/jruby/RubyArray.java | |||
Method name: int fnmatch_helper(byte[], int, int, byte[], int, int, int)
|
Method name: int indexOf(Object)
|
|||
Number of AST nodes: 2 | Number of AST nodes: 3 | |||
1 | if(c != (char)string[s]) {↵ | |||
2 | ↵ | 1 | for (int i = begin; i < begin + realLength; i++) {↵ | |
2 | if (convertedElement.equals(values[i])) {↵ | |||
3 | return FNM_NOMATCH;↵ | 3 | return i;↵ | |
4 | ↵ | 4 | }↵ | |
5 | } | 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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |