final CLOptionDescriptor descriptor = getDescriptorFor(m_option.getDescriptor().getId()); final String message = "Missing argument to option " + getOptionDescription(descriptor); throw new ParseException(message, 0);
final CLOptionDescriptor descriptor = getDescriptorFor(m_option.getDescriptor().getId()); final String message = "Missing argument to option " + getOptionDescription(descriptor); throw new ParseException(message, 0);
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/commons/cli/avalon/CLArgsParser.java
Method name: void parse() Method name: void parse()
Number of AST nodes: 3 Number of AST nodes: 3
1
final CLOptionDescriptor descriptor = getDescriptorFor(m_option.getDescriptor().getId());
1
final CLOptionDescriptor descriptor = getDescriptorFor(m_option.getDescriptor().getId());
2
					final String message = "Missing argument to option " + getOptionDescription(descriptor);
2
				final String message = "Missing argument to option " + getOptionDescription(descriptor);
3
					throw new ParseException(message, 0);
3
				throw new ParseException(message, 0);
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in the same method
Number of node comparisons10
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 1
    Mapped Statements
    ID Statement ID Statement
    32
    final CLOptionDescriptor descriptor = getDescriptorFor(m_option.getDescriptor().getId());
    25
    final CLOptionDescriptor descriptor = getDescriptorFor(m_option.getDescriptor().getId());
    33
    final String message = "Missing argument to option " + getOptionDescription(descriptor);
    26
    final String message = "Missing argument to option " + getOptionDescription(descriptor);
    34
    throw new ParseException(message, 0);
    27
    throw new ParseException(message, 0);
    Precondition Violations (0)
    Row Violation