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/ldap/config/gui/LdapConfigGui.java | |||
Method name: void clearGui()
|
Method name: void itemStateChanged(ItemEvent)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 8 | |||
1 | super↵ | 1 | cl.show(cards, ""); // $NON-NLS-1$↵ | |
2 | .clearGui();↵ | 2 | tableAddPanel.clear();↵ | |
3 | ↵ | |||
4 | urlField.setText(""); //$NON-NLS-1$↵ | 3 | add.setText(""); // $NON-NLS-1$↵ | |
5 | soapAction↵ | 4 | tableModifyPanel.clear();↵ | |
6 | .setText(""); //$NON-NLS-1$↵ | 5 | modify.setText(""); // $NON-NLS-1$↵ | |
7 | soapXml.setText(""); //$NON-NLS-1$↵ | 6 | searchbase.setText(""); // $NON-NLS-1$↵ | |
8 | sendSoapAction.setSelected(true);↵ | |||
9 | soapXmlFile.setFilename(""); //$NON-NLS-1$↵ | 7 | searchfilter.setText(""); // $NON-NLS-1$↵ | |
10 | useKeepAlive.setSelected(false); | 8 | delete.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 | 56 |
Number of mapped statements | 7 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super.clearGui(); |
| 40 | cl.show(cards, ""); | |||||||||||||||||||||||
2 | urlField.setText(""); |
| 44 | modify.setText(""); | |||||||||||||||||||||||
3 | soapAction.setText(""); |
| 45 | searchbase.setText(""); | |||||||||||||||||||||||
4 | soapXml.setText(""); |
| 42 | add.setText(""); | |||||||||||||||||||||||
5 | sendSoapAction.setSelected(true); |
| 43 | tableModifyPanel.clear(); | |||||||||||||||||||||||
6 | soapXmlFile.setFilename(""); |
| 46 | searchfilter.setText(""); | |||||||||||||||||||||||
7 | useKeepAlive.setSelected(false); |
| 41 | tableAddPanel.clear(); | |||||||||||||||||||||||
| 47 | delete.setText(""); |
Row | Violation |
---|---|
1 | Expression super.clearGui() is a void method call, and thus it cannot be parameterized |
2 | Expression cl.show(cards,"") is a void method call, and thus it cannot be parameterized |
3 | Expression sendSoapAction.setSelected(true) is a void method call, and thus it cannot be parameterized |
4 | Expression tableModifyPanel.clear() is a void method call, and thus it cannot be parameterized |
5 | Expression sendSoapAction.setSelected(true) is a void method call, and thus it cannot be parameterized |
6 | Expression tableModifyPanel.clear() is a void method call, and thus it cannot be parameterized |
7 | Expression soapXmlFile.setFilename("") is a void method call, and thus it cannot be parameterized |
8 | Expression searchfilter.setText("") is a void method call, and thus it cannot be parameterized |
9 | Expression useKeepAlive.setSelected(false) is a void method call, and thus it cannot be parameterized |
10 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |
11 | Expression useKeepAlive.setSelected(false) is a void method call, and thus it cannot be parameterized |
12 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |