if ('-' == m_ch || 0 == m_ch) { getChar(); // consume stray character addOption(m_option); m_state = STATE_NORMAL; return; }
if (endOfLoop()) { reInitialize();// ?? resetLoopCount(); return null; }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/commons/cli/avalon/CLArgsParser.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/RunTime.java
Method name: void parseArguments() Method name: Sampler next()
Number of AST nodes: 5 Number of AST nodes: 4
1
if ('-' == m_ch || 0 == m_ch) {
1
if (
2
				getChar
2
endOfLoop()) {
3
(); // consume stray character
3
			reInitialize();// 
4
				addOption(m_option);
5
				m_state = STATE_NORMAL
4
??
6
;
5
			resetLoopCount();
7
				return;
6
			return null;
8
			}
7
		}
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.1
Clones locationClones are in different classes
Number of node comparisons1