boolean isContainsType() { return (getTestType() & CONTAINS) > 0; } public boolean isMatchType() { return (getTestType() & MATCH) > 0; } public boolean isNotType() { return (getTestType() & NOT) > 0;
boolean isEqualsType() { return (getTestType() & EQUALS) > 0; } public boolean isSubstringType() { return (getTestType() & SUBSTRING) > 0; } public boolean isContainsType() { return (getTestType() & CONTAINS) > 0;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/ResponseAssertion.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/ResponseAssertion.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean isContainsType() {
1
boolean isEqualsType() {
2
		return (getTestType() & CONTAINS) > 0;
2
		return (getTestType() & EQUALS) > 0;
3
	}
3
	}
4
	public boolean isMatchType() {
4
    public boolean isSubstringType() {
5
		return (getTestType() & MATCH) > 0;
5
        return (getTestType() & SUBSTRING) > 0;
6
	}
6
    }
7
	public boolean isNotType() {
7
	public boolean isContainsType() {
8
		return (getTestType() & NOT) > 0;
8
		return (getTestType() & CONTAINS) > 0;
9
	
9
	
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