super.configure(element); loginPanel.configure(element); ldapDefaultPanel.configure(element);
this.graph.clearData(); model.clear(); repaint();
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/control/gui/LdapTestSamplerGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/DistributionGraphVisualizer.java
Method name: void configure(TestElement) Method name: void clearData()
Number of AST nodes: 3 Number of AST nodes: 3
1
super.configure(element);
2
		loginPanel.configure(element);
3
		ldapDefaultPanel.configure(eleme
1
this.graph.clearData();
2
		model.clear();
4
nt);
3
		repaint();
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 having the same super class
Number of node comparisons9
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    super.configure(element);
    1
    super.configure(element);
    2
    model.clear();
    Differences
    Expression1Expression2Difference
    super.configure(element)model.clear()TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression super.configure(element) is a void method call, and thus it cannot be parameterized
    Expression model.clear() is a void method call, and thus it cannot be parameterized
    2
    model.clear();
    2
    loginPanel.configure(element);
    2
    loginPanel.configure(element);
    1
    this.graph.clearData();
    Differences
    Expression1Expression2Difference
    configureclearDataMETHOD_INVOCATION_NAME_MISMATCH
    loginPanelthis.graphTYPE_COMPATIBLE_REPLACEMENT
    loginPanel.configure(element)this.graph.clearData()ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression loginPanel.configure(element) is a void method call, and thus it cannot be parameterized
    Expression this.graph.clearData() is a void method call, and thus it cannot be parameterized
    Expression loginPanel.configure(element) is a void method call, and thus it cannot be parameterized
    Expression this.graph.clearData() is a void method call, and thus it cannot be parameterized
    1
    this.graph.clearData();
    3
    ldapDefaultPanel.configure(element);
    3
    ldapDefaultPanel.configure(element);
    3
    repaint();
    Differences
    Expression1Expression2Difference
    configurerepaintMETHOD_INVOCATION_NAME_MISMATCH
    ldapDefaultPanel.configure(element)repaint()ARGUMENT_NUMBER_MISMATCH
    ldapDefaultPanelMISSING_METHOD_INVOCATION_EXPRESSION
    Preondition Violations
    Expression ldapDefaultPanel.configure(element) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression ldapDefaultPanel.configure(element) is a void method call, and thus it cannot be parameterized
    Expression repaint() is a void method call, and thus it cannot be parameterized
    Expression ldapDefaultPanel.configure(element) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression ldapDefaultPanel.configure(element) is a void method call, and thus it cannot be parameterized
    Expression repaint() is a void method call, and thus it cannot be parameterized
    3
    repaint();
    Precondition Violations (12)
    Row Violation
    1Expression super.configure(element) is a void method call, and thus it cannot be parameterized
    2Expression model.clear() is a void method call, and thus it cannot be parameterized
    3Expression loginPanel.configure(element) is a void method call, and thus it cannot be parameterized
    4Expression this.graph.clearData() is a void method call, and thus it cannot be parameterized
    5Expression loginPanel.configure(element) is a void method call, and thus it cannot be parameterized
    6Expression this.graph.clearData() is a void method call, and thus it cannot be parameterized
    7Expression ldapDefaultPanel.configure(element) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    8Expression ldapDefaultPanel.configure(element) is a void method call, and thus it cannot be parameterized
    9Expression repaint() is a void method call, and thus it cannot be parameterized
    10Expression ldapDefaultPanel.configure(element) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    11Expression ldapDefaultPanel.configure(element) is a void method call, and thus it cannot be parameterized
    12Expression repaint() is a void method call, and thus it cannot be parameterized