if (m_isLong && '=' != m_tokesep){ // Long optional arg must have = as separator
addOption(m_option);
m_state = STATE_NORMAL;
return;
}
if (index < size) {
setCurrentPos(index);
log.debug("Setting currentpos to " + index);
removeRow();
}
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/jorphan/collections/Data.java
|
Method name: void parseArguments()
|
|
Method name: void removeRow(int)
|
Number of AST nodes: 4
|
|
Number of AST nodes: 4
|
|
1 | if (m_isLong && '=' != m_tokesep){ // Long optional arg must have = as separator↵ | | 1 | if (↵
|
2 | addOption(m_option);↵ | | |
|
3 | m_state = STATE_NORMAL↵ | | 2 | index < size) {↵
|
| | | 3 | setCurrentPos(index);↵
|
4 | ;↵ | | 4 | log.debug("Setting currentpos to " + index);↵
|
5 | return; ↵ | | 5 | removeRow();↵
|
6 | } | | 6 | }
|
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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |