if (useProxy) {
if (PROXY_USER.length() > 0){
httpClient.getState().setProxyCredentials(
new AuthScope(PROXY_HOST,PROXY_PORT,null,AuthScope.ANY_SCHEME),
new NTCredentials(PROXY_USER,PROXY_PASS,localHost,PROXY_DOMAIN)
);
}
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/functions/RegexFunction.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java
|
Method name: String execute(SampleResult, Sampler)
|
|
Method name: HttpClient setupConnection(URL, HttpMethodBase, HTTPSampleResult)
|
Number of AST nodes: 0
|
|
Number of AST nodes: 3
|
|
| | | 1 | if (useProxy) {↵
|
| | | 2 | if (PROXY_USER.length() > 0){↵
|
| | | 3 | httpClient.getState().setProxyCredentials(↵
|
| | | 4 | new AuthScope(PROXY_HOST,PROXY_PORT,null,AuthScope.ANY_SCHEME),↵
|
| | | 5 | new NTCredentials(PROXY_USER,PROXY_PASS,localHost,PROXY_DOMAIN)↵
|
| | | 6 | );↵
|
| | | 7 | }↵
|
| | | 8 | }
|
See real code fragment |
|
See real code fragment |
Summary
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.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 0 |