public void configure(TestElement el) { super.configure(el); XPathExtractor xpe = (XPathExtractor) el; xpathQueryField.setText(xpe.getXPathQuery()); defaultField.setText(xpe.getDefaultValue()); refNameField.setText(xpe.getRefName()); tolerant.setSelected(xpe.isTolerant()); quiet.setSelected(xpe.isQuiet()); showWarnings.setSelected(xpe.showWarnings()); reportErrors.setSelected(xpe.reportErrors()); nameSpace.setSelected(xpe.useNameSpace()); setTidyOptions(tolerant.isSelected());
public void configure(TestElement el) { super.configure(el); SoapSampler sampler = (SoapSampler) el; urlField.setText(sampler.getURLData()); sendSoapAction.setSelected(sampler.getSendSOAPAction()); soapAction.setText(sampler.getSOAPAction()); soapXml.setText(sampler.getXmlData()); soapXmlFile.setFilename(sampler.getXmlFile()); useKeepAlive.setSelected(sampler.getUseKeepAlive());
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/gui/XPathExtractorGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void configure(TestElement el) {
1
public void configure(TestElement el) {
2
		super.configure(el);
2
		super.configure(el);
3
		XPathExtractor xpe = (XPathExtractor) el;
3
		
4
		xpathQueryField.setText(xpe.getXPathQuery());
5
		defaultField.setText(xpe.getDefaultValue());
6
		refNameField.setText(xpe.getRefName());
7
		tolerant.setSelected(xpe.isTolerant
4
SoapSampler sampler = (SoapSampler) el;
5
		urlField.setText(sampler.getURLData());
6
		sendSoapAction.setSelected(sampler.getSendSOAPAction());
8
());
7
		soapAction.setText(sampler.getSOAPAction());
9
		quiet.setSelected(xpe.isQuiet());
8
		
10
		showWarnings.setSelected(xpe.showWarnings());
11
		reportErrors.setSelected(xpe.reportErrors());
12
		nameSpace.setSelected(xpe.useNameSpace());
13
        setTidyOptions(tolerant.isSelected
9
soapXml.setText(sampler.getXmlData());
10
        soapXmlFile.setFilename(sampler.getXmlFile());
14
());
11
        useKeepAlive.setSelected(sampler.getUseKeepAlive());
15
	
12
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0