Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.975 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1039 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLResultExecuterPanel.java |
2 | 9 | 275 | E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/explain/ExplainExecuterPanel.java |
| |||||
private void maybeShowPopup(MouseEvent e, JPopupMenu popup) { if (e.isPopupTrigger()) { int tab = _tabbedExecutionsPanel.getUI().tabForCoordinate(_tabbedExecutionsPanel, e.getX(), e.getY()); if (-1 != tab) { popup.show(e.getComponent(), e.getX(), e.getY()); } } } |
| |||||
private void showPopup(MouseEvent e, JPopupMenu popup) { if (e.isPopupTrigger()) { int index = _tabbedExecutionsPanel.getUI().tabForCoordinate(_tabbedExecutionsPanel, e.getX(), e.getY()); if (-1 != index) { popup.show(e.getComponent(), e.getX(), e.getY()); } } } |
| |||
private void [[#variable1cef54a0]](MouseEvent e, JPopupMenu popup) { if (e.isPopupTrigger()) { int [[#variable1cef55a0]]= _tabbedExecutionsPanel.getUI().tabForCoordinate(_tabbedExecutionsPanel, e.getX(), e.getY()); if (-1 != [[#variable1cef55a0]]) { popup.show(e.getComponent(), e.getX(), e.getY()); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cef54a0]] | maybeShowPopup |
1 | 2 | [[#1cef54a0]] | showPopup |
2 | 1 | [[#1cef55a0]] | tab |
2 | 2 | [[#1cef55a0]] | index |