if (e instanceof RaiseException) {
throw (RaiseException) e;
}
if (scope instanceof IR_Script) {
codegen((IR_Script)scope);
}
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/runtime/load/LoadService.java
|
|
File path: /jruby-1.4.0/src/org/jruby/compiler/ir/targets/JVM.java
|
Method name: void reraiseRaiseExceptions(Throwable)
|
|
Method name: void codegen(IR_Scope)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | if (e instanceof RaiseException) {↵ | | 1 | if (scope instanceof IR_Script) {↵
|
2 | throw (RaiseException) e;↵ | | 2 | codegen((IR_Script)scope);↵
|
3 | } | | 3 | }
|
See real code fragment |
|
See real code fragment |
Summary
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 |