File path: /sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/action/CreateTableCommand.java | File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/PreferencesPanel.java | |||
Method name: void cbFieldTypeActionPerformed(java.awt.event.ActionEvent)
|
Method name: void loadData()
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | chBinary.setEnabled(true);↵ | 1 | c↵ | |
2 | chUnsigned.setEnabled(false);↵ | |||
3 | chZeroFill↵ | 2 | ommitRecordCountLabel.setEnabled(true);↵ | |
3 | commitRecordCountTextField.setEnabled(true); ↵ | |||
4 | .setEnabled(false); | 4 | commitAfterCreateTableCheckBox.setEnabled(true); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 9 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | chBinary.setEnabled(true); |
| 14 | commitRecordCountLabel.setEnabled(true); | ||||||||||||||||
4 | chUnsigned.setEnabled(false); |
| 15 | commitRecordCountTextField.setEnabled(true); | ||||||||||||||||
5 | chZeroFill.setEnabled(false); |
| 16 | commitAfterCreateTableCheckBox.setEnabled(true); |
Row | Violation |
---|---|
1 | The refactoring of the clones is infeasible, because classes net.sourceforge.squirrel_sql.plugins.mysql.action.CreateTableCommand and net.sourceforge.squirrel_sql.plugins.dbcopy.gui.PreferencesPanel do not have a common superclass |