File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/gui/FontChooser.java | File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java | |||
Method name: void removeNotify()
|
Method name: void removeNotify()
|
|||
Number of AST nodes: 5 | Number of AST nodes: 3 | |||
1 | _fontNamesCmb.removeActionListener(_previewUpdater);↵ | 1 | _↵ | |
2 | _fontSizesCmb.removeActionListener(_previewUpdater);↵ | |||
3 | _boldChk.removeActionListener(_previewUpdater);↵ | 2 | boldChk.removeActionListener(_toggleLis);↵ | |
4 | _italicChk.removeActionListener(_previewUpdater);↵ | 3 | _italicChk.removeActionListener(_↵ | |
5 | _previewUpdater↵ | 4 | toggleLis);↵ | |
6 | = null; | 5 | _toggleLis = null; | |
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 | 2 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | _fontNamesCmb.removeActionListener(_previewUpdater); | | |||||||||||||||
4 | _fontSizesCmb.removeActionListener(_previewUpdater); | | |||||||||||||||
5 | _boldChk.removeActionListener(_previewUpdater); |
| 7 | _boldChk.removeActionListener(_toggleLis); | |||||||||||||
6 | _italicChk.removeActionListener(_previewUpdater); |
| 8 | _italicChk.removeActionListener(_toggleLis); | |||||||||||||
7 | _previewUpdater = null; |
| 9 | _toggleLis = null; |
Row | Violation |
---|---|
1 | The refactoring of the clones is infeasible, because classes net.sourceforge.squirrel_sql.fw.gui.FontChooser and net.sourceforge.squirrel_sql.plugins.syntax.prefspanel.StyleMaintenancePanel do not have a common superclass |