File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java | |||
Method name: void clearGui()
|
Method name: void clearGui()
|
|||
Number of AST nodes: 16 | Number of AST nodes: 16 | |||
1 | super.clearGui();↵ | 1 | super.clearGui();↵ | |
2 | ↵ | |||
3 | domain.setText(""); //$NON-NLS-1$↵ | |||
4 | protocol↵ | 2 | useProperties.setSelected(false);↵ | |
5 | .setText(""); //$NON-NLS-1$↵ | 3 | jndiICF.setText(""); // $NON-NLS-1$↵ | |
6 | port.setText(""); //$NON-NLS-1$↵ | 4 | urlField.setText(""); // $NON-NLS-1$↵ | |
7 | path.setText(""); //$NON-NLS-1$↵ | 5 | jndiConnFac.setText(""); // $NON-NLS-1$↵ | |
8 | soapAction.setText(""); //$NON-NLS-1$↵ | 6 | jmsTopic.setText(""); // $NON-NLS-1$↵ | |
9 | soapXml.setText(""); //$NON-NLS-1$↵ | 7 | jmsUser.setText(""); // $NON-NLS-1$↵ | |
10 | wsdlField.setText(""); //$NON-NLS-1$↵ | 8 | jmsPwd.setText(""); // $NON-NLS-1$↵ | |
11 | randomXmlFile.setText(""); //$NON-NLS-1$↵ | 9 | textMessage.setText(""); // $NON-NLS-1$↵ | |
12 | connectTimeout.setText(""); //$NON-NLS-1$↵ | 10 | messageFile.setFilename(""); // $NON-NLS-1$↵ | |
13 | proxyHost.setText(""); //$NON-NLS-1$↵ | 11 | randomFile.setFilename(""); // $NON-NLS-1$↵ | |
14 | proxyPort.setText(""); //$NON-NLS-1$↵ | 12 | msgChoice.setText(""); // $NON-NLS-1$↵ | |
15 | memCache.setSelected(true);↵ | |||
16 | readResponse.setSelected(false);↵ | |||
17 | useProxy.setSelected(false);↵ | |||
18 | soapXmlFile.setFilename↵ | 13 | configChoice.setText(use_text);↵ | |
14 | updateConfig(use_text);↵ | |||
15 | iterations.setText(""); // $NON-NLS-1$↵ | |||
19 | (""); | 16 | reqAuth.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 | 256 |
Number of mapped statements | 14 |
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 | domain.setText(""); |
| 3 | jndiICF.setText(""); | |||||||||||||||||
3 | protocol.setText(""); |
| 4 | urlField.setText(""); | |||||||||||||||||
4 | port.setText(""); |
| 5 | jndiConnFac.setText(""); | |||||||||||||||||
5 | path.setText(""); |
| 7 | jmsUser.setText(""); | |||||||||||||||||
6 | soapAction.setText(""); |
| 6 | jmsTopic.setText(""); | |||||||||||||||||
7 | soapXml.setText(""); |
| 9 | textMessage.setText(""); | |||||||||||||||||
8 | wsdlField.setText(""); |
| 8 | jmsPwd.setText(""); | |||||||||||||||||
| 10 | messageFile.setFilename(""); | |||||||||||||||||||
9 | randomXmlFile.setText(""); |
| 15 | iterations.setText(""); | |||||||||||||||||
10 | connectTimeout.setText(""); |
| 12 | msgChoice.setText(""); | |||||||||||||||||
11 | proxyHost.setText(""); |
| 16 | reqAuth.setText(""); | |||||||||||||||||
12 | proxyPort.setText(""); |
| 13 | configChoice.setText(use_text); | |||||||||||||||||
13 | memCache.setSelected(true); |
| 2 | useProperties.setSelected(false); | |||||||||||||||||
| 14 | updateConfig(use_text); | |||||||||||||||||||
14 | readResponse.setSelected(false); | | |||||||||||||||||||
15 | useProxy.setSelected(false); | | |||||||||||||||||||
16 | soapXmlFile.setFilename(""); |
| 11 | randomFile.setFilename(""); |
Row | Violation |
---|---|
1 | Expression connectTimeout cannot be unified with expression msgChoice , because common superclass javax.swing.JPanel does not declare member(s) public void setText(java.lang.String) |
2 | Expression proxyHost cannot be unified with expression reqAuth , because common superclass javax.swing.JPanel does not declare member(s) public void setText(java.lang.String) |
3 | Expression proxyPort cannot be unified with expression configChoice , because common superclass javax.swing.JPanel does not declare member(s) public void setText(java.lang.String) |