fileName = f; baseURL = b; expectedSet = s; expectedList = l;
initFile = init; logger = _log; init();
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/util/BeanShellInterpreter.java
Method name: void TestData(String, String, String, String) Method name: void BeanShellInterpreter(String, Logger)
Number of AST nodes: 4 Number of AST nodes: 3
1
fileName = f;
2
                baseURL = b;
3
                expectedSet = s;
4
                expectedList = l
1
initFile = init;
2
        logger = _log;
5
;
3
        init();
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 comparisons10
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment3
    Number of unmapped statements in the second code fragment2
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    fileName = f;
    1
    fileName = f;
    1
    initFile = init;
    Differences
    Expression1Expression2Difference
    fileNameinitFileVARIABLE_NAME_MISMATCH
    finitVARIABLE_NAME_MISMATCH
    1
    initFile = init;
                                  
    2
    logger = _log;
    Preondition Violations
    Unmatched statement logger=_log; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2
    logger = _log;
    2
    baseURL = b;
    2
    baseURL = b;
    Preondition Violations
    Unmatched statement baseURL=b; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                              
                        
    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
    3
    init();
    3
    expectedSet = s;
    3
    expectedSet = s;
    Preondition Violations
    Unmatched statement expectedSet=s; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                      
    4
    expectedList = l;
    4
    expectedList = l;
    Preondition Violations
    Unmatched statement expectedList=l; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                        
    Precondition Violations (5)
    Row Violation
    1Unmatched statement logger=_log; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2Unmatched statement baseURL=b; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3Unmatched statement init(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    4Unmatched statement expectedSet=s; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    5Unmatched statement expectedList=l; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted