File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/modifier/gui/ParamModifierGui.java | |||
Method name: void clearGui()
|
Method name: void clearGui()
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | super.clearGui();↵ | 1 | super.clearGui();↵ | |
2 | ↵ | 2 | ↵ | |
3 | urlField.setText(""); //$NON-NLS-1$↵ | 3 | _fieldName.setText(""); //$NON-NLS-1$↵ | |
4 | soapAction.setText(""); //$NON-NLS-1$↵ | 4 | _prefix.setText(""); //$NON-NLS-1$↵ | |
5 | soapXml.setText(""); //$NON-NLS-1$↵ | 5 | ↵ | |
6 | sendSoapAction.setSelected(true);↵ | |||
7 | soapXmlFile.setFilename↵ | 6 | _lowerBound.setText(ZERO);↵ | |
7 | _upperBound.setText("10"); //$NON-NLS-1$↵ | |||
8 | (""); //$NON-NLS-1$↵ | 8 | _increment.setText("1"); //$NON-NLS-1$↵ | |
9 | useKeepAlive.setSelected(false); | 9 | _suffix.setText(""); | |
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 | 49 |
Number of mapped statements | 5 |
Number of unmapped statements in the first code fragment | 2 |
Number of unmapped statements in the second code fragment | 2 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super.clearGui(); | 1 | super.clearGui(); | ||||||||||||||||||||||
2 | urlField.setText(""); |
| 2 | _fieldName.setText(""); | |||||||||||||||||||||
3 | soapAction.setText(""); |
| 3 | _prefix.setText(""); | |||||||||||||||||||||
| 4 | _lowerBound.setText(ZERO); | |||||||||||||||||||||||
| 5 | _upperBound.setText("10"); | |||||||||||||||||||||||
4 | soapXml.setText(""); |
| 7 | _suffix.setText(""); | |||||||||||||||||||||
5 | sendSoapAction.setSelected(true); | | |||||||||||||||||||||||
6 | soapXmlFile.setFilename(""); |
| 6 | _increment.setText("1"); | |||||||||||||||||||||
7 | useKeepAlive.setSelected(false); | |
Row | Violation |
---|---|
1 | Expression soapXmlFile.setFilename("") is a void method call, and thus it cannot be parameterized |
2 | Expression _increment.setText("1") is a void method call, and thus it cannot be parameterized |