col1.setPreferredWidth(30); col1.setMinWidth(30); col1.setMaxWidth(30); col1.setResizable(false); col2.setPreferredWidth(180); col3.setPreferredWidth(130); col4.setPreferredWidth(70);
col1.setPreferredWidth(30); col1.setMinWidth(30); col1.setMaxWidth(30); col1.setResizable(false); col2.setPreferredWidth(300); col3.setPreferredWidth(100); col4.setPreferredWidth(100);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/InstallPanel.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/ManagePanel.java
Method name: void InstallPanel(PluginManager, boolean) Method name: void ManagePanel(PluginManager)
Number of AST nodes: 7 Number of AST nodes: 7
1
col1.setPreferredWidth(30);
1
col1.setPreferredWidth(30);
2
		col1.setMinWidth(30);
2
		col1.setMinWidth(30);
3
		col1.setMaxWidth(30);
3
		col1.setMaxWidth(30);
4
		col1.setResizable(false);
4
		col1.setResizable(false);
5
		col2.setPreferredWidth(180);
5
		col2.setPreferredWidth(300);
6
		col3.setPreferredWidth(130);
6
		col3.setPreferredWidth(100);
7
		col4.setPreferredWidth(70);
7
		col4.setPreferredWidth(100);
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 having the same super class
Number of node comparisons49
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements7
    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
    19
    col1.setPreferredWidth(30);
    18
    col1.setPreferredWidth(30);
    20
    col1.setMinWidth(30);
    19
    col1.setMinWidth(30);
    21
    col1.setMaxWidth(30);
    20
    col1.setMaxWidth(30);
    22
    col1.setResizable(false);
    21
    col1.setResizable(false);
    23
    col2.setPreferredWidth(180);
    23
    col2.setPreferredWidth(180);
    22
    col2.setPreferredWidth(300);
    Differences
    Expression1Expression2Difference
    180300LITERAL_VALUE_MISMATCH
    22
    col2.setPreferredWidth(300);
    24
    col3.setPreferredWidth(130);
    24
    col3.setPreferredWidth(130);
    23
    col3.setPreferredWidth(100);
    Differences
    Expression1Expression2Difference
    130100LITERAL_VALUE_MISMATCH
    23
    col3.setPreferredWidth(100);
    25
    col4.setPreferredWidth(70);
    25
    col4.setPreferredWidth(70);
    24
    col4.setPreferredWidth(100);
    Differences
    Expression1Expression2Difference
    70100LITERAL_VALUE_MISMATCH
    24
    col4.setPreferredWidth(100);
    Precondition Violations (0)
    Row Violation