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/mail/sampler/MailReaderSampler.java | |||
Method name: void modifyTestElement(TestElement)
|
Method name: SampleResult sample(Entry)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | SoapSampler sampler = (SoapSampler) s;↵ | 1 | BodyPart bodyPart = mmp.getBodyPart(j);↵ | |
2 | sampler.setURLData(urlField.getText());↵ | 2 | ↵ | |
3 | sampler.setXmlData(soapXml.getText());↵ | |||
4 | sampler.setXmlFile(soapXmlFile.getFilename()↵ | 3 | cdata.append("Type: ");↵ | |
4 | cdata.append(bodyPart.getContentType());↵ | |||
5 | );↵ | 5 | cdata.append(NEW_LINE);↵ | |
6 | sampler.setSOAPAction(soapAction.getText());↵ | 6 | ↵ | |
7 | sampler.setSendSOAPAction(sendSoapAction.isSelected());↵ | |||
8 | sampler.setUseKeepAlive(useKeepAlive.isSelected()↵ | 7 | try {↵ | |
8 | cdata.append(bodyPart.getContent());↵ | |||
9 | } catch (UnsupportedEncodingException ex){↵ | |||
10 | cdata.append(ex.getLocalizedMessage());↵ | |||
11 | }↵ | |||
9 | ); | 12 | cdata.append(NEW_LINE); | |
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 |
Number of node comparisons | 14 |
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 |
---|