HTTPSamplerBase sampler = HTTPSamplerFactory.newInstance();// create default sampler modifyTestElement(sampler); return sampler;
Container panel = super.makeTitlePanel(); // Note: the file panel already includes the error logging checkbox, // so we don't have to add it explicitly. panel.add(getFilePanel()); return panel;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java
Method name: TestElement createTestElement() Method name: Container makeTitlePanel()
Number of AST nodes: 3 Number of AST nodes: 3
1
HTTPSamplerBase sampler = HTTPSamplerFactory.newInstance();// create default sampler
2
		modifyTestElement(sampler
1
Container panel = super.makeTitlePanel();
2
		// Note: the file panel already includes the error logging checkbox,
3
		// so we don't have to add it explicitly.
3
);
4
		panel.add(getFilePanel());
4
		return sampler;
5
		return panel;
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 locationClones are in different classes having the same super class
Number of node comparisons9