_dbOutputPanel = new DBOutputPanel(getSession(), autoRefeshPeriod); _toolBar = new DBOutputToolBar(getSession(), stayOnTop, autoRefeshPeriod); JPanel contentPanel = new JPanel(new BorderLayout()); contentPanel.add(_toolBar, BorderLayout.NORTH); contentPanel.add(_dbOutputPanel, BorderLayout.CENTER); setContentPane(contentPanel); _dbOutputPanel.setAutoRefreshPeriod(autoRefeshPeriod);
_sgaTracePanel = new SGATracePanel(getSession(), autoRefeshPeriod); _toolBar = new SGATraceToolBar(getSession(), stayOnTop, autoRefeshPeriod); JPanel contentPanel = new JPanel(new BorderLayout()); contentPanel.add(_toolBar, BorderLayout.NORTH); contentPanel.add(_sgaTracePanel, BorderLayout.CENTER); setContentPane(contentPanel);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/dboutput/DBOutputInternalFrame.java File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/SGAtrace/SGATraceInternalFrame.java
Method name: void createPanelAndToolBar(boolean, int) Method name: void createPanelAndToolBar(boolean, int)
Number of AST nodes: 7 Number of AST nodes: 6
1
_dbOutputPanel = new DBOutputPanel(getSession(), autoRefeshPeriod);
1
_sgaTracePanel = new SGATracePanel(getSession(), autoRefeshPeriod);
2
            _toolBar = new DBOutputToolBar(getSession(), stayOnTop, autoRefeshPeriod);
2
            _toolBar = new SGATraceToolBar(getSession(), stayOnTop, autoRefeshPeriod);
3
            JPanel contentPanel = new JPanel(new BorderLayout());
3
            JPanel contentPanel = new JPanel(new BorderLayout());
4
            contentPanel.add(_toolBar, BorderLayout.NORTH);
4
            contentPanel.add(_toolBar, BorderLayout.NORTH);
5
            contentPanel.add(_dbOutputPanel, BorderLayout.CENTER);
5
            contentPanel.add(_sgaTracePanel, BorderLayout.CENTER);
6
            setContentPane(contentPanel);
6
            setContentPane(contentPanel);
7
            _dbOutputPanel.setAutoRefreshPeriod(autoRefeshPeriod);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons0