headerManager = new HeaderManager(); tableModel = new InnerTableModel(headerManager); init();
args = new Arguments(); files = new HTTPFileArgs(); this.boundary = boundary;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/gui/HeaderPanel.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/config/MultipartUrlConfig.java
Method name: void HeaderPanel() Method name: void MultipartUrlConfig(String)
Number of AST nodes: 3 Number of AST nodes: 3
1
headerManager = new HeaderManager();
2
		tableModel = new InnerTableModel(headerManager);
3
		init()
1
args = new Arguments();
2
        files = new HTTPFileArgs();
4
;
3
		this.boundary = boundary;
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 different classes
Number of node comparisons7
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment2
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    headerManager = new HeaderManager();
    1
    headerManager = new HeaderManager();
    1
    args = new Arguments();
    Differences
    Expression1Expression2Difference
    headerManagerargsVARIABLE_NAME_MISMATCH
    org.apache.jmeter.protocol.http.control.HeaderManagerorg.apache.jmeter.config.ArgumentsSUBCLASS_TYPE_MISMATCH
    org.apache.jmeter.protocol.http.control.HeaderManagerorg.apache.jmeter.config.ArgumentsSUBCLASS_TYPE_MISMATCH
    1
    args = new Arguments();
                                                            
    2
    files = new HTTPFileArgs();
    Preondition Violations
    Unmatched statement files=new HTTPFileArgs(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2
    files = new HTTPFileArgs();
    2
    tableModel = new InnerTableModel(headerManager);
    2
    tableModel = new InnerTableModel(headerManager);
    Preondition Violations
    Unmatched statement tableModel=new InnerTableModel(headerManager); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                                                                      
                                                        
    3
    this.boundary = boundary;
    Preondition Violations
    Unmatched statement this.boundary=boundary; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3
    this.boundary = boundary;
    3
    init();
    3
    init();
    Preondition Violations
    Unmatched statement init(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                        
    Precondition Violations (4)
    Row Violation
    1Unmatched statement files=new HTTPFileArgs(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2Unmatched statement tableModel=new InnerTableModel(headerManager); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3Unmatched statement this.boundary=boundary; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    4Unmatched statement init(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted