super(); setFamily(DEFAULT_FAMILY); setSize(12);
addSeparator(); add(_makeEditable); addSeparator();
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/gui/FontInfo.java File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/DataSetViewerTextPanel.java
Method name: void FontInfo() Method name: void MyJTextAreaPopupMenu(boolean, IDataSetUpdateableModel)
Number of AST nodes: 3 Number of AST nodes: 3
1
super();
2
		setFamily(DEFAULT_FAMILY);
3
		setSize(12
1
addSeparator();
2
				add(_makeEditable);
4
);
3
				addSeparator();
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 comparisons9
  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 fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    super();
                          
    2
    setFamily(DEFAULT_FAMILY);
    2
    setFamily(DEFAULT_FAMILY);
    4
    addSeparator();
    Differences
    Expression1Expression2Difference
    setFamilyaddSeparatorMETHOD_INVOCATION_NAME_MISMATCH
    setFamily(DEFAULT_FAMILY)addSeparator()ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression setFamily(DEFAULT_FAMILY) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression setFamily(DEFAULT_FAMILY) is a void method call, and thus it cannot be parameterized
    Expression addSeparator() is a void method call, and thus it cannot be parameterized
    Expression setFamily(DEFAULT_FAMILY) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression setFamily(DEFAULT_FAMILY) is a void method call, and thus it cannot be parameterized
    Expression addSeparator() is a void method call, and thus it cannot be parameterized
    4
    addSeparator();
                                                
    5
    add(_makeEditable);
    3
    setSize(12);
    3
    setSize(12);
    6
    addSeparator();
    Differences
    Expression1Expression2Difference
    setSizeaddSeparatorMETHOD_INVOCATION_NAME_MISMATCH
    setSize(12)addSeparator()ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression setSize(12) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression setSize(12) is a void method call, and thus it cannot be parameterized
    Expression addSeparator() is a void method call, and thus it cannot be parameterized
    Expression setSize(12) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression setSize(12) is a void method call, and thus it cannot be parameterized
    Expression addSeparator() is a void method call, and thus it cannot be parameterized
    6
    addSeparator();
    Precondition Violations (13)
    Row Violation
    1Expression setFamily(DEFAULT_FAMILY) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2Expression setFamily(DEFAULT_FAMILY) is a void method call, and thus it cannot be parameterized
    3Expression addSeparator() is a void method call, and thus it cannot be parameterized
    4Expression setFamily(DEFAULT_FAMILY) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    5Expression setFamily(DEFAULT_FAMILY) is a void method call, and thus it cannot be parameterized
    6Expression addSeparator() is a void method call, and thus it cannot be parameterized
    7Expression setSize(12) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    8Expression setSize(12) is a void method call, and thus it cannot be parameterized
    9Expression addSeparator() is a void method call, and thus it cannot be parameterized
    10Expression setSize(12) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    11Expression setSize(12) is a void method call, and thus it cannot be parameterized
    12Expression addSeparator() is a void method call, and thus it cannot be parameterized
    13The refactoring of the clones is infeasible, because classes net.sourceforge.squirrel_sql.fw.gui.FontInfo and net.sourceforge.squirrel_sql.fw.datasetviewer.DataSetViewerTextPanel.MyJTextAreaPopupMenu do not have a common superclass