File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/PowerTableModel.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/PowerTableModel.java | |||
Method name: Object createDefaultValue(int)
|
Method name: Object createDefaultValue(int)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | try {↵ | 1 | try {↵ | |
2 | Constructor constr = colClass.getConstructor(new Class[] { Integer.TYPE });↵ | 2 | Constructor constr = colClass.getConstructor(new Class[] { Double.TYPE });↵ | |
3 | return constr.newInstance(new Object[] { new Integer(0) });↵ | 3 | return constr.newInstance(new Object[] { new Double(0D) });↵ | |
4 | } catch (NoSuchMethodException err) {↵ | 4 | } catch (NoSuchMethodException err) {↵ | |
5 | } catch (InstantiationException err) {↵ | 5 | } catch (InstantiationException err) {↵ | |
6 | } catch (IllegalAccessException err) {↵ | 6 | } catch (IllegalAccessException err) {↵ | |
7 | } catch (InvocationTargetException err) {↵ | 7 | } catch (InvocationTargetException err) {↵ | |
8 | } | 8 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 0 |
Number of mapped statements | 0 |
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 | Unknown type |
ID | Statement | ID | Statement |
---|
Row | Violation |
---|