file = f; exclfile = exf; inclfile = inf; exclpatt = exp; inclpatt = inp;
super(name); testFile=file; parent=dir;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/test/src/org/apache/jmeter/protocol/http/util/accesslog/TestLogFilter.java File path: /jakarta-jmeter-2.3.2/test/src/org/apache/jmeter/gui/action/TestLoad.java
Method name: void TestData(String, boolean, boolean, boolean, boolean) Method name: void TestLoad(String, File, String)
Number of AST nodes: 5 Number of AST nodes: 3
1
file = f;
2
				exclfile = exf;
3
				inclfile = inf;
4
				exclpatt = exp;
5
				inclpatt = inp
1
super(name);
2
		testFile=file;
6
;
3
		parent=dir;
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 comparisons14
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment4
    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
    super(name);
                                      
    2
    testFile = file;
    Preondition Violations
    Unmatched statement testFile=file; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2
    testFile = file;
    1
    file = f;
    1
    file = f;
    3
    parent = dir;
    Differences
    Expression1Expression2Difference
    fileparentVARIABLE_NAME_MISMATCH
    fdirVARIABLE_NAME_MISMATCH
    3
    parent = dir;
    2
    exclfile = exf;
    2
    exclfile = exf;
    Preondition Violations
    Unmatched statement exclfile=exf; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                    
    3
    inclfile = inf;
    3
    inclfile = inf;
    Preondition Violations
    Unmatched statement inclfile=inf; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                    
    4
    exclpatt = exp;
    4
    exclpatt = exp;
    Preondition Violations
    Unmatched statement exclpatt=exp; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                    
    5
    inclpatt = inp;
    5
    inclpatt = inp;
    Preondition Violations
    Unmatched statement inclpatt=inp; 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 testFile=file; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2Unmatched statement exclfile=exf; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3Unmatched statement inclfile=inf; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    4Unmatched statement exclpatt=exp; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    5Unmatched statement inclpatt=inp; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted