Sampler nextIsNull() throws NextIsNullException {
reInitialize();
if (endOfLoop()) {
resetLoopCount();
return null;
}
return next();
}
protected void incrementLoopCount() {
loopCount++;
Sampler nextIsNull() throws NextIsNullException {
reInitialize();
if (endOfArguments()) {
// setDone(true);
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/RunTime.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/ForeachController.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 (endOfLoop()) {↵ | | 3 | if (endOfArguments()) {↵
|
| | | 4 | // setDone(true);↵
|
4 | resetLoopCount();↵ | | 5 | resetLoopCount();↵
|
5 | return null;↵ | | 6 | return null;↵
|
6 | }↵ | | 7 | }↵
|
7 | return next();↵ | | 8 | return next();↵
|
8 | }↵ | | 9 | }↵
|
|
9 | protected void incrementLoopCount() {↵ | | 10 | protected void incrementLoopCount() {↵
|
10 | loopCount++;↵ | | 11 | loopCount++;↵
|
11 | | | 12 |
|
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 | |
Number of node comparisons | 0 |