File path: /jruby-1.4.0/src/org/jruby/runtime/load/LoadService.java | File path: /jruby-1.4.0/src/org/jruby/runtime/load/LoadService.java | |||
Method name: void init(List)
|
Method name: void init(List)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 3 | |||
1 | addPath(rubyDir + "site_ruby" + sep + Constants.RUBY1_9_MAJOR_VERSION);↵ | 1 | addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION);↵ | |
2 | addPath(rubyDir + "site_ruby" + sep + "shared");↵ | 2 | addPath(rubyDir + "site_ruby" + sep + "shared");↵ | |
3 | addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION);↵ | 3 | addPath(rubyDir + Constants.RUBY_MAJOR_VERSION); | |
4 | addPath(rubyDir + Constants.RUBY1_9_MAJOR_VERSION); | |||
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 the same method |
Number of node comparisons | 16 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20 | addPath(rubyDir + "site_ruby" + sep + Constants.RUBY1_9_MAJOR_VERSION); | | ||||||||||||
21 | addPath(rubyDir + "site_ruby" + sep + "shared"); |
| 24 | addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION); | ||||||||||
22 | addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION); |
| 25 | addPath(rubyDir + "site_ruby" + sep + "shared"); | ||||||||||
23 | addPath(rubyDir + Constants.RUBY1_9_MAJOR_VERSION); |
| 26 | addPath(rubyDir + Constants.RUBY_MAJOR_VERSION); |
Row | Violation |
---|