Sampler nextIsNull() throws NextIsNullException { reInitialize(); if (endOfArguments()) { // setDone(true); resetLoopCount(); return null; } return next(); } protected void incrementLoopCount() { loopCount++; }
Sampler nextIsNull() throws NextIsNullException { reInitialize(); if (endOfLoop()) { resetLoopCount(); return null; } return next(); } protected void incrementLoopCount() { loopCount++; }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/ForeachController.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/RunTime.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
Sampler nextIsNull() throws NextIsNullException {
1
Sampler nextIsNull() throws NextIsNullException {
2
		reInitialize();
2
		reInitialize();
3
		if (endOfArguments()) {
3
		if (endOf
4
			// setDone(true);
4
Loop()) {
5
			resetLoopCount();
5
			resetLoopCount();
6
			return null;
6
			return null;
7
		}
7
		}
8
		return next();
8
		return next();
9
	}
9
	}
10
	protected void incrementLoopCount() {
10
	protected void incrementLoopCount() {
11
		loopCount++;
11
		loopCount++;
12
	}
12
	}
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