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: 6 | Number of AST nodes: 6 | |||
1 | table = new JTable(pluginModel = new PluginTableModel());↵ | 1 | table = new JTable(pluginModel = new PluginTableModel());↵ | |
2 | table.setShowGrid(false);↵ | 2 | table.setShowGrid(false);↵ | |
3 | table.setIntercellSpacing(new Dimension(0,0));↵ | 3 | table.setIntercellSpacing(new Dimension(0,0));↵ | |
4 | table.setRowHeight(table.getRowHeight() + 2);↵ | 4 | table.setRowHeight(table.getRowHeight() + 2);↵ | |
5 | table.setPreferredScrollableViewportSize(new Dimension(500,200));↵ | 5 | table.setPreferredScrollableViewportSize(new Dimension(500,300));↵ | |
6 | table.setRequestFocusEnabled(false); | 6 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
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 | 26 |
Number of mapped statements | 6 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6 | table = new JTable(pluginModel = new PluginTableModel()); |
| 7 | table = new JTable(pluginModel = new PluginTableModel()); | |||||||||||||
7 | table.setShowGrid(false); | 8 | table.setShowGrid(false); | ||||||||||||||
8 | table.setIntercellSpacing(new Dimension(0, 0)); | 9 | table.setIntercellSpacing(new Dimension(0, 0)); | ||||||||||||||
9 | table.setRowHeight(table.getRowHeight() + 2); | 10 | table.setRowHeight(table.getRowHeight() + 2); | ||||||||||||||
10 | table.setPreferredScrollableViewportSize(new Dimension(500, 200)); |
| 11 | table.setPreferredScrollableViewportSize(new Dimension(500, 300)); | |||||||||||||
11 | table.setRequestFocusEnabled(false); | 12 | table.setRequestFocusEnabled(false); |
Row | Violation |
---|