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: 3 | Number of AST nodes: 3 | |||
1 | Interpreter.debug("Invoking method (entry): "↵ | 1 | Interpreter.debug("Invoking method (after massaging values): "↵ | |
2 | +method+" with args:" );↵ | 2 | +method+" with tmpArgs:" );↵ | |
3 | for(int i=0; i<args.length; i++)↵ | 3 | for(int i=0; i<tmpArgs.length; i++)↵ | |
4 | Interpreter.debug(↵ | 4 | Interpreter.debug(↵ | |
5 | "args["+i+"] = "+args[i]↵ | 5 | "tmpArgs["+i+"] = "+tmpArgs[i]↵ | |
6 | +" type = "+args[i].getClass() ); | 6 | +" type = "+tmpArgs[i].getClass() ); | |
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 | 6 |
Number of mapped statements | 3 |
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.3 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | Interpreter.debug("Invoking method (entry): " + method + " with args:"); |
| 14 | Interpreter.debug("Invoking method (after massaging values): " + method + " with tmpArgs:"); | ||||||||||||||||
5 | for (int i = 0; i < args.length; i++) |
| 15 | for (int i = 0; i < tmpArgs.length; i++) | ||||||||||||||||
6 | Interpreter.debug("args[" + i + "] = " + args[i] + " type = " + args[i].getClass()); |
| 16 | Interpreter.debug("tmpArgs[" + i + "] = " + tmpArgs[i] + " type = " + tmpArgs[i].getClass()); |
Row | Violation |
---|