super(); setMasterFunction(masterFunction); setVariables(variables);
resetCurrent(); incrementIterCount(); setFirst(true); recoverRunningVersion();
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/engine/util/ReplaceStringWithFunctions.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/GenericController.java
Method name: void ReplaceStringWithFunctions(CompoundVariable, Map) Method name: void reInitialize()
Number of AST nodes: 3 Number of AST nodes: 4
1
super();
2
		setMasterFunction(mas
1
resetCurrent();
3
terFunction);
2
		incrementIterCount();
4
		setVariables(variables
3
		setFirst(true);
5
);
4
		recoverRunningVersion();
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 comparisons12
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment1
    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
    resetCurrent();
    1
    super();
                          
    2
    setMasterFunction(masterFunction);
    2
    setMasterFunction(masterFunction);
    2
    incrementIterCount();
    Differences
    Expression1Expression2Difference
    setMasterFunctionincrementIterCountMETHOD_INVOCATION_NAME_MISMATCH
    setMasterFunction(masterFunction)incrementIterCount()ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression setMasterFunction(masterFunction) is a void method call, and thus it cannot be parameterized
    Expression incrementIterCount() is a void method call, and thus it cannot be parameterized
    Expression setMasterFunction(masterFunction) is a void method call, and thus it cannot be parameterized
    Expression incrementIterCount() is a void method call, and thus it cannot be parameterized
    2
    incrementIterCount();
                                        
    3
    setFirst(true);
    3
    setVariables(variables);
    3
    setVariables(variables);
    4
    recoverRunningVersion();
    Differences
    Expression1Expression2Difference
    setVariablesrecoverRunningVersionMETHOD_INVOCATION_NAME_MISMATCH
    setVariables(variables)recoverRunningVersion()ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression setVariables(variables) is a void method call, and thus it cannot be parameterized
    Expression recoverRunningVersion() is a void method call, and thus it cannot be parameterized
    Expression setVariables(variables) is a void method call, and thus it cannot be parameterized
    Expression recoverRunningVersion() is a void method call, and thus it cannot be parameterized
    4
    recoverRunningVersion();
    Precondition Violations (8)
    Row Violation
    1Expression setMasterFunction(masterFunction) is a void method call, and thus it cannot be parameterized
    2Expression incrementIterCount() is a void method call, and thus it cannot be parameterized
    3Expression setMasterFunction(masterFunction) is a void method call, and thus it cannot be parameterized
    4Expression incrementIterCount() is a void method call, and thus it cannot be parameterized
    5Expression setVariables(variables) is a void method call, and thus it cannot be parameterized
    6Expression recoverRunningVersion() is a void method call, and thus it cannot be parameterized
    7Expression setVariables(variables) is a void method call, and thus it cannot be parameterized
    8Expression recoverRunningVersion() is a void method call, and thus it cannot be parameterized