File path: /jruby-1.4.0/src/org/jruby/runtime/Frame.java | File path: /jruby-1.4.0/src/org/jruby/runtime/Frame.java | |||
Method name: void Frame(Frame)
|
Method name: void updateFrame(Frame)
|
|||
Number of AST nodes: 10 | Number of AST nodes: 9 | |||
1 | assert frame.block != null : "Block uses null object pattern. It should NEVER be null";↵ | 1 | assert frame.block != null : "Block uses null object pattern. It should NEVER be null";↵ | |
2 | this.self = frame.self;↵ | 2 | this.self = frame.self;↵ | |
3 | this.name = frame.name;↵ | 3 | this.name = frame.name;↵ | |
4 | this.klazz = frame.klazz;↵ | 4 | this.klazz = frame.klazz;↵ | |
5 | this.fileName = frame.fileName;↵ | 5 | this.fileName = frame.fileName;↵ | |
6 | this.line = frame.line;↵ | 6 | this.line = frame.line;↵ | |
7 | this.block = frame.block;↵ | 7 | this.block = frame.block;↵ | |
8 | this.visibility = frame.visibility;↵ | 8 | this.visibility = frame.visibility;↵ | |
9 | this.isBindingFrame = frame.isBindingFrame;↵ | 9 |
| |
10 | this.jumpTarget = frame.jumpTarget; | |||
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 declared in the same class |
Number of node comparisons | 38 |
Number of mapped statements | 9 |
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 | |
---|---|---|---|---|
1 | assert frame.block != null : "Block uses null object pattern. It should NEVER be null"; | 1 | assert frame.block != null : "Block uses null object pattern. It should NEVER be null"; | |
2 | this.self = frame.self; | 2 | this.self = frame.self; | |
3 | this.name = frame.name; | 3 | this.name = frame.name; | |
4 | this.klazz = frame.klazz; | 4 | this.klazz = frame.klazz; | |
5 | this.fileName = frame.fileName; | 5 | this.fileName = frame.fileName; | |
6 | this.line = frame.line; | 6 | this.line = frame.line; | |
7 | this.block = frame.block; | 7 | this.block = frame.block; | |
8 | this.visibility = frame.visibility; | 8 | this.visibility = frame.visibility; | |
9 | this.isBindingFrame = frame.isBindingFrame; | 9 | this.isBindingFrame = frame.isBindingFrame; | |
10 | this.jumpTarget = frame.jumpTarget; | |
Row | Violation |
---|