if (o instanceof CollectionProperty) { if (value != null) { return value.equals(((JMeterProperty) o).getObjectValue()); } }
if(!invalidRedirectUrl) { totalRes.addSubResult(lastRes); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/property/CollectionProperty.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
Method name: boolean equals(Object) Method name: HTTPSampleResult followRedirects(HTTPSampleResult, int)
Number of AST nodes: 3 Number of AST nodes: 2
1
if (o instanceof CollectionProperty) {
1
if
2
			if (value != null) {
3
				return value.equals(((JMeterProperty) o).getObjectValue()
2
(!invalidRedirectUrl) {
4
);
3
					totalRes.addSubResult(lastRes);
5
			}
4
			
6
		}
5
	}
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
Number of node comparisons1