void setPathExtension(boolean pathExt) { setProperty(new BooleanProperty(PATH_EXTENSION, pathExt)); } public void setPathExtensionNoEquals(boolean pathExtNoEquals) { setProperty(new BooleanProperty(PATH_EXTENSION_NO_EQUALS, pathExtNoEquals)); } public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark) { setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark)); }
void setNamespace(boolean namespace) { setProperty(new BooleanProperty(NAMESPACE_KEY, namespace)); } /** * Set tolerant mode if required * * @param tolerant * true/false */ public void setTolerant(boolean tolerant) { setProperty(new BooleanProperty(TOLERANT_KEY, tolerant)); } public void setNegated(boolean negate) { setProperty(new BooleanProperty(NEGATE_KEY, negate)); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/XPathAssertion.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setPathExtension(boolean pathExt) {
1
void setNamespace(boolean namespace) {
2
		setProperty(new BooleanProperty(PATH_EXTENSION, pathExt));
2
		setProperty(new BooleanProperty(
3
	}
4
	public void setPathExtensionNoEquals(boolean pathExtNoEquals) {
5
		setProperty(new BooleanProperty(PATH_EXTENSION_NO_EQUALS, pathExtNoEquals));
6
	}
7
	public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark) {
8
		setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark
3
NAMESPACE_KEY, namespace));
4
	}
5
	/**
6
	 * Set tolerant mode if required
7
	 * 
8
	 * @param tolerant
9
	 *            true/false
10
	 */
11
	public void setTolerant(boolean tolerant) {
12
		setProperty(new BooleanProperty(TOLERANT_KEY, tolerant));
13
	}
14
	public void setNegated(boolean negate) {
9
));
15
		setProperty(new BooleanProperty(NEGATE_KEY, negate));
10
	}
16
	}
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