super(); this.sslManager = sslManager; CPS=cps;
if ('-' == m_ch || 0 == m_ch) { getChar(); // consume stray character addOption(m_option); m_state = STATE_NORMAL; return; }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java File path: /jakarta-jmeter-2.3.2/src/org/apache/commons/cli/avalon/CLArgsParser.java
Method name: void HttpSSLProtocolSocketFactory(JsseSSLManager, int) Method name: void parseArguments()
Number of AST nodes: 3 Number of AST nodes: 5
1
super();
2
        this.sslManager = sslManager;
3
        CPS=cps;
1
if ('-' == m_ch || 0 == m_ch) {
2
				getChar(); // consume stray character
3
				addOption(m_option);
4
				m_state = STATE_NORMAL;
5
				return;
6
			}
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons9
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment3
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    super();
                          
    2
    this.sslManager = sslManager;
                                                                
                                
    10
    getChar();
                                                    
    11
    addOption(m_option);
    3
    CPS = cps;
    3
    CPS = cps;
    12
    m_state = STATE_NORMAL;
    Differences
    Expression1Expression2Difference
    CPSm_stateVARIABLE_NAME_MISMATCH
    cpsSTATE_NORMALVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression CPS is a field being modified, and thus it cannot be parameterized
    Expression m_state is a field being modified, and thus it cannot be parameterized
    12
    m_state = STATE_NORMAL;
                          
    13
    return;
    Preondition Violations
    Unmatched return;
    13
    return;
    Precondition Violations (3)
    Row Violation
    1Expression CPS is a field being modified, and thus it cannot be parameterized
    2Expression m_state is a field being modified, and thus it cannot be parameterized
    3Unmatched return;