File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java | |||
Method name: HTTPSampleResult sample(URL, String, boolean, int)
|
Method name: void threadStarted()
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | if (method.equals(DELETE)){↵ | 1 | if (useTemporyQueue()) {↵ | |
2 | httpMethod = new DeleteMethod(urlStr);↵ | 2 | executor = new TemporaryQueueExecutor(session, sendQueue);↵ | |
3 | } else if (method.equals(GET)){↵ | 3 | } else ↵ | |
4 | httpMethod = new GetMethod(urlStr);↵ | |||
5 | } else {↵ | |||
6 | log.error("Unexpected method (converted to GET): "+method);↵ | |||
7 | httpMethod = new GetMethod(urlStr↵ | 4 | {↵ | |
5 | producer = session.createSender(sendQueue);↵ | |||
6 | if (isNonPersistent()) {↵ | |||
7 | producer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);↵ | |||
8 | }↵ | |||
8 | );↵ | 9 | executor = new FixedQueueExecutor(producer, getTimeout());↵ | |
9 | } | 10 | } | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.1 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 2 |