File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/util/BeanShellBeanInfoSupport.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/util/BSFBeanInfoSupport.java | |||
Method name: void BeanShellBeanInfoSupport(Class)
|
Method name: void BSFBeanInfoSupport(Class)
|
|||
Number of AST nodes: 11 | Number of AST nodes: 11 | |||
1 | p = property("parameters");↵ | 1 | p = property("↵ | |
2 | ↵ | 2 | scriptLanguage"); // $NON-NLS-1$↵ | |
3 | p.setValue(NOT_UNDEFINED, Boolean.TRUE);↵ | 3 | p.setValue(NOT_UNDEFINED, Boolean.TRUE);↵ | |
4 | p.setValue(DEFAULT, "");↵ | 4 | p.setValue(DEFAULT, ""); // $NON-NLS-1$↵ | |
5 | createPropertyGroup("parameterGroup", new String[] { "parameters" });↵ | 5 | createPropertyGroup("↵ | |
6 | scriptingLanguage", // $NON-NLS-1$↵ | |||
7 | new String[] { "scriptLanguage" }); // $NON-NLS-1$↵ | |||
6 | ↵ | 8 | ↵ | |
7 | p = property("filename");↵ | 9 | p = property("parameters"); // $NON-NLS-1$↵ | |
8 | p.setValue(NOT_UNDEFINED, Boolean.TRUE);↵ | 10 | p.setValue(NOT_UNDEFINED, Boolean.TRUE);↵ | |
9 | p.setValue(DEFAULT, "");↵ | 11 | p.setValue(DEFAULT, ""); // $NON-NLS-1$↵ | |
10 | createPropertyGroup("filenameGroup", new String[] { "filename" });↵ | 12 | createPropertyGroup("↵ | |
11 | p = property("script");↵ | 13 | parameterGroup", // $NON-NLS-1$↵ | |
14 | new String[] { "parameters" }); // $NON-NLS-1$↵ | |||
15 | p = property("filename"); // $NON-NLS-1$↵ | |||
12 | p.setValue(NOT_UNDEFINED, Boolean.TRUE);↵ | 16 | p.setValue(NOT_UNDEFINED, Boolean.TRUE);↵ | |
13 | p.setValue(DEFAULT, ""); | 17 |
| |
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 different classes having the same super class |
Number of node comparisons | 53 |
Number of mapped statements | 11 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 2 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9 | p = property("parameters"); |
| 3 | p = property("scriptLanguage"); | |||||||||||||
|
| 4 | p.setValue(NOT_UNDEFINED, Boolean.TRUE); | ||||||||||||||
|
| 5 | p.setValue(DEFAULT, ""); | ||||||||||||||
10 | p.setValue(NOT_UNDEFINED, Boolean.TRUE); | 8 | p.setValue(NOT_UNDEFINED, Boolean.TRUE); | ||||||||||||||
11 | p.setValue(DEFAULT, ""); | 9 | p.setValue(DEFAULT, ""); | ||||||||||||||
12 | createPropertyGroup("parameterGroup", new String[] {"parameters"}); |
| 6 | createPropertyGroup("scriptingLanguage", new String[] {"scriptLanguage"}); | |||||||||||||
13 | p = property("filename"); |
| 7 | p = property("parameters"); | |||||||||||||
14 | p.setValue(NOT_UNDEFINED, Boolean.TRUE); | 12 | p.setValue(NOT_UNDEFINED, Boolean.TRUE); | ||||||||||||||
15 | p.setValue(DEFAULT, ""); | 13 | p.setValue(DEFAULT, ""); | ||||||||||||||
16 | createPropertyGroup("filenameGroup", new String[] {"filename"}); |
| 10 | createPropertyGroup("parameterGroup", new String[] {"parameters"}); | |||||||||||||
17 | p = property("script"); |
| 11 | p = property("filename"); | |||||||||||||
18 | p.setValue(NOT_UNDEFINED, Boolean.TRUE); | 12 | p.setValue(NOT_UNDEFINED, Boolean.TRUE); | ||||||||||||||
19 | p.setValue(DEFAULT, ""); | 13 | p.setValue(DEFAULT, ""); |
Row | Violation |
---|---|
1 | Unmatched statement p.setValue(NOT_UNDEFINED,Boolean.TRUE); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted |
2 | Unmatched statement p.setValue(DEFAULT,""); cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted |