File path: /jEdit-4.2/src/bsh/Reflect.java | File path: /jEdit-4.2/src/bsh/Reflect.java | |||
Method name: Object invokeOnMethod(Method, Object, Object[])
|
Method name: Object invokeOnMethod(Method, Object, Object[])
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | if ( Interpreter.DEBUG ) ↵ | 1 | if ( Interpreter.DEBUG ) ↵ | |
2 | {↵ | 2 | {↵ | |
3 | Interpreter.debug("Invoking method (after massaging values): "↵ | 3 | Interpreter.debug("Invoking method (entry): "↵ | |
4 | +method+" with tmpArgs:" );↵ | 4 | +method+" with args:" );↵ | |
5 | for(int i=0; i<tmpArgs.length; i++)↵ | 5 | for(int i=0; i<args.length; i++)↵ | |
6 | Interpreter.debug(↵ | 6 | Interpreter.debug(↵ | |
7 | "tmpArgs["+i+"] = "+tmpArgs[i]↵ | 7 | "args["+i+"] = "+args[i]↵ | |
8 | +" type = "+tmpArgs[i].getClass() );↵ | 8 | +" type = "+args[i].getClass() );↵ | |
9 | } | 9 |
| |
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.3 |
Clones location | Clones are in the same method |
Number of node comparisons | 8 |
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) | 1.7 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13 | if (Interpreter.DEBUG) | 3 | if (Interpreter.DEBUG) | |||||||||||||||||
14 | Interpreter.debug("Invoking method (after massaging values): " + method + " with tmpArgs:"); |
| 4 | Interpreter.debug("Invoking method (entry): " + method + " with args:"); | ||||||||||||||||
15 | for (int i = 0; i < tmpArgs.length; i++) |
| 5 | for (int i = 0; i < args.length; i++) | ||||||||||||||||
16 | Interpreter.debug("tmpArgs[" + i + "] = " + tmpArgs[i] + " type = " + tmpArgs[i].getClass()); |
| 6 | Interpreter.debug("args[" + i + "] = " + args[i] + " type = " + args[i].getClass()); |
Row | Violation |
---|