File path: /jruby-1.4.0/src/org/jruby/internal/runtime/methods/InvocationMethodFactory.java | File path: /jruby-1.4.0/src/org/jruby/internal/runtime/methods/InvocationMethodFactory.java | |||
Method name: void invokeCReturnTrace(SkinnyMethodAdapter)
|
Method name: void invokeCCallTrace(SkinnyMethodAdapter)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | method.aload(0); // method itself↵ | 1 | method.aload(0); // method itself↵ | |
2 | method.aload(1); // ThreadContext↵ | 2 | method.aload(1); // ThreadContext↵ | |
3 | method.aload(4); // invoked name↵ | 3 | method.aload(4); // invoked name↵ | |
4 | method.invokevirtual(p(JavaMethod.class), "returnTrace", sig(void.class, ThreadContext.class, String.class)); | 4 | method.invokevirtual(p(JavaMethod.class), "callTrace", sig(void.class, ThreadContext.class, String.class)); | |
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 | 16 |
Number of mapped statements | 4 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | method.aload(0); | 1 | method.aload(0); | |||||||||||
2 | method.aload(1); | 2 | method.aload(1); | |||||||||||
3 | method.aload(4); | 3 | method.aload(4); | |||||||||||
4 | method.invokevirtual(p(JavaMethod.class), "returnTrace", sig(void.class, ThreadContext.class, String.class)); |
| 4 | method.invokevirtual(p(JavaMethod.class), "callTrace", sig(void.class, ThreadContext.class, String.class)); |
Row | Violation |
---|