PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 1
com/jsql/MainApp.java
| Rule | Violation | Line |
|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 20 |
com/jsql/view/swing/JFrameView.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JFrame.getContentPane() (call stack: [JFrameView.initPaneComponents(), JFrame.getContentPane()]) | 65 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Window.setIconImages(List<? extends Image>) (call stack: [JFrameView.initWindow(), Window.setIconImages(List<? extends Image>)]) | 66 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JFrame.getRootPane() (call stack: [JFrameView.initShortcuts(), JFrame.getRootPane()]) | 67 |
com/jsql/view/swing/action/ActionNewWindow.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 48 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 49 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 56 |
com/jsql/view/swing/action/ActionSaveTab.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 55 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 99 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 134 |
com/jsql/view/swing/console/AbstractColoredConsole.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addFocusListener(FocusListener) | 35–41 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 42 |
com/jsql/view/swing/console/JTextPaneAppender.java
| Rule | Violation | Line |
|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 25 |
com/jsql/view/swing/dialog/DialogAbout.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.setDefaultCloseOperation(int) | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Window.setIconImages(List<? extends Image>) | 55 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getRootPane() | 58 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.setLayout(LayoutManager) | 64 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getContentPane() | 66 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Window.setSize(int, int) (call stack: [DialogAbout.initDialog(), Window.setSize(int, int)]) | 77 |
com/jsql/view/swing/dialog/DialogTranslate.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.setDefaultCloseOperation(int) | 59 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Window.setIconImages(List<? extends Image>) | 60 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getRootPane() | 63 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JDialog.setLayout(LayoutManager) (call stack: [DialogTranslate.initLastLine(), JDialog.setLayout(LayoutManager)]) | 69 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getContentPane() | 72 |
com/jsql/view/swing/list/DnDList.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JList<E>.setModel(ListModel<E>) (call stack: [JList<E>.setModel(ListModel<E>)]) | 59 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Component.addMouseListener(MouseListener) (call stack: [DnDList.initListener(), Component.addMouseListener(MouseListener)]) | 61 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JList<E>.setDragEnabled(boolean) (call stack: [JList<E>.setDragEnabled(boolean)]) | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setTransferHandler(TransferHandler) | 64 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 249 |
com/jsql/view/swing/list/MenuActionExport.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 87 |
com/jsql/view/swing/manager/AbstractManagerList.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 80 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildList(String) | 82 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 89 |
com/jsql/view/swing/manager/ManagerAdminPage.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildRunButton(String, String) | 39 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 47 |
com/jsql/view/swing/manager/ManagerBruteForce.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 68 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 75 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 78 |
com/jsql/view/swing/manager/ManagerCoder.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 108 |
com/jsql/view/swing/manager/ManagerDatabase.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 69 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 111 |
com/jsql/view/swing/manager/ManagerExploit.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildRunButton(String, String) | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildPrivilege() | 95 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 101 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 192 |
com/jsql/view/swing/manager/ManagerFile.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildRunButton(String, String) | 41 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildPrivilege() | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 45 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 48 |
com/jsql/view/swing/manager/ManagerScan.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: AbstractManagerList.buildRunButton(String, String) (call stack: [ManagerScan.getLastLinePanel(), AbstractManagerList.buildRunButton(String, String)]) | 73 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 74 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 140 |
com/jsql/view/swing/menubar/AppMenubar.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 75 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 76 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 77 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 79 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 80 |
com/jsql/view/swing/menubar/MenuWindows.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 46 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setMnemonic(char) | 48 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 91 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 92 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(Component) | 94 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 95 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(Component) | 96 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 124 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 181 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(Component) | 182 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 183 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 184 |
com/jsql/view/swing/panel/PanelAddressBar.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Container.setLayout(LayoutManager) (call stack: [PanelAddressBar.initLayout(), Container.setLayout(LayoutManager)]) | 161 |
com/jsql/view/swing/panel/PanelConsoles.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 85 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: PanelConsoles.insertJavaTab() (call stack: [PanelConsoles.initTabsConsoles(), PanelConsoles.insertJavaTab()]) | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 97 |
com/jsql/view/swing/panel/PanelPreferences.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 46 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setBorder(Border) | 47 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 64 |
com/jsql/view/swing/panel/address/ButtonStart.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setToolTipText(String) | 55 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setPreferredSize(Dimension) | 58 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 59 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setContentAreaFilled(boolean) | 60 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setBorderPainted(boolean) | 61 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setRolloverEnabled(boolean) | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: ButtonStart.setIcons() | 63 |
com/jsql/view/swing/panel/address/PanelTrailingAddress.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setBorder(Border) | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 118 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 144 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 145 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 146 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 147 |
com/jsql/view/swing/panel/consoles/CenterRenderer.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JLabel.setHorizontalAlignment(int) | 8 |
com/jsql/view/swing/panel/consoles/NetworkTable.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setComponentPopupMenu(JPopupMenu) | 32 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setRowSelectionAllowed(boolean) | 33 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setSelectionMode(int) | 34 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setRowHeight(int) | 35 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getTableHeader() | 36 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 38–60 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setModel(TableModel) | 62–77 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 79 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 82 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 83 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 84 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.getFocusTraversalKeys(int) | 89 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>) | 91 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.getFocusTraversalKeys(int) | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>) | 95 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 97 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 98 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 99 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 100 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getSelectionModel() | 102 |
com/jsql/view/swing/panel/consoles/TabbedPaneNetworkTab.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: TabbedPaneNetworkTab.applyTheme() | 100 |
com/jsql/view/swing/panel/preferences/PanelAuthentication.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 119 |
com/jsql/view/swing/panel/preferences/PanelConnection.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 176 |
com/jsql/view/swing/panel/preferences/PanelExploit.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 60 |
com/jsql/view/swing/panel/preferences/PanelGeneral.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 33 |
com/jsql/view/swing/panel/preferences/PanelInjection.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 228 |
com/jsql/view/swing/panel/preferences/PanelProxy.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 87 |
com/jsql/view/swing/panel/preferences/PanelStrategies.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 46 |
com/jsql/view/swing/panel/preferences/PanelTampering.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 102 |
com/jsql/view/swing/panel/preferences/PanelUserAgent.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 43 |
com/jsql/view/swing/panel/split/SplitNS.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setTopComponent(Component) | 90 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setBottomComponent(Component) | 94 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setResizeWeight(double) | 96 |
com/jsql/view/swing/panel/util/ButtonExpandText.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setPreferredSize(Dimension) | 30 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setContentAreaFilled(boolean) | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setIcon(Icon) | 33 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setRolloverIcon(Icon) | 34 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setPressedIcon(Icon) | 35 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 59–67 |
com/jsql/view/swing/popupmenu/JPopupMenuComponent.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.setLightWeightPopupEnabled(boolean) | 59 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 61 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 63 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 82 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 83 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addPopupMenuListener(PopupMenuListener) | 86 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 89 |
com/jsql/view/swing/popupmenu/JPopupMenuTable.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 55 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 56 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addPopupMenuListener(PopupMenuListener) | 59–75 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 86 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 87 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 93 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 103 |
com/jsql/view/swing/popupmenu/JPopupMenuText.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, int) | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, int) | 45 |
com/jsql/view/swing/sql/SqlEngine.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 283 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 287 |
com/jsql/view/swing/tab/TabHeader.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 35 |
com/jsql/view/swing/tab/TabManagers.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 42 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setMaximumSize(Dimension) | 43 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.getMaximumSize() | 43 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setPreferredSize(Dimension) | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.getPreferredSize() | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTabbedPane.addChangeListener(ChangeListener) | 48–51 |
com/jsql/view/swing/tab/TabManagersCards.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 36 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 37 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setMinimumSize(Dimension) | 38 |
com/jsql/view/swing/tab/TabResults.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 67 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTabbedPane.setTabLayoutPolicy(int) | 68 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setTransferHandler(TransferHandler) | 69 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseWheelListener(MouseWheelListener) | 74 |
com/jsql/view/swing/tab/TabbedPaneWheeled.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseWheelListener(MouseWheelListener) | 37 |
com/jsql/view/swing/tab/dnd/DnDTabbedPane.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 96 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseMotionListener(MouseMotionListener) | 97 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.addPropertyChangeListener(PropertyChangeListener) | 98 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 225 |
com/jsql/view/swing/tab/dnd/GhostGlassPane.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 12 |
com/jsql/view/swing/table/AdjusterTableColumn.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setColumnHeaderIncluded(boolean) | 60 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setColumnDataIncluded(boolean) | 61 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setOnlyAdjustLarger(boolean) | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setDynamicAdjustment(boolean) | 63 |
com/jsql/view/swing/table/ButtonClose.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setContentAreaFilled(boolean) | 11 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setBorderPainted(boolean) | 12 |
com/jsql/view/swing/table/PanelTable.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Container.add(Component, Object) (call stack: [PanelTable.initTableScroller(), Container.add(Component, Object)]) | 82 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Container.add(Component, Object) (call stack: [PanelTable.initPanelSearch(TableRowSorter<TableModel>), Container.add(Component, Object)]) | 83 |
com/jsql/view/swing/table/RowHeaderRenderer.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JLabel.setHorizontalAlignment(int) | 10 |
com/jsql/view/swing/terminal/AbstractExploit.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setFont(Font) | 96 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.setCaret(Caret) | 97 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setBackground(Color) | 98 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setForeground(Color) | 99 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractExploit.displayPrompt(boolean) | 102 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractExploit.append(String) | 104 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 107 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setTransferHandler(TransferHandler) | 108 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.setHighlighter(Highlighter) | 109 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 111 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addKeyListener(KeyListener) | 112 |
| EmptyMethodInAbstractClassShouldBeAbstract | An empty method in an abstract class should be abstract instead | 200 |
com/jsql/view/swing/terminal/util/BlockCaret.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: DefaultCaret.setBlinkRate(int) | 33 |
com/jsql/view/swing/text/JPopupTextArea.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 57 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 70 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 71 |
com/jsql/view/swing/text/JPopupTextComponent.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 42 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 42 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 43 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 46 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupTextComponent<T extends JTextComponent>.initUndo(UndoManager), JPopupComponent<T extends JTextComponent>.getProxy()]) | 51 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupTextComponent<T extends JTextComponent>.initRedo(UndoManager), JPopupComponent<T extends JTextComponent>.getProxy()]) | 52 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupTextComponent<T extends JTextComponent>.makeDeleteSilent(), JPopupComponent<T extends JTextComponent>.getProxy()]) | 53 |
com/jsql/view/swing/text/JPopupTextPane.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 41 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 48 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 49 |
com/jsql/view/swing/text/JTextFieldPlaceholder.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.setText(String) | 31 |
com/jsql/view/swing/text/SyntaxTextArea.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RTextArea.setPopupMenu(JPopupMenu) | 30 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.getCaret() | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addFocusListener(FocusListener) | 32–38 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 39 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RSyntaxTextArea.setSyntaxEditingStyle(String) | 40 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RSyntaxTextArea.setMarkOccurrences(boolean) | 41 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RSyntaxTextArea.setMarkOccurrencesDelay(int) | 42 |
com/jsql/view/swing/tree/PanelNode.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 70 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setComponentOrientation(ComponentOrientation) | 84 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Component.addKeyListener(KeyListener) (call stack: [PanelNode.initTextFieldEditable(JTree, DefaultMutableTreeNode), Component.addKeyListener(KeyListener)]) | 86 |
com/jsql/view/swing/util/I18nViewUtil.java
| Rule | Violation | Line |
|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 16 |
com/jsql/view/swing/util/JSplitPaneWithZeroSizeDivider.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setDividerSize(int) | 15 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setContinuousLayout(boolean) | 16 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 43 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setBackground(Color) | 67 |
com/jsql/view/swing/util/ModelSvgIcon.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: ModelSvgIcon.createSvgIcon(String, Color, Color, float) | 33–40 |
com/jsql/view/swing/util/UiStringUtil.java
| Rule | Violation | Line |
|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 8 |
com/jsql/view/swing/util/UiUtil.java
| Rule | Violation | Line |
|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 45 |
Priority 2
com/jsql/view/swing/text/JPlaceholder.java
| Rule | Violation | Line |
|---|---|---|
| ImplicitFunctionalInterface | Annotate this interface with @FunctionalInterface or with @SuppressWarnings("PMD.ImplicitFunctionalInterface") to clarify your intent. | 3 |
Priority 3
com/jsql/MainApp.java
| Rule | Violation | Line |
|---|---|---|
| DoNotTerminateVM | System.exit() should not be used in J2EE/JEE apps | 31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 57 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 59 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 77 |
com/jsql/view/scan/interaction/DatabaseIdentified.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 29 |
com/jsql/view/scan/interaction/MarkBlindBinVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 35 |
com/jsql/view/scan/interaction/MarkBlindBitVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 35 |
com/jsql/view/scan/interaction/MarkDnsVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 36 |
com/jsql/view/scan/interaction/MarkErrorVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 36 |
com/jsql/view/scan/interaction/MarkStackVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 35 |
com/jsql/view/scan/interaction/MarkTimeVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 36 |
com/jsql/view/scan/interaction/MarkUnionVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 36 |
com/jsql/view/scan/interaction/SetVendor.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 29 |
com/jsql/view/swing/JFrameView.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 46 |
| DataClass | The class 'JFrameView' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=15) | 46 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 53 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isMaximized' | 56 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 60 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 73 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 77 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 78 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 80 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 81 |
| AssignmentInOperand | Avoid assignments in operands | 114 |
| LawOfDemeter | Access to field `networkSplitPane` on foreign value `MediatorHelper.panelConsoles()` (degree 1) | 132 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_BINARY_LABEL" in if statements | 167 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_CHUNK_LABEL" in if statements | 169 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_NETWORK_LABEL" in if statements | 171 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_JAVA_LABEL" in if statements | 173 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) | 214 |
| LawOfDemeter | Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 222 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 224 |
com/jsql/view/swing/action/ActionCheckIp.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 16 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 22 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 27 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 31 |
com/jsql/view/swing/action/ActionCloseTabResult.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 11 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 11 |
| MethodArgumentCouldBeFinal | Parameter 'closeTabNumber' is not assigned and could be declared final | 18 |
com/jsql/view/swing/action/ActionNewWindow.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 33 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 52 |
| MethodArgumentCouldBeFinal | Parameter 'commands' is not assigned and could be declared final | 52 |
com/jsql/view/swing/action/ActionSaveTab.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 47 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 49 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 84 |
| MethodArgumentCouldBeFinal | Parameter 'tableResults' is not assigned and could be declared final | 96 |
| LawOfDemeter | Call to `getModel` on foreign value `tableResults` (degree 1) | 100 |
| LawOfDemeter | Call to `getValueAt` on foreign value `tableModel` (degree 2) | 112 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 116 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 131 |
com/jsql/view/swing/action/AltKeyEventDispatcher.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 10 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'wasAltDPressed' | 12 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'wasAltPressed' | 13 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'wasAltGraphPressed' | 14 |
| NPathComplexity | The method 'dispatchKeyEvent(KeyEvent)' has an NPath complexity of 288, current threshold is 200 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 17 |
| MethodArgumentCouldBeFinal | Parameter 'wasAltPressedAlready' is not assigned and could be declared final | 62 |
com/jsql/view/swing/action/HotkeyUtil.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 58 |
| MethodArgumentCouldBeFinal | Parameter 'rootPane' is not assigned and could be declared final | 81 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 137–142 |
com/jsql/view/swing/console/AbstractColoredConsole.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 19 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 32 |
| CyclomaticComplexity | The method 'append(String, SimpleAttributeSet)' has a cyclomatic complexity of 11. | 52 |
| MethodArgumentCouldBeFinal | Parameter 'message' is not assigned and could be declared final | 52 |
| MethodArgumentCouldBeFinal | Parameter 'attribut' is not assigned and could be declared final | 52 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 54 |
| LawOfDemeter | Call to `getModel` on foreign value `scrollBar` (degree 1) | 58 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 64 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 65 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 66 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 70 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 71 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 97 |
com/jsql/view/swing/console/JTextPaneAppender.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'layout' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'filter' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'ignoreExceptions' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'ignoreExceptions' is not assigned and could be declared final | 43 |
| MethodArgumentCouldBeFinal | Parameter 'layout' is not assigned and could be declared final | 44 |
| MethodArgumentCouldBeFinal | Parameter 'filter' is not assigned and could be declared final | 45 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 49 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 56 |
| MethodArgumentCouldBeFinal | Parameter 'javaConsole' is not assigned and could be declared final | 89 |
| MethodArgumentCouldBeFinal | Parameter 'consoleColored' is not assigned and could be declared final | 96 |
com/jsql/view/swing/console/SimpleConsoleAdapter.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 11 |
| MethodArgumentCouldBeFinal | Parameter 'tabName' is not assigned and could be declared final | 19 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 19 |
com/jsql/view/swing/dialog/DialogAbout.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'buttonClose' | 46 |
| MethodArgumentCouldBeFinal | Parameter 'escapeListener' is not assigned and could be declared final | 80 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 85 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 109 |
| AssignmentInOperand | Avoid assignment to line in operand | 116 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) | 121 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 129 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 137 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 138 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 144 |
com/jsql/view/swing/dialog/DialogTranslate.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 37 |
| DataClass | The class 'DialogTranslate' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=11) | 37 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 162 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 184 |
| LawOfDemeter | Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) | 192 |
| LawOfDemeter | Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) | 193 |
| LawOfDemeter | Call to `getCaret` on foreign value `this.textToTranslate` (degree 1) | 198 |
| MethodArgumentCouldBeFinal | Parameter 'textBeforeChange' is not assigned and could be declared final | 213 |
com/jsql/view/swing/dialog/ReplaceFileChooser.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 21 |
| MethodArgumentCouldBeFinal | Parameter 'currentDirectoryPath' is not assigned and could be declared final | 26 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 50 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 53 |
com/jsql/view/swing/dialog/translate/Language.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFieldNameMatchingMethodName | Field isRightToLeft has the same name as a method | 38 |
| MethodArgumentCouldBeFinal | Parameter 'nameEnglish' is not assigned and could be declared final | 40 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 40 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 40 |
| MethodArgumentCouldBeFinal | Parameter 'isNonLatin' is not assigned and could be declared final | 40 |
| MethodArgumentCouldBeFinal | Parameter 'isRightToLeft' is not assigned and could be declared final | 40 |
| MethodArgumentCouldBeFinal | Parameter 'nameEnglish' is not assigned and could be declared final | 48 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 48 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 48 |
| MethodArgumentCouldBeFinal | Parameter 'isNonLatin' is not assigned and could be declared final | 48 |
| MethodArgumentCouldBeFinal | Parameter 'nameEnglish' is not assigned and could be declared final | 52 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 52 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 52 |
com/jsql/view/swing/dialog/translate/SortedProperties.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 6 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 8 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 21 |
com/jsql/view/swing/dialog/translate/WorkerTranslateInto.java
| Rule | Violation | Line |
|---|---|---|
| AvoidStringBufferField | StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). | 31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 35 |
| MethodArgumentCouldBeFinal | Parameter 'dialogTranslate' is not assigned and could be declared final | 40 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 46 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 99 |
com/jsql/view/swing/interaction/AddColumns.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 33 |
com/jsql/view/swing/interaction/AddDatabases.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 33 |
com/jsql/view/swing/interaction/AddTabExploitSql.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 32 |
com/jsql/view/swing/interaction/AddTabExploitUdfExtensionPostgres.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfH2.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfLibraryPostgres.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfMysql.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfOracle.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfProgramPostgres.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfSqlite.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfWalPostgres.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
com/jsql/view/swing/interaction/AddTabExploitWeb.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 31 |
com/jsql/view/swing/interaction/AddTables.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 33 |
com/jsql/view/swing/interaction/CreateAdminPageTab.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 49 |
| LawOfDemeter | Call to `getSystemClipboard` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 125 |
| LawOfDemeter | Call to `getCaret` on foreign value `browser` (degree 1) | 134 |
| LawOfDemeter | Call to `getCaret` on foreign value `browser` (degree 1) | 135 |
| MethodArgumentCouldBeFinal | Parameter 'evt' is not assigned and could be declared final | 141 |
| MethodArgumentCouldBeFinal | Parameter 'evt' is not assigned and could be declared final | 148 |
com/jsql/view/swing/interaction/CreateAnalysisReport.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 25 |
com/jsql/view/swing/interaction/CreateFileTab.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 41 |
com/jsql/view/swing/interaction/CreateValuesTab.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 31 |
com/jsql/view/swing/interaction/EndIndeterminateProgress.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 31 |
com/jsql/view/swing/interaction/EndProgress.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 30 |
com/jsql/view/swing/interaction/GetTerminalResult.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 38 |
com/jsql/view/swing/interaction/MarkBlindBinInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkBlindBinStrategy.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkBlindBinVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkBlindBitInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkBlindBitStrategy.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkBlindBitVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkDnsInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkDnsStrategy.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkDnsVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkErrorInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 27 |
com/jsql/view/swing/interaction/MarkErrorVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 27 |
com/jsql/view/swing/interaction/MarkMultibitInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkMultibitStrategy.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkMultibitVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkStackInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkStackStrategy.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkStackVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkTimeInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkTimeStrategy.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkTimeVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkUnionInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkUnionStrategy.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MarkUnionVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
com/jsql/view/swing/interaction/MessageBinary.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 29 |
com/jsql/view/swing/interaction/MessageChunk.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 29 |
com/jsql/view/swing/interaction/MessageHeader.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 45 |
| LawOfDemeter | Call to `getModel` on foreign value `table` (degree 1) | 62 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 76 |
com/jsql/view/swing/interaction/SetVendor.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 28 |
com/jsql/view/swing/interaction/StartIndeterminateProgress.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 31 |
com/jsql/view/swing/interaction/StartProgress.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 30 |
com/jsql/view/swing/interaction/UpdateProgress.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 35 |
com/jsql/view/swing/list/AbstractListTransfertHandler.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 30 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 30 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'dragPaths' | 37 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 51 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 60 |
| MethodArgumentCouldBeFinal | Parameter 'action' is not assigned and could be declared final | 60 |
| LawOfDemeter | Call to `getModel` on foreign value `list` (degree 1) | 63 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 74 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 85 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 87 |
| LawOfDemeter | Call to `getComponent` on foreign value `support` (degree 1) | 90 |
| LawOfDemeter | Call to `getModel` on foreign value `list` (degree 1) | 91 |
| LawOfDemeter | Call to `getSystemClipboard` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 100 |
| LawOfDemeter | Call to `isDataFlavorSupported` on foreign value `transferableFromClipboard` (degree 2) | 102 |
| LawOfDemeter | Call to `isDataFlavorSupported` on foreign value `transferableFromClipboard` (degree 2) | 104 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 113 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 114 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 118 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 118 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 126 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 126 |
| MethodArgumentCouldBeFinal | Parameter 'transferableFromClipboard' is not assigned and could be declared final | 126 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 147 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 154 |
| MethodArgumentCouldBeFinal | Parameter 'transferableFromClipboard' is not assigned and could be declared final | 154 |
com/jsql/view/swing/list/BeanInjection.java
| Rule | Violation | Line |
|---|---|---|
| DataClass | The class 'BeanInjection' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=12) | 11 |
| ImmutableField | Field 'requestType' may be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 21 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 23 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 24 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'nameMethod' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'requestType' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `filter` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream()` (degree 2) | 34–35 |
| LawOfDemeter | Call to `findAny` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream().filter(m -> m.name().equalsIgnoreCase(nameMethod))` (degree 2) | 34–36 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
| LawOfDemeter | Call to `getMethods` on foreign value `MediatorHelper.model().getMediatorMethod()` (degree 2) | 34 |
| LawOfDemeter | Call to `orElse` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream().filter(m -> m.name().equalsIgnoreCase(nameMethod)).findAny()` (degree 2) | 34–37 |
| LawOfDemeter | Call to `stream` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods()` (degree 2) | 34 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 37 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 39 |
| LawOfDemeter | Call to `filter` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream()` (degree 2) | 43–44 |
| LawOfDemeter | Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(v -> v.toString().equals(vendor))` (degree 2) | 43–45 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 43 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 43 |
| LawOfDemeter | Call to `orElse` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(v -> v.toString().equals(vendor)).findAny()` (degree 2) | 43–46 |
| LawOfDemeter | Call to `stream` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors()` (degree 2) | 43 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 46 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 48 |
com/jsql/view/swing/list/DnDList.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 33 |
| MethodArgumentCouldBeFinal | Parameter 'newList' is not assigned and could be declared final | 51 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 81 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 93 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 159 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 159 |
| MethodArgumentCouldBeFinal | Parameter 'position' is not assigned and could be declared final | 168 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 170 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 191 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 223 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 239 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 239 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 245 |
| MethodArgumentCouldBeFinal | Parameter 'file' is not assigned and could be declared final | 245 |
| AssignmentInOperand | Avoid assignment to line in operand | 253 |
| AssignmentInOperand | Avoid assignment to endPosition in operand | 260 |
| MethodArgumentCouldBeFinal | Parameter 'endPosition' is not assigned and could be declared final | 277 |
| MethodArgumentCouldBeFinal | Parameter 'line' is not assigned and could be declared final | 277 |
com/jsql/view/swing/list/DnDListScan.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 18 |
| MethodArgumentCouldBeFinal | Parameter 'newList' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'endPosition' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'line' is not assigned and could be declared final | 25 |
com/jsql/view/swing/list/ItemList.java
| Rule | Violation | Line |
|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isVulnerable' | 23 |
| AvoidFieldNameMatchingMethodName | Field isVulnerable has the same name as a method | 23 |
| MethodArgumentCouldBeFinal | Parameter 'newString' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'internalString' is not assigned and could be declared final | 49 |
| MethodArgumentCouldBeFinal | Parameter 'vulnerable' is not assigned and could be declared final | 61 |
com/jsql/view/swing/list/ItemListScan.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'newString' is not assigned and could be declared final | 22 |
| MethodArgumentCouldBeFinal | Parameter 'json' is not assigned and could be declared final | 27 |
com/jsql/view/swing/list/ListTransfertHandler.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 28 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 28 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 36 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 42 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 43 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 63 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 63 |
| MethodArgumentCouldBeFinal | Parameter 'childIndexFrom' is not assigned and could be declared final | 63 |
| MethodArgumentCouldBeFinal | Parameter 'listSelectedIndices' is not assigned and could be declared final | 63 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 66 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 66 |
| AssignmentInOperand | Avoid assignment to childIndexTo in operand | 70 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 70 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 78 |
| MethodArgumentCouldBeFinal | Parameter 'childIndexFrom' is not assigned and could be declared final | 78 |
| MethodArgumentCouldBeFinal | Parameter 'listSelectedIndices' is not assigned and could be declared final | 78 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 82 |
| AssignmentInOperand | Avoid assignment to childIndexTo in operand | 84 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 90 |
| MethodArgumentCouldBeFinal | Parameter 'selectedIndexFrom' is not assigned and could be declared final | 90 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 90 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 96 |
| AssignmentInOperand | Avoid assignment to selectedIndexTo in operand | 98 |
com/jsql/view/swing/list/ListTransfertHandlerScan.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 31 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 31 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 36 |
| MethodArgumentCouldBeFinal | Parameter 'selectedIndexFrom' is not assigned and could be declared final | 36 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 36 |
| AssignmentInOperand | Avoid assignment to selectedIndexTo in operand | 41 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 63 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 63 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 63 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 64 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 73 |
| AssignmentInOperand | Avoid assignment to indexDropLocation in operand | 75 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 80 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 80 |
| AssignmentInOperand | Avoid assignment to indexDropLocation in operand | 83 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 99 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 109 |
| MethodArgumentCouldBeFinal | Parameter 'itemsParsed' is not assigned and could be declared final | 109 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 112 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 117 |
| MethodArgumentCouldBeFinal | Parameter 'itemsParsed' is not assigned and could be declared final | 117 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 123 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 124 |
com/jsql/view/swing/list/MenuActionExport.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'myList' is not assigned and could be declared final | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 49 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 64 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 67 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 90 |
| LawOfDemeter | Call to `getElementAt` on foreign value `this.myList.getModel()` (degree 2) | 92 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 92 |
com/jsql/view/swing/list/MenuActionNewValue.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'myList' is not assigned and could be declared final | 46 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 64 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 89 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 116 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 121 |
| AssignmentInOperand | Avoid assignment to lastIndex in operand | 122 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 123 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 130 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 135 |
| AssignmentInOperand | Avoid assignment to lastIndex in operand | 135 |
com/jsql/view/swing/list/MouseAdapterMenuAction.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'dndList' is not assigned and could be declared final | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 121 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 133 |
| LawOfDemeter | Call to `getModel` on foreign value `this.dndList` (degree 1) | 176 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 199 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 217 |
com/jsql/view/swing/manager/AbstractManagerList.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 42 |
| MethodArgumentCouldBeFinal | Parameter 'nameFile' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'labelI18n' is not assigned and could be declared final | 92 |
| MethodArgumentCouldBeFinal | Parameter 'tooltipI18n' is not assigned and could be declared final | 92 |
| MethodArgumentCouldBeFinal | Parameter 'nameFile' is not assigned and could be declared final | 107 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 109 |
| AssignmentInOperand | Avoid assignment to line in operand | 114 |
| MethodArgumentCouldBeFinal | Parameter 'element' is not assigned and could be declared final | 146 |
| LawOfDemeter | Call to `getModel` on foreign value `this.listPaths` (degree 1) | 149 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 160 |
| MethodArgumentCouldBeFinal | Parameter 'tag' is not assigned and could be declared final | 160 |
| LawOfDemeter | Call to `getModel` on foreign value `this.listPaths` (degree 1) | 162 |
| MethodArgumentCouldBeFinal | Parameter 'isEnable' is not assigned and could be declared final | 189 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 197 |
com/jsql/view/swing/manager/ManagerAdminPage.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 29 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 53 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 58–64 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 68 |
| MethodArgumentCouldBeFinal | Parameter 'urlAddressBar' is not assigned and could be declared final | 71 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 81 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 88 |
com/jsql/view/swing/manager/ManagerBruteForce.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 35 |
| DataClass | The class 'ManagerBruteForce' is suspected to be a Data Class (WOC=8.333%, NOPA=3, NOAM=11, WMC=18) | 35 |
| MethodArgumentCouldBeFinal | Parameter 'isVisible' is not assigned and could be declared final | 110 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 210 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 210 |
| UseUnderscoresInNumericLiterals | Number 10000 should separate every third digit with an underscore | 214 |
com/jsql/view/swing/manager/ManagerCoder.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 37 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ChangeMenuListener(String)' | 59 |
| MethodArgumentCouldBeFinal | Parameter 'nameMethod' is not assigned and could be declared final | 59 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 63 |
| LawOfDemeter | Call to `getCaret` on foreign value `this.textInput` (degree 1) | 82 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.textInput` (degree 1) | 85 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 120 |
| AvoidDuplicateLiterals | The String literal "Hash" appears 5 times in this file; the first occurrence is on line 156 | 156 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 179 |
com/jsql/view/swing/manager/ManagerDatabase.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `this.tree` (degree 1) | 66 |
| LawOfDemeter | Call to `getModel` on foreign value `this.tree` (degree 1) | 67 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 75 |
| LawOfDemeter | Call to `getLastSelectedPathComponent` on foreign value `ManagerDatabase.this.tree` (degree 1) | 77 |
| LawOfDemeter | Call to `getUserObject` on foreign value `treeNode` (degree 1) | 79 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 80–82 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 92 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 111 |
| MethodArgumentCouldBeFinal | Parameter 'treeModelEvent' is not assigned and could be declared final | 113 |
com/jsql/view/swing/manager/ManagerExploit.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 46 |
| MethodArgumentCouldBeFinal | Parameter 'comboBoxExploitTypes' is not assigned and could be declared final | 232 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.comboBoxExploitTypes` (degree 1) | 238 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 241 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 242 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 247 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 252 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 259 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 263 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 268 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 277 |
| MethodArgumentCouldBeFinal | Parameter 'labelSelectItem' is not assigned and could be declared final | 290 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 290 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 295 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 304–310 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 309 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 317 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 323 |
| MethodArgumentCouldBeFinal | Parameter 'urlShellFinal' is not assigned and could be declared final | 323 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 323 |
| MethodArgumentCouldBeFinal | Parameter 'labelSelectItem' is not assigned and could be declared final | 332 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 335 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 336 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 337 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 338 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 339 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 341 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 342 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 343 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 344 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 345 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 346 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 347 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 349 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 350 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 351 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 355 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 359 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 364 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 364 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 364 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 380 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 393 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 393 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 393 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 394 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 394 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 395 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 396 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 396 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 397 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 398 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 398 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 399 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 400 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 400 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 401 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 405 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 405 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 405 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 405 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 405 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 406 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 406 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 407 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 408 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 408 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 409 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 410 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 410 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 411 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 412 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 412 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 413 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 414 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 414 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 415 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 416 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 416 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 417 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 421 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 421 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 421 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 421 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 421 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 424 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 424 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 425 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 426 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 426 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 427 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 431 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 431 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 431 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 431 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 431 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 431 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 432 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 432 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 433 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 434 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 434 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 435 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 436 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 436 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 437 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 438 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 438 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 439 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 440 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 440 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 441 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 442 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 442 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 443 |
com/jsql/view/swing/manager/ManagerFile.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 32 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 48 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 53 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 56 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 57 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 58 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 59 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 60 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 61 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 62 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 66 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 73 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 81 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 84 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 85 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 90 |
com/jsql/view/swing/manager/ManagerScan.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 45 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 61 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 61 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 61 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 61 |
| MethodArgumentCouldBeFinal | Parameter 'cellHasFocus' is not assigned and could be declared final | 61 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `(ItemListScan) this.listPaths.getSelectedValue()` (degree 1) | 81 |
| LawOfDemeter | Call to `getSelectedValue` on foreign value `this.listPaths` (degree 1) | 81 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 94 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 94 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 96 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 96 |
| MethodArgumentCouldBeFinal | Parameter 'nameFile' is not assigned and could be declared final | 105 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 108 |
| AssignmentInOperand | Avoid assignment to line in operand | 113 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 140 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 147 |
| LawOfDemeter | Call to `getModel` on foreign value `ManagerScan.this.listPaths` (degree 1) | 153 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 159 |
| MethodArgumentCouldBeFinal | Parameter 'urlsItemList' is not assigned and could be declared final | 176 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 181 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 184 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 194 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 199 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 205 |
| LawOfDemeter | Call to `filter` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream()` (degree 2) | 207–209 |
| LawOfDemeter | Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(vendor -> vendor.toString().equalsIgnoreCase(urlItemListScan.getBeanInjection().getVendor()))` (degree 2) | 207–210 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 207 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 207 |
| LawOfDemeter | Call to `stream` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors()` (degree 2) | 207–208 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 209 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 212 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 213 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 215 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 216 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 217 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 218 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 219 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 220 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 225 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 228 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 238 |
com/jsql/view/swing/manager/util/ActionBruteForce.java
| Rule | Violation | Line |
|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStopped' | 38 |
| MethodArgumentCouldBeFinal | Parameter 'bruteForceManager' is not assigned and could be declared final | 40 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 52 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 55 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 60 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMaximumLength()` (degree 1) | 65 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMinimumLength()` (degree 1) | 66 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 88 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 94 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 97 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMinimumLength()` (degree 1) | 153 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMaximumLength()` (degree 1) | 154 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.bruteForceManager.getHashTypes()` (degree 1) | 172 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 205 |
| LawOfDemeter | Call to `getDocument` on foreign value `textPane` (degree 1) | 208 |
| LawOfDemeter | Call to `getDocument` on foreign value `textPane` (degree 1) | 209 |
| LawOfDemeter | Call to `getDocument` on foreign value `textPane` (degree 1) | 210 |
com/jsql/view/swing/manager/util/CoderListener.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'coderManager' is not assigned and could be declared final | 34 |
| MethodArgumentCouldBeFinal | Parameter 'nameMethod' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'actionEvent' is not assigned and could be declared final | 47 |
| MethodArgumentCouldBeFinal | Parameter 'labelMethodMenu' is not assigned and could be declared final | 52 |
| ExceptionAsFlowControl | Exception thrown at line 62 is caught in this block. | 66–73 |
com/jsql/view/swing/manager/util/ComboBoxMethodRenderer.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 9 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 9 |
| MissingOverride | The method 'getListCellRendererComponent(JList<?>, Object, int, boolean, boolean)' is missing an @Override annotation. | 12 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 13 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 16 |
com/jsql/view/swing/manager/util/ComboBoxTypeRenderer.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 8 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 8 |
| MissingOverride | The method 'getListCellRendererComponent(JList<?>, Object, int, boolean, boolean)' is missing an @Override annotation. | 9 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 10 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 10 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 13 |
com/jsql/view/swing/manager/util/JButtonStateful.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 7 |
| MethodArgumentCouldBeFinal | Parameter 'keyI18nRunButton' is not assigned and could be declared final | 14 |
| MethodArgumentCouldBeFinal | Parameter 'state' is not assigned and could be declared final | 29 |
com/jsql/view/swing/manager/util/ModelBrute.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'checkbox' is not assigned and could be declared final | 11 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 11 |
| MethodArgumentCouldBeFinal | Parameter 'i18nTooltip' is not assigned and could be declared final | 11 |
com/jsql/view/swing/manager/util/ModelExploit.java
| Rule | Violation | Line |
|---|---|---|
| DataClass | The class 'ModelExploit' is suspected to be a Data Class (WOC=0.000%, NOPA=4, NOAM=0, WMC=2) | 6 |
| MethodArgumentCouldBeFinal | Parameter 'textfield' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'labelI18n' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'tooltipI18n' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'isPassword' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'textfield' is not assigned and could be declared final | 18 |
| MethodArgumentCouldBeFinal | Parameter 'labelI18n' is not assigned and could be declared final | 18 |
| MethodArgumentCouldBeFinal | Parameter 'tooltipI18n' is not assigned and could be declared final | 18 |
com/jsql/view/swing/manager/util/ModelItemType.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 7 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 7 |
com/jsql/view/swing/manager/util/ModelSpinner.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 11 |
| MethodArgumentCouldBeFinal | Parameter 'spinner' is not assigned and could be declared final | 11 |
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 11 |
com/jsql/view/swing/manager/util/SeparatorListener.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'comboBox' is not assigned and could be declared final | 11 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `comboBox` (degree 1) | 14 |
| MissingOverride | The method 'actionPerformed(ActionEvent)' is missing an @Override annotation. | 17 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.comboBox` (degree 1) | 18 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.comboBox` (degree 1) | 21 |
com/jsql/view/swing/menubar/ActionCheckUpdate.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 9 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 13 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 18 |
com/jsql/view/swing/menubar/ActionTranslate.java
| Rule | Violation | Line |
|---|---|---|
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ActionTranslate(DialogTranslate, Language)' | 14 |
| MethodArgumentCouldBeFinal | Parameter 'dialogTranslate' is not assigned and could be declared final | 14 |
| MethodArgumentCouldBeFinal | Parameter 'language' is not assigned and could be declared final | 14 |
com/jsql/view/swing/menubar/AppMenubar.java
| Rule | Violation | Line |
|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 11–415 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 55 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 55–415 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 211 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 232 |
| MethodArgumentCouldBeFinal | Parameter 'nameTheme' is not assigned and could be declared final | 270 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 297 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 300 |
| MethodArgumentCouldBeFinal | Parameter 'oldLocale' is not assigned and could be declared final | 304 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 304 |
| MethodArgumentCouldBeFinal | Parameter 'isStartup' is not assigned and could be declared final | 304 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) | 306 |
| MethodArgumentCouldBeFinal | Parameter 'oldLocale' is not assigned and could be declared final | 309 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 309 |
| MethodArgumentCouldBeFinal | Parameter 'isStartup' is not assigned and could be declared final | 309 |
| LawOfDemeter | Access to field `buttonStart` on foreign value `MediatorHelper.panelAddressBar().getPanelTrailingAddress()` (degree 1) | 331 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 344 |
| MethodArgumentCouldBeFinal | Parameter 'oldLocale' is not assigned and could be declared final | 349 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 349 |
| UnusedFormalParameter | Avoid unused method parameters such as 'isStartup'. | 349 |
| LawOfDemeter | Access to field `networkSplitPane` on foreign value `MediatorHelper.panelConsoles()` (degree 1) | 370 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `header` (degree 1) | 397 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 398 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 399 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 400 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 401 |
com/jsql/view/swing/menubar/MenuWindows.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 34 |
| MethodArgumentCouldBeFinal | Parameter 'appMenubar' is not assigned and could be declared final | 42 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 86 |
| LawOfDemeter | Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) | 117 |
| UselessPureMethodCall | Do not call pure method getAndIncrement if the result is not used. | 121 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 163 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 278 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 299 |
com/jsql/view/swing/menubar/ModelCheckboxMenu.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'keyPref' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'runnableInsertTab' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'keyPref' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'runnableInsertTab' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'isChecked' is not assigned and could be declared final | 20 |
com/jsql/view/swing/menubar/ModelItemTranslate.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'language' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'menuItem' is not assigned and could be declared final | 20 |
com/jsql/view/swing/panel/PanelAddressBar.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 47 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 63 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isAdvanceActivated' | 68 |
| AvoidFieldNameMatchingMethodName | Field isAdvanceActivated has the same name as a method | 68 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 76 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 84 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 92 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 109 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 133 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 137 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 180 |
| LawOfDemeter | Call to `getDocument` on foreign value `inputCustomMethod` (degree 1) | 225 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 241 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 247 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 264 |
| MethodArgumentCouldBeFinal | Parameter 'inputCustomMethod' is not assigned and could be declared final | 345 |
| LawOfDemeter | Call to `getIcon` on foreign value `advancedButton` (degree 1) | 370 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 370 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) | 370 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.ARROW_UP` (degree 1) | 378 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) | 378 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 387 |
com/jsql/view/swing/panel/PanelConsoles.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 45 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 45–346 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'dividerLocation' | 79 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 155 |
| LawOfDemeter | Call to `getModel` on foreign value `this.networkTable` (degree 1) | 209 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 210 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 234 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 248 |
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 271 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 271 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 271 |
| MethodArgumentCouldBeFinal | Parameter 'manager' is not assigned and could be declared final | 271 |
| MethodArgumentCouldBeFinal | Parameter 'position' is not assigned and could be declared final | 271 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 304 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.chunkTextArea` (degree 1) | 307 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 308 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 315 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.binaryTextArea` (degree 1) | 318 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 319 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 331 |
com/jsql/view/swing/panel/PanelPreferences.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 15 |
| DataClass | The class 'PanelPreferences' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=9, WMC=13) | 15 |
| MethodArgumentCouldBeFinal | Parameter 'cards' is not assigned and could be declared final | 69 |
| LawOfDemeter | Call to `getLayout` on foreign value `cards` (degree 1) | 76 |
| MethodArgumentCouldBeFinal | Parameter 'cards' is not assigned and could be declared final | 82 |
| MethodArgumentCouldBeFinal | Parameter 'panel' is not assigned and could be declared final | 82 |
| MethodArgumentCouldBeFinal | Parameter 'category' is not assigned and could be declared final | 82 |
com/jsql/view/swing/panel/address/ActionEnterAddressBar.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panelAddressBar' is not assigned and could be declared final | 10 |
com/jsql/view/swing/panel/address/ActionStart.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panelAddressBar' is not assigned and could be declared final | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 60 |
com/jsql/view/swing/panel/address/ButtonStart.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 26 |
com/jsql/view/swing/panel/address/ModelAddressLine.java
| Rule | Violation | Line |
|---|---|---|
| DataClass | The class 'ModelAddressLine' is suspected to be a Data Class (WOC=0.000%, NOPA=6, NOAM=0, WMC=1) | 11 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 21 |
| MethodArgumentCouldBeFinal | Parameter 'method' is not assigned and could be declared final | 22 |
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 23 |
| MethodArgumentCouldBeFinal | Parameter 'radio' is not assigned and could be declared final | 24 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'textfield' is not assigned and could be declared final | 26 |
com/jsql/view/swing/panel/address/PanelTrailingAddress.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 26 |
| MethodArgumentCouldBeFinal | Parameter 'panelAddressBar' is not assigned and could be declared final | 51 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 58 |
| LawOfDemeter | Call to `getStrategies` on foreign value `MediatorHelper.model().getMediatorStrategy()` (degree 2) | 58 |
| LawOfDemeter | Call to `getName` on foreign value `strategy` (degree 2) | 59 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 61 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 61 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 62 |
| LawOfDemeter | Call to `toString` on foreign value `strategy` (degree 2) | 62 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 66–68 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 66–68 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 69–79 |
| LawOfDemeter | Call to `toString` on foreign value `strategy` (degree 2) | 69 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 72–76 |
| LawOfDemeter | Call to `toString` on foreign value `strategy` (degree 2) | 86 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 87 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 99 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 101 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 101 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 103 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 103 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 104 |
| LawOfDemeter | Call to `toString` on foreign value `vendor` (degree 2) | 104 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 104 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 104 |
| LawOfDemeter | Call to `toString` on foreign value `vendor` (degree 2) | 107 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 108 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 122 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 133 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 159 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 159 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 159 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 160 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 173 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 178 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 178 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `vendor.instance()` (degree 1) | 179 |
| LawOfDemeter | Call to `getStrategy` on foreign value `vendor.instance().getModelYaml()` (degree 2) | 179 |
| LawOfDemeter | Call to `getError` on foreign value `vendor.instance().getModelYaml().getStrategy()` (degree 2) | 181 |
| LawOfDemeter | Call to `getMethod` on foreign value `vendor.instance().getModelYaml().getStrategy().getError()` (degree 2) | 181 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `vendor.instance()` (degree 1) | 181 |
| LawOfDemeter | Call to `getStrategy` on foreign value `vendor.instance().getModelYaml()` (degree 2) | 181 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 182 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 190 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 190 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 191 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 198 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 206 |
| MethodArgumentCouldBeFinal | Parameter 'indexMethodError' is not assigned and could be declared final | 213 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 214 |
| UnusedAssignment | The initializer for variable 'isNotNull' is never used (overwritten on line 225) | 220 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 236 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 239 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 251 |
| MethodArgumentCouldBeFinal | Parameter 'indexMethodError' is not assigned and could be declared final | 259 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 260 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 277 |
com/jsql/view/swing/panel/consoles/CenterRenderer.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
com/jsql/view/swing/panel/consoles/CenterRendererWithIcon.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 10 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 10 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 13 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.TICK_GREEN` (degree 1) | 31 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.CROSS_RED` (degree 1) | 31 |
com/jsql/view/swing/panel/consoles/NetworkTable.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 21 |
| MethodArgumentCouldBeFinal | Parameter 'tabbedPaneNetworkTab' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 40 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `NetworkTable.this.getColumnModel()` (degree 1) | 53 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 109 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 128 |
com/jsql/view/swing/panel/consoles/TabbedPaneNetworkTab.java
| Rule | Violation | Line |
|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 1–214 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 50 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 75 |
| LawOfDemeter | Call to `getCaret` on foreign value `this.textPanePreview` (degree 1) | 105 |
| LawOfDemeter | Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) | 109 |
| LawOfDemeter | Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) | 110 |
| MethodArgumentCouldBeFinal | Parameter 'networkData' is not assigned and could be declared final | 115 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 129 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 159 |
| MethodArgumentCouldBeFinal | Parameter 'textArea' is not assigned and could be declared final | 164 |
| MethodArgumentCouldBeFinal | Parameter 'httpData' is not assigned and could be declared final | 164 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 174 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 174 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 177 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 193 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 193 |
com/jsql/view/swing/panel/consoles/TooltipCellRenderer.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 9 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 9 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 14 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 15 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 17 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 18 |
com/jsql/view/swing/panel/preferences/PanelAuthentication.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 13 |
| DataClass | The class 'PanelAuthentication' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) | 13 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 18 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 21 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 26 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 103 |
com/jsql/view/swing/panel/preferences/PanelConnection.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 15 |
| DataClass | The class 'PanelConnection' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=12, WMC=17) | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 18 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 22 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 23 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 24 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 25 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 32 |
| NcssCount | The constructor 'PanelConnection(PanelPreferences)' has a NCSS line count of 74. | 34 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 73 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 82 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 82 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 90 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 99 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 99 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.textfieldCustomCsrfInputToken` (degree 1) | 118 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 121 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.textfieldCustomCsrfOutputToken` (degree 1) | 124 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 127 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 136 |
com/jsql/view/swing/panel/preferences/PanelExploit.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 26 |
| LawOfDemeter | Call to `getDocument` on foreign value `PanelExploit.TEXTAREA_REVSHELLS` (degree 1) | 28 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 36 |
com/jsql/view/swing/panel/preferences/PanelGeneral.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 10 |
| DataClass | The class 'PanelGeneral' is suspected to be a Data Class (WOC=0.000%, NOPA=1, NOAM=3, WMC=4) | 10 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 14 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 16 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 18 |
com/jsql/view/swing/panel/preferences/PanelInjection.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 16 |
| DataClass | The class 'PanelInjection' is suspected to be a Data Class (WOC=4.167%, NOPA=0, NOAM=23, WMC=27) | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 18 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 23 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 24 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 25 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 26 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 27 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 28 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 29 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 32 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 37 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 39 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 40 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 42 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 44 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 45 |
| NcssCount | The constructor 'PanelInjection(PanelPreferences)' has a NCSS line count of 97. | 47 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 47 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 92 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 101 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 101 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 111 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 120 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 120 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 145 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 157 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 205 |
com/jsql/view/swing/panel/preferences/PanelProxy.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 14 |
| DataClass | The class 'PanelProxy' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) | 14 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 22 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 24 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 63 |
com/jsql/view/swing/panel/preferences/PanelStrategies.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 9 |
| DataClass | The class 'PanelStrategies' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) | 9 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 11 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 12 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 13 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 14 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 18 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 20 |
com/jsql/view/swing/panel/preferences/PanelTampering.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 21 |
| DataClass | The class 'PanelTampering' is suspected to be a Data Class (WOC=7.143%, NOPA=0, NOAM=13, WMC=15) | 21 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 40 |
| LawOfDemeter | Call to `getDocument` on foreign value `PanelTampering.TEXT_PANE_EVAL` (degree 1) | 50 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 53 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 56 |
| MethodArgumentCouldBeFinal | Parameter 'buttonModel' is not assigned and could be declared final | 83 |
| MethodArgumentCouldBeFinal | Parameter 'b' is not assigned and could be declared final | 83 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 85–89 |
com/jsql/view/swing/panel/preferences/PanelUserAgent.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 13 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 15 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 19 |
| UseUnderscoresInNumericLiterals | Number 40000 should separate every third digit with an underscore | 24 |
| LawOfDemeter | Call to `getCaret` on foreign value `textfieldCustomUserAgent` (degree 1) | 25 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 27 |
| LawOfDemeter | Call to `getDocument` on foreign value `textfieldCustomUserAgent` (degree 1) | 28 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 31 |
com/jsql/view/swing/panel/preferences/listener/ActionListenerSave.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 21 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelConnection().getSpinnerLimitingThreads()` (degree 1) | 35 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelConnection().getSpinnerConnectionTimeout()` (degree 1) | 37 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelInjection().getSpinnerUnionIndexCount()` (degree 1) | 47 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelInjection().getSpinnerSleepTimeStrategy()` (degree 1) | 63 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 90 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 99 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 114 |
com/jsql/view/swing/panel/preferences/listener/SpinnerMouseWheelListener.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 7 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 9 |
| LawOfDemeter | Call to `getModel` on foreign value `source` (degree 1) | 11 |
| LawOfDemeter | Call to `getValue` on foreign value `source` (degree 1) | 12 |
| LawOfDemeter | Call to `getMaximum` on foreign value `model` (degree 1) | 14 |
| LawOfDemeter | Call to `getMinimum` on foreign value `model` (degree 1) | 15 |
com/jsql/view/swing/panel/preferences/listener/TamperingMouseAdapter.java
| Rule | Violation | Line |
|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'eval' | 13 |
| MethodArgumentCouldBeFinal | Parameter 'tampering' is not assigned and could be declared final | 15 |
| MethodArgumentCouldBeFinal | Parameter 'textPaneEval' is not assigned and could be declared final | 15 |
com/jsql/view/swing/panel/split/ActionHideShowConsole.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panel' is not assigned and could be declared final | 22 |
com/jsql/view/swing/panel/split/ActionHideShowResult.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 12 |
com/jsql/view/swing/panel/split/SplitNS.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 32 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 80 |
com/jsql/view/swing/panel/util/ButtonExpandText.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 24 |
| MethodArgumentCouldBeFinal | Parameter 'sourceTextField' is not assigned and could be declared final | 29 |
| LawOfDemeter | Call to `getCaret` on foreign value `textAreaInDialog` (degree 1) | 38 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 53 |
| MissingOverride | The method 'actionPerformed(ActionEvent)' is missing an @Override annotation. | 76 |
com/jsql/view/swing/panel/util/HTMLEditorKitTextPaneWrap.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 11 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 11 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 17 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 22 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 24 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 30 |
| MethodArgumentCouldBeFinal | Parameter 'axis' is not assigned and could be declared final | 33 |
| MethodArgumentCouldBeFinal | Parameter 'sizeRequirements' is not assigned and could be declared final | 33 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 56 |
| MethodArgumentCouldBeFinal | Parameter 'axis' is not assigned and could be declared final | 65 |
| MethodArgumentCouldBeFinal | Parameter 'p0' is not assigned and could be declared final | 65 |
| MethodArgumentCouldBeFinal | Parameter 'pos' is not assigned and could be declared final | 65 |
| MethodArgumentCouldBeFinal | Parameter 'len' is not assigned and could be declared final | 65 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 73 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 76 |
com/jsql/view/swing/popupmenu/JPopupMenuComponent.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 34 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 44 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 89 |
| LawOfDemeter | Call to `getLocation` on foreign value `MouseInfo.getPointerInfo()` (degree 1) | 97 |
| LawOfDemeter | Call to `getLocation` on foreign value `MouseInfo.getPointerInfo()` (degree 1) | 98 |
| LawOfDemeter | Call to `getLocation` on foreign value `MouseInfo.getPointerInfo()` (degree 1) | 99 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 101 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 101 |
com/jsql/view/swing/popupmenu/JPopupMenuTable.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 27 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 38 |
| MethodArgumentCouldBeFinal | Parameter 'tableValues' is not assigned and could be declared final | 78 |
| MethodArgumentCouldBeFinal | Parameter 'actionShowSearchTable' is not assigned and could be declared final | 78 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 93 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 93 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 103 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 103 |
com/jsql/view/swing/popupmenu/JPopupMenuText.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 22 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 28 |
com/jsql/view/swing/sql/JSyntaxTextArea.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 8 |
| MethodArgumentCouldBeFinal | Parameter 'consumer' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'supplier' is not assigned and could be declared final | 13 |
com/jsql/view/swing/sql/SqlEngine.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 29 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 31 |
| CommentDefaultAccessModifier | Missing commented default access modifier on nested enum 'TextareaWithColor' | 35 |
| ExcessivePublicCount | This class has a bunch of public methods and attributes | 35 |
| CommentDefaultAccessModifier | Missing commented default access modifier on field 'textarea' | 241 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 247 |
| AssignmentToNonFinalStatic | Possible unsafe assignment to non-final static field 'modelYaml' in a constructor. | 254 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 254 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 455 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 455 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 457 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 461 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 469 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 470 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 470 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 474–477 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 476 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 476 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `vendor.instance()` (degree 1) | 480 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 526 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 526 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 528 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 532 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 534 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 535 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 536 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 537 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 556 |
| LawOfDemeter | Call to `getDocument` on foreign value `textarea` (degree 1) | 558 |
com/jsql/view/swing/tab/TabHeader.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 25 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'imageIcon' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 42 |
com/jsql/view/swing/tab/TabManagers.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 32 |
| LawOfDemeter | Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) | 49 |
| MethodArgumentCouldBeFinal | Parameter 'modelSvgIcon' is not assigned and could be declared final | 54 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 54 |
| LawOfDemeter | Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) | 71 |
com/jsql/view/swing/tab/TabManagersCards.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 27 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 64 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 64 |
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 83 |
| MethodArgumentCouldBeFinal | Parameter 'manager' is not assigned and could be declared final | 83 |
com/jsql/view/swing/tab/TabResults.java
| Rule | Violation | Line |
|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 11–400 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 52 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 78 |
| MethodArgumentCouldBeFinal | Parameter 'content' is not assigned and could be declared final | 78 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 78 |
| MethodArgumentCouldBeFinal | Parameter 'content' is not assigned and could be declared final | 87 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 95 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 110 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 111 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 112 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'toolTipText' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'componentText' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 131 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 136 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 136 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 136 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 137 |
| MethodArgumentCouldBeFinal | Parameter 'port' is not assigned and could be declared final | 157 |
| MethodArgumentCouldBeFinal | Parameter 'biConsumerRunCmd' is not assigned and could be declared final | 178 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 183 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 183 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 203 |
| MethodArgumentCouldBeFinal | Parameter 'user' is not assigned and could be declared final | 203 |
| MethodArgumentCouldBeFinal | Parameter 'pass' is not assigned and could be declared final | 203 |
| MethodArgumentCouldBeFinal | Parameter 'cmd' is not assigned and could be declared final | 208 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 208 |
| MethodArgumentCouldBeFinal | Parameter 'wbhPath' is not assigned and could be declared final | 208 |
| MethodArgumentCouldBeFinal | Parameter 'arg' is not assigned and could be declared final | 208 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 209 |
| MethodArgumentCouldBeFinal | Parameter 'data' is not assigned and could be declared final | 230 |
| MethodArgumentCouldBeFinal | Parameter 'columnNames' is not assigned and could be declared final | 230 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 230 |
| MethodArgumentCouldBeFinal | Parameter 'terminal' is not assigned and could be declared final | 244 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 262 |
| MethodArgumentCouldBeFinal | Parameter 'terminal' is not assigned and could be declared final | 282 |
| AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 295 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 305 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 316 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 317 |
| LawOfDemeter | Call to `getSelection` on foreign value `buttonGroup` (degree 1) | 318 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 320 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 328 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 352 |
| MethodArgumentCouldBeFinal | Parameter 'evt' is not assigned and could be declared final | 379 |
com/jsql/view/swing/tab/TabbedPaneMouseWheelListener.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 14 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 19 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 38 |
com/jsql/view/swing/tab/TabbedPaneWheeled.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 24 |
| MethodArgumentCouldBeFinal | Parameter 'tabPlacement' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 44 |
com/jsql/view/swing/tab/dnd/DnDTabData.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 7 |
com/jsql/view/swing/tab/dnd/DnDTabbedPane.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 18 |
| MethodArgumentCouldBeFinal | Parameter 'p' is not assigned and could be declared final | 36 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 36 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 45 |
| MethodArgumentCouldBeFinal | Parameter 'actionKey' is not assigned and could be declared final | 54 |
| MethodArgumentCouldBeFinal | Parameter 'pt' is not assigned and could be declared final | 74 |
| MethodArgumentCouldBeFinal | Parameter 'p' is not assigned and could be declared final | 101 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 104 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 109 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 115 |
| MethodArgumentCouldBeFinal | Parameter 'forDrop' is not assigned and could be declared final | 115 |
| MethodArgumentCouldBeFinal | Parameter 'dragIndex' is not assigned and could be declared final | 127 |
| MethodArgumentCouldBeFinal | Parameter 'target' is not assigned and could be declared final | 127 |
| MethodArgumentCouldBeFinal | Parameter 'targetIndex' is not assigned and could be declared final | 127 |
| MethodArgumentCouldBeFinal | Parameter 'prev' is not assigned and could be declared final | 147 |
| MethodArgumentCouldBeFinal | Parameter 'next' is not assigned and could be declared final | 147 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 179 |
| MethodArgumentCouldBeFinal | Parameter 'tabPlacement' is not assigned and could be declared final | 221 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 225 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 241 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "dropLocation" in if statements | 243 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 250 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 254 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 255 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 272 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 276 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 290 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 295 |
com/jsql/view/swing/tab/dnd/GhostGlassPane.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 10 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'tab' is not assigned and could be declared final | 27 |
com/jsql/view/swing/tab/dnd/TabTransferHandler.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 18 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 31 |
| MethodArgumentCouldBeFinal | Parameter 'flavor' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'flavor' is not assigned and could be declared final | 46 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 57 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 59 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 63 |
| LawOfDemeter | Call to `getComponent` on foreign value `support` (degree 1) | 66 |
| UnusedAssignment | The initializer for variable 'isDroppable' is never used (overwritten on lines 76 and 78) | 72 |
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 94 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 118 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 124 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 130 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 136 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 138 |
| LawOfDemeter | Call to `getComponent` on foreign value `support` (degree 1) | 141 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `target` (degree 1) | 142 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 145 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 145 |
| LawOfDemeter | Call to `convertTab` on foreign value `src` (degree 2) | 150 |
| LawOfDemeter | Access to field `dragTabIndex` on foreign value `src` (degree 2) | 150 |
| LawOfDemeter | Call to `exportTab` on foreign value `src` (degree 2) | 152 |
| LawOfDemeter | Access to field `dragTabIndex` on foreign value `src` (degree 2) | 152 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 154 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 163 |
com/jsql/view/swing/table/ActionCloseSearch.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
| MethodArgumentCouldBeFinal | Parameter 'textFilter' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'panelSearch' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'panelTable' is not assigned and could be declared final | 12 |
com/jsql/view/swing/table/ActionShowSearch.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
| MethodArgumentCouldBeFinal | Parameter 'panelSearch' is not assigned and could be declared final | 11 |
| MethodArgumentCouldBeFinal | Parameter 'textFilter' is not assigned and could be declared final | 11 |
com/jsql/view/swing/table/AdjusterTableColumn.java
| Rule | Violation | Line |
|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 35–370 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 45 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 50 |
| MethodArgumentCouldBeFinal | Parameter 'tableAdjust' is not assigned and could be declared final | 57 |
| MethodArgumentCouldBeFinal | Parameter 'spacing' is not assigned and could be declared final | 57 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 71 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 81 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 81 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 95 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 97 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 100 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 100 |
| LawOfDemeter | Call to `getDefaultRenderer` on foreign value `this.tableAdjust.getTableHeader()` (degree 1) | 104 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 115 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 117 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 121 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 121 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 136 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 136 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 141 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 151 |
| MethodArgumentCouldBeFinal | Parameter 'width' is not assigned and could be declared final | 151 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 152 |
| LawOfDemeter | Call to `getResizable` on foreign value `tableColumn` (degree 2) | 153 |
| LawOfDemeter | Call to `getPreferredWidth` on foreign value `tableColumn` (degree 2) | 161 |
| LawOfDemeter | Call to `getWidth` on foreign value `tableColumn` (degree 2) | 164 |
| LawOfDemeter | Call to `setWidth` on foreign value `tableColumn` (degree 2) | 166 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 173 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 182 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 183 |
| LawOfDemeter | Call to `setWidth` on foreign value `tableColumn` (degree 2) | 187 |
| MethodArgumentCouldBeFinal | Parameter 'isColumnHeaderIncluded' is not assigned and could be declared final | 194 |
| MethodArgumentCouldBeFinal | Parameter 'isColumnDataIncluded' is not assigned and could be declared final | 201 |
| MethodArgumentCouldBeFinal | Parameter 'isOnlyAdjustLarger' is not assigned and could be declared final | 208 |
| MethodArgumentCouldBeFinal | Parameter 'isDynamicAdjustment' is not assigned and could be declared final | 216 |
| LawOfDemeter | Call to `getModel` on foreign value `this.tableAdjust` (degree 1) | 221 |
| LawOfDemeter | Call to `getModel` on foreign value `this.tableAdjust` (degree 1) | 224 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 234 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "model" in if statements | 237 |
| LawOfDemeter | Call to `getOldValue` on foreign value `e` (degree 1) | 238 |
| LawOfDemeter | Call to `getNewValue` on foreign value `e` (degree 1) | 241 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 251 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 263 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 263 |
| MethodArgumentCouldBeFinal | Parameter 'isSelectedColumn' is not assigned and could be declared final | 292 |
| MethodArgumentCouldBeFinal | Parameter 'isAdjust' is not assigned and could be declared final | 292 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 292 |
| MethodArgumentCouldBeFinal | Parameter 'keyStroke' is not assigned and could be declared final | 292 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleDynamic' is not assigned and could be declared final | 303 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleLarger' is not assigned and could be declared final | 303 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 303 |
| MethodArgumentCouldBeFinal | Parameter 'keyStroke' is not assigned and could be declared final | 303 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 314 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ColumnAction(boolean, boolean)' | 319 |
| MethodArgumentCouldBeFinal | Parameter 'isSelectedColumn' is not assigned and could be declared final | 319 |
| MethodArgumentCouldBeFinal | Parameter 'isAdjust' is not assigned and could be declared final | 319 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 351 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ToggleAction(boolean, boolean)' | 356 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleDynamic' is not assigned and could be declared final | 356 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleLarger' is not assigned and could be declared final | 356 |
com/jsql/view/swing/table/ButtonClose.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 7 |
com/jsql/view/swing/table/ComparatorColumn.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 19 |
| MethodArgumentCouldBeFinal | Parameter 'cellLeft' is not assigned and could be declared final | 26 |
| MethodArgumentCouldBeFinal | Parameter 'cellRight' is not assigned and could be declared final | 26 |
com/jsql/view/swing/table/FixedColumnTable.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 27 |
| MethodArgumentCouldBeFinal | Parameter 'fixedColumns' is not assigned and could be declared final | 39 |
| MethodArgumentCouldBeFinal | Parameter 'scrollPane' is not assigned and could be declared final | 39 |
| MethodArgumentCouldBeFinal | Parameter 'colNum' is not assigned and could be declared final | 71 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.mainTable` (degree 1) | 91 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 93 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 96 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 96 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 99 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 99 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 100 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 100 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 101 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 101 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 102 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 102 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 103 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 103 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 104 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 104 |
| LawOfDemeter | Call to `getRowSorter` on foreign value `this.mainTable` (degree 1) | 106 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `this.mainTable` (degree 1) | 115 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 138 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 148 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "selectionModel" in if statements | 150 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "model" in if statements | 154 |
com/jsql/view/swing/table/PanelTable.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39 |
| MethodArgumentCouldBeFinal | Parameter 'data' is not assigned and could be declared final | 54 |
| MethodArgumentCouldBeFinal | Parameter 'columnNames' is not assigned and could be declared final | 54 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 95 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `PanelTable.this.tableValues` (degree 1) | 103 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `PanelTable.this.tableValues` (degree 1) | 104 |
| LawOfDemeter | Call to `getDefaultRenderer` on foreign value `this.tableValues.getTableHeader()` (degree 1) | 113 |
| LawOfDemeter | Call to `getTableCellRendererComponent` on foreign value `cellRendererHeader` (degree 2) | 115–122 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 137 |
| LawOfDemeter | Call to `getDocument` on foreign value `textFilter` (degree 1) | 169 |
| InefficientEmptyStringCheck | String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. | 172 |
com/jsql/view/swing/table/RowHeaderRenderer.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 7 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 15 |
com/jsql/view/swing/terminal/AbstractExploit.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'loginPassword' | 55 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 80 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 80 |
| MethodArgumentCouldBeFinal | Parameter 'labelShell' is not assigned and could be declared final | 80 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 83 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 83 |
| MethodArgumentCouldBeFinal | Parameter 'labelShell' is not assigned and could be declared final | 83 |
| MethodArgumentCouldBeFinal | Parameter 'isAddingPrompt' is not assigned and could be declared final | 83 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 90 |
| MethodArgumentCouldBeFinal | Parameter 'isPromptVisible' is not assigned and could be declared final | 130 |
| MethodArgumentCouldBeFinal | Parameter 'string' is not assigned and could be declared final | 144 |
| MethodArgumentCouldBeFinal | Parameter 'isAddingPrompt' is not assigned and could be declared final | 157 |
| MethodArgumentCouldBeFinal | Parameter 'string' is not assigned and could be declared final | 176 |
| MethodArgumentCouldBeFinal | Parameter 'color' is not assigned and could be declared final | 176 |
| MethodArgumentCouldBeFinal | Parameter 'isAddingPrompt' is not assigned and could be declared final | 176 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 200 |
| MethodArgumentCouldBeFinal | Parameter 'offset' is not assigned and could be declared final | 209 |
| LawOfDemeter | Call to `getDefaultRootElement` on foreign value `doc` (degree 1) | 218 |
| MethodArgumentCouldBeFinal | Parameter 'line' is not assigned and could be declared final | 228 |
| LawOfDemeter | Call to `getDefaultRootElement` on foreign value `this.getDocument()` (degree 1) | 229 |
| LawOfDemeter | Call to `getElement` on foreign value `map` (degree 2) | 236 |
| MethodReturnsInternalArray | Returning 'loginPassword' may expose an internal array. | 261 |
| MethodArgumentCouldBeFinal | Parameter 'loginPassword' is not assigned and could be declared final | 264 |
| ArrayIsStoredDirectly | The user-supplied array 'loginPassword' is stored directly. | 265 |
com/jsql/view/swing/terminal/EmptyFocusCopy.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'abstractExploit' is not assigned and could be declared final | 24 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 29 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.abstractExploit` (degree 1) | 32 |
| LawOfDemeter | Call to `getData` on foreign value `Toolkit.getDefaultToolkit().getSystemClipboard()` (degree 2) | 40 |
| LawOfDemeter | Call to `getSystemClipboard` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 40 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 48 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 53 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 58 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 63 |
com/jsql/view/swing/terminal/ExploitReverseShell.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 24 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 34 |
| MethodArgumentCouldBeFinal | Parameter 'port' is not assigned and could be declared final | 34 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 38 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 53 |
| LawOfDemeter | Call to `getServerInputConnection` on foreign value `this.serverInput` (degree 1) | 54 |
com/jsql/view/swing/terminal/ServerInput.java
| Rule | Violation | Line |
|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'serverSocket' | 9 |
| MethodArgumentCouldBeFinal | Parameter 'exploitReverseShell' is not assigned and could be declared final | 14 |
| MethodArgumentCouldBeFinal | Parameter 'port' is not assigned and could be declared final | 14 |
| UseUnderscoresInNumericLiterals | Number 10000 should separate every third digit with an underscore | 21 |
| CloseResource | Ensure that resources like this Socket object are closed after use | 22 |
| CommentDefaultAccessModifier | Missing commented default access modifier on method 'close()' | 27 |
com/jsql/view/swing/terminal/ServerInputConnection.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'exploitReverseShell' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'clientSocket' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'serverInput' is not assigned and could be declared final | 25 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 31 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 36 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 54 |
| MethodArgumentCouldBeFinal | Parameter 'dataOutputStream' is not assigned and could be declared final | 60 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 63 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 74–80 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 75 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 94 |
com/jsql/view/swing/terminal/util/BlockCaret.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 25 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 37 |
| MethodArgumentCouldBeFinal | Parameter 'r' is not assigned and could be declared final | 37 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 64 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 67 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 81 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 85 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 101 |
com/jsql/view/swing/terminal/util/KeyAdapterTerminal.java
| Rule | Violation | Line |
|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'indexCommandsHistory' | 49 |
| MethodArgumentCouldBeFinal | Parameter 'terminal' is not assigned and could be declared final | 55 |
| CyclomaticComplexity | The method 'keyPressed(KeyEvent)' has a cyclomatic complexity of 12. | 60 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 60 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 62 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 102 |
| MethodArgumentCouldBeFinal | Parameter 'caretPosition' is not assigned and could be declared final | 102 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 107 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 114 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 125 |
| MethodArgumentCouldBeFinal | Parameter 'caretPosition' is not assigned and could be declared final | 125 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 125 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 133 |
| MethodArgumentCouldBeFinal | Parameter 'root' is not assigned and could be declared final | 134 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 135 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 136 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 145 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 151 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 156 |
| MethodArgumentCouldBeFinal | Parameter 'root' is not assigned and could be declared final | 157 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 158 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 159 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 176 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 182 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 186 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 186 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 201 |
| LawOfDemeter | Call to `getDocument` on foreign value `terminalCommand` (degree 1) | 207 |
com/jsql/view/swing/text/JPasswordFieldPlaceholder.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 14 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 32 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 40 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 46 |
com/jsql/view/swing/text/JPopupComponent.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 24 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 40 |
com/jsql/view/swing/text/JPopupTextArea.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 26 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 41 |
| MethodArgumentCouldBeFinal | Parameter 'proxy' is not assigned and could be declared final | 53 |
com/jsql/view/swing/text/JPopupTextComponent.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 31 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 46 |
com/jsql/view/swing/text/JPopupTextField.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 18 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'proxy' is not assigned and could be declared final | 36 |
com/jsql/view/swing/text/JPopupTextPane.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 21 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 26 |
| MethodArgumentCouldBeFinal | Parameter 'proxy' is not assigned and could be declared final | 38 |
com/jsql/view/swing/text/JTextAreaPlaceholder.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 15 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 28 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 34 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 44 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 50 |
com/jsql/view/swing/text/JTextAreaPlaceholderConsole.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 8 |
com/jsql/view/swing/text/JTextFieldPlaceholder.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 14 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 38 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'xOffset' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 48 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 58 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 64 |
com/jsql/view/swing/text/JTextPanePlaceholder.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 17 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 30 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 36 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 53 |
com/jsql/view/swing/text/JTextPanePlaceholderConsole.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 8 |
com/jsql/view/swing/text/JToolTipI18n.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 9 |
| MethodArgumentCouldBeFinal | Parameter 'textTooltip' is not assigned and could be declared final | 13 |
| MethodArgumentCouldBeFinal | Parameter 'textTooltip' is not assigned and could be declared final | 17 |
com/jsql/view/swing/text/SyntaxTextArea.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 17 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 46 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 56 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 74 |
com/jsql/view/swing/text/action/AbstractCharAction.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 17 |
| MethodArgumentCouldBeFinal | Parameter 'deleteAction' is not assigned and could be declared final | 24 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 34 |
| LawOfDemeter | Call to `getCaret` on foreign value `target` (degree 1) | 44 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 48–52 |
| LawOfDemeter | Call to `remove` on foreign value `doc` (degree 2) | 49 |
com/jsql/view/swing/text/action/DeleteNextCharAction.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 11 |
| MethodArgumentCouldBeFinal | Parameter 'doc' is not assigned and could be declared final | 21 |
| MethodArgumentCouldBeFinal | Parameter 'dot' is not assigned and could be declared final | 21 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 32–34 |
com/jsql/view/swing/text/action/DeletePrevCharAction.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 11 |
| MethodArgumentCouldBeFinal | Parameter 'doc' is not assigned and could be declared final | 21 |
| MethodArgumentCouldBeFinal | Parameter 'dot' is not assigned and could be declared final | 21 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 26 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 32–34 |
com/jsql/view/swing/text/action/SilentDeleteTextAction.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 14 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 18 |
| MethodArgumentCouldBeFinal | Parameter 'deleteAction' is not assigned and could be declared final | 18 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 25 |
| LawOfDemeter | Call to `getCaret` on foreign value `target` (degree 1) | 31 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 38 |
| LawOfDemeter | Call to `getDocument` on foreign value `target` (degree 1) | 43 |
com/jsql/view/swing/text/listener/DocumentListenerEditing.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 11 |
com/jsql/view/swing/tree/CellEditorNode.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 33 |
| MethodArgumentCouldBeFinal | Parameter 'tree' is not assigned and could be declared final | 59 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 60 |
| MethodArgumentCouldBeFinal | Parameter 'expanded' is not assigned and could be declared final | 62 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 63 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 64 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 71 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 79 |
| LawOfDemeter | Call to `getLastSelectedPathComponent` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 92 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 98 |
| MethodArgumentCouldBeFinal | Parameter 'mouseEvent' is not assigned and could be declared final | 109 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 111 |
| LawOfDemeter | Call to `getLastPathComponent` on foreign value `path` (degree 1) | 120 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentTableNode` (degree 1) | 122 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 130 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 135 |
com/jsql/view/swing/tree/CellRendererNode.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 24 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 24 |
| MethodArgumentCouldBeFinal | Parameter 'tree' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 27 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 30 |
com/jsql/view/swing/tree/ImageOverlap.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 27 |
| MethodArgumentCouldBeFinal | Parameter 'main' is not assigned and could be declared final | 41 |
| MethodArgumentCouldBeFinal | Parameter 'iconPathOverlap' is not assigned and could be declared final | 41 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 47 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 47 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 47 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 47 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 47 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 51 |
com/jsql/view/swing/tree/PanelNode.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 31 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 91 |
| LawOfDemeter | Call to `getElementDatabase` on foreign value `nodeModel` (degree 1) | 98 |
| LawOfDemeter | Call to `getElementDatabase` on foreign value `nodeModel` (degree 1) | 102 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 111 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 120 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 121 |
| MethodArgumentCouldBeFinal | Parameter 'newIcon' is not assigned and could be declared final | 144 |
| MethodArgumentCouldBeFinal | Parameter 'newIcon' is not assigned and could be declared final | 166 |
com/jsql/view/swing/tree/ProgressBarPausable.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 28 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 28 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isIconDisplayed' | 35 |
| MethodArgumentCouldBeFinal | Parameter 'graphics' is not assigned and could be declared final | 38 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 50 |
com/jsql/view/swing/tree/TreeDatabase.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 24 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 24–202 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 33 |
| MethodArgumentCouldBeFinal | Parameter 'root' is not assigned and could be declared final | 35 |
| LawOfDemeter | Call to `getRoot` on foreign value `model` (degree 1) | 42 |
| LawOfDemeter | Call to `getRoot` on foreign value `treeModel` (degree 1) | 52 |
| MethodArgumentCouldBeFinal | Parameter 'columns' is not assigned and could be declared final | 61 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 67 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 68 |
| LawOfDemeter | Call to `getUserObject` on foreign value `tableNode` (degree 1) | 79 |
| MethodArgumentCouldBeFinal | Parameter 'databases' is not assigned and could be declared final | 83 |
| LawOfDemeter | Call to `getRoot` on foreign value `treeModel` (degree 1) | 85 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 89 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 90 |
| MethodArgumentCouldBeFinal | Parameter 'tables' is not assigned and could be declared final | 103 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 107 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 108 |
| LawOfDemeter | Call to `getUserObject` on foreign value `databaseNode` (degree 1) | 123 |
| MethodArgumentCouldBeFinal | Parameter 'data' is not assigned and could be declared final | 127 |
| MethodArgumentCouldBeFinal | Parameter 'columnNames' is not assigned and could be declared final | 127 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 127 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 131 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 138 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 142 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 150 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 154 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 163 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 167 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 174 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 178 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 188 |
| MethodArgumentCouldBeFinal | Parameter 'dataCount' is not assigned and could be declared final | 188 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 192 |
com/jsql/view/swing/tree/action/ActionCheckAll.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'isCheckboxesSelected' is not assigned and could be declared final | 21 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 21 |
| LawOfDemeter | Call to `getLastPathComponent` on foreign value `this.path` (degree 1) | 28 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentTableNode` (degree 1) | 29 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 30 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentChild` (degree 1) | 35 |
com/jsql/view/swing/tree/action/ActionCheckSingle.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'nodeModel' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'actionEvent' is not assigned and could be declared final | 26 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 30 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentChild` (degree 1) | 39 |
| LawOfDemeter | Call to `getUserObject` on foreign value `tableNode` (degree 1) | 47 |
com/jsql/view/swing/tree/action/ActionLoadStop.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'nodeModel' is not assigned and could be declared final | 34 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 34 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 45–49 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 57 |
| LawOfDemeter | Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 65 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 75 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 79 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentChild` (degree 1) | 87 |
| LawOfDemeter | Call to `getElementDatabase` on foreign value `columnTreeNodeModel` (degree 1) | 89 |
com/jsql/view/swing/tree/action/ActionPauseUnpause.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'nodeModel' is not assigned and could be declared final | 27 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 33 |
com/jsql/view/swing/tree/custom/CheckBoxMenuItemIconCustom.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 9 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 9 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'graphics' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 65 |
| MethodArgumentCouldBeFinal | Parameter 'graphics' is not assigned and could be declared final | 65 |
| MethodArgumentCouldBeFinal | Parameter 'abstractButton' is not assigned and could be declared final | 65 |
| MethodArgumentCouldBeFinal | Parameter 'model' is not assigned and could be declared final | 65 |
| MethodArgumentCouldBeFinal | Parameter 'isEnabled' is not assigned and could be declared final | 65 |
com/jsql/view/swing/tree/custom/JPopupMenuCustomExtract.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 5 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 5 |
| DataClass | The class 'JPopupMenuCustomExtract' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 5 |
| MethodArgumentCouldBeFinal | Parameter 'buttonGroupLoadRows' is not assigned and could be declared final | 18 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomFromRow' is not assigned and could be declared final | 26 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomToRow' is not assigned and could be declared final | 34 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomFromChar' is not assigned and could be declared final | 42 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomToChar' is not assigned and could be declared final | 50 |
| MethodArgumentCouldBeFinal | Parameter 'menuItemDump' is not assigned and could be declared final | 58 |
com/jsql/view/swing/tree/model/AbstractNodeModel.java
| Rule | Violation | Line |
|---|---|---|
| GodClass | Possible God Class (WMC=56, ATFD=71, TCC=10.115%) | 40 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 40–424 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'indexProgress' | 58 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isSelected' | 63 |
| AvoidFieldNameMatchingMethodName | Field isSelected has the same name as a method | 63 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isRunning' | 68 |
| AvoidFieldNameMatchingMethodName | Field isRunning has the same name as a method | 68 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isAnyCheckboxSelected' | 74 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLoaded' | 80 |
| AvoidFieldNameMatchingMethodName | Field isLoaded has the same name as a method | 80 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isProgressing' | 86 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLoading' | 92 |
| MethodArgumentCouldBeFinal | Parameter 'elementDatabase' is not assigned and could be declared final | 102 |
| MethodArgumentCouldBeFinal | Parameter 'emptyObject' is not assigned and could be declared final | 110 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 146 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 146 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 146 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 148 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 156 |
| MethodArgumentCouldBeFinal | Parameter 'popupMenu' is not assigned and could be declared final | 156 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 175 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 175 |
| MethodArgumentCouldBeFinal | Parameter 'popupMenu' is not assigned and could be declared final | 175 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentTableNode` (degree 1) | 193 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 208 |
| MethodArgumentCouldBeFinal | Parameter 'popupMenu' is not assigned and could be declared final | 209 |
| MethodArgumentCouldBeFinal | Parameter 'suspendableTask' is not assigned and could be declared final | 210 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 244 |
| MethodArgumentCouldBeFinal | Parameter 'isLeaf' is not assigned and could be declared final | 246 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 247 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 264 |
| MethodArgumentCouldBeFinal | Parameter 'isLeaf' is not assigned and could be declared final | 272 |
| MethodArgumentCouldBeFinal | Parameter 'currentNode' is not assigned and could be declared final | 277 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 285 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 292 |
| MethodArgumentCouldBeFinal | Parameter 'isEdited' is not assigned and could be declared final | 292 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 297 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 297 |
| MethodArgumentCouldBeFinal | Parameter 'isEdited' is not assigned and could be declared final | 324 |
| MethodArgumentCouldBeFinal | Parameter 'panelNode' is not assigned and could be declared final | 340 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 347 |
| MethodArgumentCouldBeFinal | Parameter 'indexProgress' is not assigned and could be declared final | 373 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 381 |
| MethodArgumentCouldBeFinal | Parameter 'isRunning' is not assigned and could be declared final | 389 |
| MethodArgumentCouldBeFinal | Parameter 'isAnyCheckboxSelected' is not assigned and could be declared final | 393 |
| MethodArgumentCouldBeFinal | Parameter 'isLoaded' is not assigned and could be declared final | 401 |
| MethodArgumentCouldBeFinal | Parameter 'isProgressing' is not assigned and could be declared final | 405 |
| MethodArgumentCouldBeFinal | Parameter 'isLoading' is not assigned and could be declared final | 409 |
| MethodArgumentCouldBeFinal | Parameter 'isEdited' is not assigned and could be declared final | 417 |
| MethodArgumentCouldBeFinal | Parameter 'textI18n' is not assigned and could be declared final | 421 |
com/jsql/view/swing/tree/model/NodeModelColumn.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 30 |
com/jsql/view/swing/tree/model/NodeModelDatabase.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'database' is not assigned and could be declared final | 36 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 41 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 43 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 56 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 67 |
| LawOfDemeter | Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) | 69 |
com/jsql/view/swing/tree/model/NodeModelEmpty.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'textNode' is not assigned and could be declared final | 30 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 34 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 40 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 44 |
com/jsql/view/swing/tree/model/NodeModelTable.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 41 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 46 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 48 |
| MethodArgumentCouldBeFinal | Parameter 'panelNode' is not assigned and could be declared final | 55 |
| MethodArgumentCouldBeFinal | Parameter 'currentNode' is not assigned and could be declared final | 55 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 58 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 76 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 82 |
| LawOfDemeter | Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) | 84 |
| MethodArgumentCouldBeFinal | Parameter 'tablePopupMenu' is not assigned and could be declared final | 92 |
| UnusedPrivateMethod | Avoid unused private methods such as 'addCustomLoadItems(JPopupMenuCustomExtract)'. | 97 |
| NcssCount | The method 'addCustomLoadItems(JPopupMenuCustomExtract)' has a NCSS line count of 65. | 97 |
| MethodArgumentCouldBeFinal | Parameter 'tablePopupMenu' is not assigned and could be declared final | 97 |
| AvoidDuplicateLiterals | The String literal "no." appears 4 times in this file; the first occurrence is on line 108 | 108 |
| MethodArgumentCouldBeFinal | Parameter 'tablePopupMenu' is not assigned and could be declared final | 186 |
com/jsql/view/swing/util/I18nViewUtil.java
| Rule | Violation | Line |
|---|---|---|
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 21 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 26 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 49 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 54 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 80 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 80 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 89 |
| MethodArgumentCouldBeFinal | Parameter 'locale' is not assigned and could be declared final | 95 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 101 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 105 |
| MethodArgumentCouldBeFinal | Parameter 'custom' is not assigned and could be declared final | 105 |
com/jsql/view/swing/util/JSplitPaneWithZeroSizeDivider.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 9 |
| MethodArgumentCouldBeFinal | Parameter 'i' is not assigned and could be declared final | 13 |
| LawOfDemeter | Call to `getDivider` on foreign value `(BasicSplitPaneUI) this.getUI()` (degree 1) | 24 |
| LawOfDemeter | Access to field `x` on foreign value `bounds` (degree 2) | 28 |
| LawOfDemeter | Access to field `width` on foreign value `bounds` (degree 2) | 29 |
| LawOfDemeter | Access to field `y` on foreign value `bounds` (degree 2) | 31 |
| LawOfDemeter | Access to field `height` on foreign value `bounds` (degree 2) | 32 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 55 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 62 |
| MethodArgumentCouldBeFinal | Parameter 'ui' is not assigned and could be declared final | 64 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 76 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 86 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 91 |
com/jsql/view/swing/util/MediatorHelper.java
| Rule | Violation | Line |
|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 17–156 |
| AvoidFieldNameMatchingMethodName | Field model has the same name as a method | 19 |
| AvoidFieldNameMatchingMethodName | Field treeDatabase has the same name as a method | 21 |
| AvoidFieldNameMatchingMethodName | Field tabResults has the same name as a method | 22 |
| AvoidFieldNameMatchingMethodName | Field tabManagersCards has the same name as a method | 23 |
| AvoidFieldNameMatchingMethodName | Field frame has the same name as a method | 25 |
| AvoidFieldNameMatchingMethodName | Field panelAddressBar has the same name as a method | 27 |
| AvoidFieldNameMatchingMethodName | Field tabConsoles has the same name as a method | 28 |
| AvoidFieldNameMatchingMethodName | Field panelConsoles has the same name as a method | 29 |
| AvoidFieldNameMatchingMethodName | Field managerScan has the same name as a method | 31 |
| AvoidFieldNameMatchingMethodName | Field managerAdminPage has the same name as a method | 32 |
| AvoidFieldNameMatchingMethodName | Field managerFile has the same name as a method | 33 |
| AvoidFieldNameMatchingMethodName | Field managerExploit has the same name as a method | 34 |
| AvoidFieldNameMatchingMethodName | Field managerBruteForce has the same name as a method | 35 |
| MethodArgumentCouldBeFinal | Parameter 'frame' is not assigned and could be declared final | 100 |
| MethodArgumentCouldBeFinal | Parameter 'appMenubar' is not assigned and could be declared final | 104 |
| MethodArgumentCouldBeFinal | Parameter 'panelAddress' is not assigned and could be declared final | 108 |
| MethodArgumentCouldBeFinal | Parameter 'tabConsoles' is not assigned and could be declared final | 112 |
| MethodArgumentCouldBeFinal | Parameter 'panelConsoles' is not assigned and could be declared final | 116 |
| MethodArgumentCouldBeFinal | Parameter 'treeDatabase' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'tabResults' is not assigned and could be declared final | 124 |
| MethodArgumentCouldBeFinal | Parameter 'tabManagersCards' is not assigned and could be declared final | 128 |
| MethodArgumentCouldBeFinal | Parameter 'managerAdminPage' is not assigned and could be declared final | 134 |
| MethodArgumentCouldBeFinal | Parameter 'managerFile' is not assigned and could be declared final | 138 |
| MethodArgumentCouldBeFinal | Parameter 'managerExploit' is not assigned and could be declared final | 141 |
| MethodArgumentCouldBeFinal | Parameter 'managerScan' is not assigned and could be declared final | 145 |
| MethodArgumentCouldBeFinal | Parameter 'managerBruteForce' is not assigned and could be declared final | 149 |
| MethodArgumentCouldBeFinal | Parameter 'model' is not assigned and could be declared final | 153 |
com/jsql/view/swing/util/ModelSvgIcon.java
| Rule | Violation | Line |
|---|---|---|
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, float)' | 17 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 17 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 17 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, int)' | 21 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 21 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 21 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, Color, String, float)' | 25 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'toDark' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 25 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, Color, String, Color, float)' | 29 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'toDarkUi' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'toDark' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 29 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 43 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 43 |
| MethodArgumentCouldBeFinal | Parameter 'toDark' is not assigned and could be declared final | 43 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 43 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 44 |
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 62 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 62 |
com/jsql/view/swing/util/RadioItemNonClosing.java
| Rule | Violation | Line |
|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 6 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 8 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 12 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'a' is not assigned and could be declared final | 20 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 25 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 31 |
| MethodArgumentCouldBeFinal | Parameter 'm' is not assigned and could be declared final | 31 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 35 |
com/jsql/view/swing/util/UiStringUtil.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 14 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 18 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 22 |
| MethodArgumentCouldBeFinal | Parameter 'nowrap' is not assigned and could be declared final | 22 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 26 |
com/jsql/view/swing/util/UiUtil.java
| Rule | Violation | Line |
|---|---|---|
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 51 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 52 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 53 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 54 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 55 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 56 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 57 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 58 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 59 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 60 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 61 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 62 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 63 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 64 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 65 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 66 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 67 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 68 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 69 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 70 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 71 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 184 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.APP_ICON` (degree 1) | 201 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.APP_MIDDLE` (degree 1) | 202 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.APP_BIG` (degree 1) | 203 |
| MethodArgumentCouldBeFinal | Parameter 'textComponent' is not assigned and could be declared final | 210 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 210 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 210 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 211 |
| MethodArgumentCouldBeFinal | Parameter 'textComponent' is not assigned and could be declared final | 214 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 214 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 214 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 214 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 214 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 220 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 246 |
| MethodArgumentCouldBeFinal | Parameter 'textArea' is not assigned and could be declared final | 257 |
| MethodArgumentCouldBeFinal | Parameter 'nameTheme' is not assigned and could be declared final | 268 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'e2' on all code paths | 276 |
| MethodArgumentCouldBeFinal | Parameter 'size' is not assigned and could be declared final | 289 |
Priority 4
com/jsql/view/scan/interaction/DatabaseIdentified.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 29 |
com/jsql/view/scan/interaction/MarkBlindBinVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/scan/interaction/MarkBlindBitVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/scan/interaction/MarkDnsVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/scan/interaction/MarkErrorVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/scan/interaction/MarkStackVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/scan/interaction/MarkTimeVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/scan/interaction/MarkUnionVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/scan/interaction/SetVendor.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 29 |
com/jsql/view/swing/interaction/AddColumns.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 33 |
com/jsql/view/swing/interaction/AddDatabases.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 33 |
com/jsql/view/swing/interaction/AddTabExploitSql.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 32 |
com/jsql/view/swing/interaction/AddTabExploitUdfExtensionPostgres.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitUdfH2.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitUdfLibraryPostgres.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitUdfMysql.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitUdfOracle.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitUdfProgramPostgres.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitUdfSqlite.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitUdfWalPostgres.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/AddTabExploitWeb.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 31 |
com/jsql/view/swing/interaction/AddTables.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 33 |
com/jsql/view/swing/interaction/CreateAdminPageTab.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 49 |
com/jsql/view/swing/interaction/CreateAnalysisReport.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 25 |
com/jsql/view/swing/interaction/CreateFileTab.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 41 |
com/jsql/view/swing/interaction/CreateValuesTab.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 31 |
com/jsql/view/swing/interaction/EndIndeterminateProgress.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 31 |
com/jsql/view/swing/interaction/EndPreparation.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 21 |
com/jsql/view/swing/interaction/EndProgress.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 30 |
com/jsql/view/swing/interaction/GetTerminalResult.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 38 |
com/jsql/view/swing/interaction/MarkBlindBinInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkBlindBinStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkBlindBinVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkBlindBitInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkBlindBitStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkBlindBitVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkDnsInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkDnsStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkDnsVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkErrorInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/MarkErrorStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 21 |
com/jsql/view/swing/interaction/MarkErrorVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 27 |
com/jsql/view/swing/interaction/MarkFileSystemInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 21 |
com/jsql/view/swing/interaction/MarkFileSystemVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 21 |
com/jsql/view/swing/interaction/MarkMultibitInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkMultibitStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkMultibitVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkStackInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkStackStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkStackVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkTimeInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkTimeStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkTimeVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkUnionInvulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkUnionStrategy.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MarkUnionVulnerable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 22 |
com/jsql/view/swing/interaction/MessageBinary.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 29 |
com/jsql/view/swing/interaction/MessageChunk.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 29 |
com/jsql/view/swing/interaction/MessageHeader.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 45 |
com/jsql/view/swing/interaction/SetVendor.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 28 |
com/jsql/view/swing/interaction/StartIndeterminateProgress.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 31 |
com/jsql/view/swing/interaction/StartProgress.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 30 |
com/jsql/view/swing/interaction/UpdateProgress.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 35 |
com/jsql/view/swing/table/PanelTable.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 54 |
com/jsql/view/swing/terminal/AbstractExploit.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 264 |
com/jsql/view/swing/util/UiUtil.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryImport | Unused import 'java.lang.reflect.InvocationTargetException' | 37 |
| UselessParentheses | Useless parentheses around `textComponent.getComponentOrientation().isLeftT...`. | 239–243 |
Files
com/jsql/MainApp.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 20 |
| DoNotTerminateVM | System.exit() should not be used in J2EE/JEE apps | 3 | 31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 3 | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 3 | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 3 | 57 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 3 | 59 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) | 3 | 77 |
com/jsql/view/scan/interaction/DatabaseIdentified.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 29 |
com/jsql/view/scan/interaction/MarkBlindBinVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 35 |
com/jsql/view/scan/interaction/MarkBlindBitVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 35 |
com/jsql/view/scan/interaction/MarkDnsVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 36 |
com/jsql/view/scan/interaction/MarkErrorVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 36 |
com/jsql/view/scan/interaction/MarkStackVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 35 |
com/jsql/view/scan/interaction/MarkTimeVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 36 |
com/jsql/view/scan/interaction/MarkUnionVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 36 |
com/jsql/view/scan/interaction/SetVendor.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 29 |
com/jsql/view/swing/JFrameView.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 46 |
| DataClass | The class 'JFrameView' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=15) | 3 | 46 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 53 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isMaximized' | 3 | 56 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 60 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JFrame.getContentPane() (call stack: [JFrameView.initPaneComponents(), JFrame.getContentPane()]) | 1 | 65 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Window.setIconImages(List<? extends Image>) (call stack: [JFrameView.initWindow(), Window.setIconImages(List<? extends Image>)]) | 1 | 66 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JFrame.getRootPane() (call stack: [JFrameView.initShortcuts(), JFrame.getRootPane()]) | 1 | 67 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 3 | 73 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 3 | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 3 | 77 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 3 | 78 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 3 | 80 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `injectionModel` (degree 1) | 3 | 81 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 114 |
| LawOfDemeter | Access to field `networkSplitPane` on foreign value `MediatorHelper.panelConsoles()` (degree 1) | 3 | 132 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_BINARY_LABEL" in if statements | 3 | 167 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_CHUNK_LABEL" in if statements | 3 | 169 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_NETWORK_LABEL" in if statements | 3 | 171 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "CONSOLE_JAVA_LABEL" in if statements | 3 | 173 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) | 3 | 214 |
| LawOfDemeter | Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 3 | 222 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 224 |
com/jsql/view/swing/action/ActionCheckIp.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 16 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 22 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 27 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 31 |
com/jsql/view/swing/action/ActionCloseTabResult.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 11 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'closeTabNumber' is not assigned and could be declared final | 3 | 18 |
com/jsql/view/swing/action/ActionNewWindow.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 33 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 1 | 48 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 1 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 52 |
| MethodArgumentCouldBeFinal | Parameter 'commands' is not assigned and could be declared final | 3 | 52 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 1 | 56 |
com/jsql/view/swing/action/ActionSaveTab.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 47 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 49 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 1 | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 1 | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractAction.putValue(String, Object) | 1 | 55 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 3 | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 84 |
| MethodArgumentCouldBeFinal | Parameter 'tableResults' is not assigned and could be declared final | 3 | 96 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 99 |
| LawOfDemeter | Call to `getModel` on foreign value `tableResults` (degree 1) | 3 | 100 |
| LawOfDemeter | Call to `getValueAt` on foreign value `tableModel` (degree 2) | 3 | 112 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 116 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 3 | 131 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 134 |
com/jsql/view/swing/action/AltKeyEventDispatcher.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 10 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'wasAltDPressed' | 3 | 12 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'wasAltPressed' | 3 | 13 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'wasAltGraphPressed' | 3 | 14 |
| NPathComplexity | The method 'dispatchKeyEvent(KeyEvent)' has an NPath complexity of 288, current threshold is 200 | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'wasAltPressedAlready' is not assigned and could be declared final | 3 | 62 |
com/jsql/view/swing/action/HotkeyUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 3 | 58 |
| MethodArgumentCouldBeFinal | Parameter 'rootPane' is not assigned and could be declared final | 3 | 81 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 137–142 |
com/jsql/view/swing/console/AbstractColoredConsole.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 19 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 32 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addFocusListener(FocusListener) | 1 | 35–41 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 1 | 42 |
| CyclomaticComplexity | The method 'append(String, SimpleAttributeSet)' has a cyclomatic complexity of 11. | 3 | 52 |
| MethodArgumentCouldBeFinal | Parameter 'message' is not assigned and could be declared final | 3 | 52 |
| MethodArgumentCouldBeFinal | Parameter 'attribut' is not assigned and could be declared final | 3 | 52 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 3 | 54 |
| LawOfDemeter | Call to `getModel` on foreign value `scrollBar` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 3 | 64 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 3 | 65 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 3 | 66 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 3 | 70 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 3 | 71 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 97 |
com/jsql/view/swing/console/JTextPaneAppender.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'layout' is not assigned and could be declared final | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'filter' is not assigned and could be declared final | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'ignoreExceptions' is not assigned and could be declared final | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'ignoreExceptions' is not assigned and could be declared final | 3 | 43 |
| MethodArgumentCouldBeFinal | Parameter 'layout' is not assigned and could be declared final | 3 | 44 |
| MethodArgumentCouldBeFinal | Parameter 'filter' is not assigned and could be declared final | 3 | 45 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 3 | 56 |
| MethodArgumentCouldBeFinal | Parameter 'javaConsole' is not assigned and could be declared final | 3 | 89 |
| MethodArgumentCouldBeFinal | Parameter 'consoleColored' is not assigned and could be declared final | 3 | 96 |
com/jsql/view/swing/console/SimpleConsoleAdapter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'tabName' is not assigned and could be declared final | 3 | 19 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 19 |
com/jsql/view/swing/dialog/DialogAbout.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'buttonClose' | 3 | 46 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.setDefaultCloseOperation(int) | 1 | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Window.setIconImages(List<? extends Image>) | 1 | 55 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getRootPane() | 1 | 58 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.setLayout(LayoutManager) | 1 | 64 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getContentPane() | 1 | 66 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Window.setSize(int, int) (call stack: [DialogAbout.initDialog(), Window.setSize(int, int)]) | 1 | 77 |
| MethodArgumentCouldBeFinal | Parameter 'escapeListener' is not assigned and could be declared final | 3 | 80 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 85 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 109 |
| AssignmentInOperand | Avoid assignment to line in operand | 3 | 116 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 121 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 129 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 3 | 137 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 3 | 138 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 3 | 144 |
com/jsql/view/swing/dialog/DialogTranslate.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 37 |
| DataClass | The class 'DialogTranslate' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=11) | 3 | 37 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.setDefaultCloseOperation(int) | 1 | 59 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Window.setIconImages(List<? extends Image>) | 1 | 60 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getRootPane() | 1 | 63 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JDialog.setLayout(LayoutManager) (call stack: [DialogTranslate.initLastLine(), JDialog.setLayout(LayoutManager)]) | 1 | 69 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JDialog.getContentPane() | 1 | 72 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 162 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 184 |
| LawOfDemeter | Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) | 3 | 192 |
| LawOfDemeter | Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) | 3 | 193 |
| LawOfDemeter | Call to `getCaret` on foreign value `this.textToTranslate` (degree 1) | 3 | 198 |
| MethodArgumentCouldBeFinal | Parameter 'textBeforeChange' is not assigned and could be declared final | 3 | 213 |
com/jsql/view/swing/dialog/ReplaceFileChooser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'currentDirectoryPath' is not assigned and could be declared final | 3 | 26 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 50 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 53 |
com/jsql/view/swing/dialog/translate/Language.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidFieldNameMatchingMethodName | Field isRightToLeft has the same name as a method | 3 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'nameEnglish' is not assigned and could be declared final | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'isNonLatin' is not assigned and could be declared final | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'isRightToLeft' is not assigned and could be declared final | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'nameEnglish' is not assigned and could be declared final | 3 | 48 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 3 | 48 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 3 | 48 |
| MethodArgumentCouldBeFinal | Parameter 'isNonLatin' is not assigned and could be declared final | 3 | 48 |
| MethodArgumentCouldBeFinal | Parameter 'nameEnglish' is not assigned and could be declared final | 3 | 52 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 3 | 52 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 3 | 52 |
com/jsql/view/swing/dialog/translate/SortedProperties.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 6 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 3 | 8 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 21 |
com/jsql/view/swing/dialog/translate/WorkerTranslateInto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidStringBufferField | StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). | 3 | 31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'dialogTranslate' is not assigned and could be declared final | 3 | 40 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 46 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 99 |
com/jsql/view/swing/interaction/AddColumns.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 33 |
com/jsql/view/swing/interaction/AddDatabases.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 33 |
com/jsql/view/swing/interaction/AddTabExploitSql.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 32 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 32 |
com/jsql/view/swing/interaction/AddTabExploitUdfExtensionPostgres.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfH2.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfLibraryPostgres.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfMysql.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfOracle.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfProgramPostgres.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfSqlite.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitUdfWalPostgres.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
com/jsql/view/swing/interaction/AddTabExploitWeb.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 31 |
com/jsql/view/swing/interaction/AddTables.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 33 |
com/jsql/view/swing/interaction/CreateAdminPageTab.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 49 |
| LawOfDemeter | Call to `getSystemClipboard` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 3 | 125 |
| LawOfDemeter | Call to `getCaret` on foreign value `browser` (degree 1) | 3 | 134 |
| LawOfDemeter | Call to `getCaret` on foreign value `browser` (degree 1) | 3 | 135 |
| MethodArgumentCouldBeFinal | Parameter 'evt' is not assigned and could be declared final | 3 | 141 |
| MethodArgumentCouldBeFinal | Parameter 'evt' is not assigned and could be declared final | 3 | 148 |
com/jsql/view/swing/interaction/CreateAnalysisReport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 25 |
com/jsql/view/swing/interaction/CreateFileTab.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 41 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 41 |
com/jsql/view/swing/interaction/CreateValuesTab.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 31 |
com/jsql/view/swing/interaction/EndIndeterminateProgress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 31 |
com/jsql/view/swing/interaction/EndPreparation.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 21 |
com/jsql/view/swing/interaction/EndProgress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 30 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 30 |
com/jsql/view/swing/interaction/GetTerminalResult.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 38 |
com/jsql/view/swing/interaction/MarkBlindBinInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkBlindBinStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkBlindBinVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkBlindBitInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkBlindBitStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkBlindBitVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkDnsInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkDnsStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkDnsVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkErrorInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 27 |
com/jsql/view/swing/interaction/MarkErrorStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 21 |
com/jsql/view/swing/interaction/MarkErrorVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 27 |
com/jsql/view/swing/interaction/MarkFileSystemInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 21 |
com/jsql/view/swing/interaction/MarkFileSystemVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 21 |
com/jsql/view/swing/interaction/MarkMultibitInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkMultibitStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkMultibitVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkStackInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkStackStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkStackVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkTimeInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkTimeStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkTimeVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkUnionInvulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkUnionStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MarkUnionVulnerable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 22 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
com/jsql/view/swing/interaction/MessageBinary.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 29 |
com/jsql/view/swing/interaction/MessageChunk.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 29 |
com/jsql/view/swing/interaction/MessageHeader.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 45 |
| LawOfDemeter | Call to `getModel` on foreign value `table` (degree 1) | 3 | 62 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 76 |
com/jsql/view/swing/interaction/SetVendor.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 28 |
com/jsql/view/swing/interaction/StartIndeterminateProgress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 31 |
com/jsql/view/swing/interaction/StartProgress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 30 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 30 |
com/jsql/view/swing/interaction/UpdateProgress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'interactionParams' is not assigned and could be declared final | 3 | 35 |
com/jsql/view/swing/list/AbstractListTransfertHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 30 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 30 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'dragPaths' | 3 | 37 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 3 | 51 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 3 | 60 |
| MethodArgumentCouldBeFinal | Parameter 'action' is not assigned and could be declared final | 3 | 60 |
| LawOfDemeter | Call to `getModel` on foreign value `list` (degree 1) | 3 | 63 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 74 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 85 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 87 |
| LawOfDemeter | Call to `getComponent` on foreign value `support` (degree 1) | 3 | 90 |
| LawOfDemeter | Call to `getModel` on foreign value `list` (degree 1) | 3 | 91 |
| LawOfDemeter | Call to `getSystemClipboard` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 3 | 100 |
| LawOfDemeter | Call to `isDataFlavorSupported` on foreign value `transferableFromClipboard` (degree 2) | 3 | 102 |
| LawOfDemeter | Call to `isDataFlavorSupported` on foreign value `transferableFromClipboard` (degree 2) | 3 | 104 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 3 | 113 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 3 | 114 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 3 | 118 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 3 | 118 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 3 | 126 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 3 | 126 |
| MethodArgumentCouldBeFinal | Parameter 'transferableFromClipboard' is not assigned and could be declared final | 3 | 126 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 147 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 3 | 154 |
| MethodArgumentCouldBeFinal | Parameter 'transferableFromClipboard' is not assigned and could be declared final | 3 | 154 |
com/jsql/view/swing/list/BeanInjection.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| DataClass | The class 'BeanInjection' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=6, WMC=12) | 3 | 11 |
| ImmutableField | Field 'requestType' may be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 21 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 23 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'nameMethod' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'requestType' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `filter` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream()` (degree 2) | 3 | 34–35 |
| LawOfDemeter | Call to `findAny` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream().filter(m -> m.name().equalsIgnoreCase(nameMethod))` (degree 2) | 3 | 34–36 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
| LawOfDemeter | Call to `getMethods` on foreign value `MediatorHelper.model().getMediatorMethod()` (degree 2) | 3 | 34 |
| LawOfDemeter | Call to `orElse` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream().filter(m -> m.name().equalsIgnoreCase(nameMethod)).findAny()` (degree 2) | 3 | 34–37 |
| LawOfDemeter | Call to `stream` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods()` (degree 2) | 3 | 34 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 37 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 39 |
| LawOfDemeter | Call to `filter` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream()` (degree 2) | 3 | 43–44 |
| LawOfDemeter | Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(v -> v.toString().equals(vendor))` (degree 2) | 3 | 43–45 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 43 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 3 | 43 |
| LawOfDemeter | Call to `orElse` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(v -> v.toString().equals(vendor)).findAny()` (degree 2) | 3 | 43–46 |
| LawOfDemeter | Call to `stream` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors()` (degree 2) | 3 | 43 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 46 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 48 |
com/jsql/view/swing/list/DnDList.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'newList' is not assigned and could be declared final | 3 | 51 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JList<E>.setModel(ListModel<E>) (call stack: [JList<E>.setModel(ListModel<E>)]) | 1 | 59 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Component.addMouseListener(MouseListener) (call stack: [DnDList.initListener(), Component.addMouseListener(MouseListener)]) | 1 | 61 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JList<E>.setDragEnabled(boolean) (call stack: [JList<E>.setDragEnabled(boolean)]) | 1 | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setTransferHandler(TransferHandler) | 1 | 64 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 81 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 93 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 3 | 159 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'position' is not assigned and could be declared final | 3 | 168 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 170 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 191 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 223 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 3 | 239 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 239 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 245 |
| MethodArgumentCouldBeFinal | Parameter 'file' is not assigned and could be declared final | 3 | 245 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 249 |
| AssignmentInOperand | Avoid assignment to line in operand | 3 | 253 |
| AssignmentInOperand | Avoid assignment to endPosition in operand | 3 | 260 |
| MethodArgumentCouldBeFinal | Parameter 'endPosition' is not assigned and could be declared final | 3 | 277 |
| MethodArgumentCouldBeFinal | Parameter 'line' is not assigned and could be declared final | 3 | 277 |
com/jsql/view/swing/list/DnDListScan.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'newList' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'endPosition' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'line' is not assigned and could be declared final | 3 | 25 |
com/jsql/view/swing/list/ItemList.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isVulnerable' | 3 | 23 |
| AvoidFieldNameMatchingMethodName | Field isVulnerable has the same name as a method | 3 | 23 |
| MethodArgumentCouldBeFinal | Parameter 'newString' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'internalString' is not assigned and could be declared final | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'vulnerable' is not assigned and could be declared final | 3 | 61 |
com/jsql/view/swing/list/ItemListScan.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'newString' is not assigned and could be declared final | 3 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'json' is not assigned and could be declared final | 3 | 27 |
com/jsql/view/swing/list/ListTransfertHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 28 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 28 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 3 | 42 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 3 | 43 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 63 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 3 | 63 |
| MethodArgumentCouldBeFinal | Parameter 'childIndexFrom' is not assigned and could be declared final | 3 | 63 |
| MethodArgumentCouldBeFinal | Parameter 'listSelectedIndices' is not assigned and could be declared final | 3 | 63 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 3 | 66 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 3 | 66 |
| AssignmentInOperand | Avoid assignment to childIndexTo in operand | 3 | 70 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 70 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 3 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'childIndexFrom' is not assigned and could be declared final | 3 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'listSelectedIndices' is not assigned and could be declared final | 3 | 78 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 82 |
| AssignmentInOperand | Avoid assignment to childIndexTo in operand | 3 | 84 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 3 | 90 |
| MethodArgumentCouldBeFinal | Parameter 'selectedIndexFrom' is not assigned and could be declared final | 3 | 90 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 3 | 90 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 96 |
| AssignmentInOperand | Avoid assignment to selectedIndexTo in operand | 3 | 98 |
com/jsql/view/swing/list/ListTransfertHandlerScan.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 31 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'selectedIndexFrom' is not assigned and could be declared final | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 3 | 36 |
| AssignmentInOperand | Avoid assignment to selectedIndexTo in operand | 3 | 41 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 63 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 3 | 63 |
| MethodArgumentCouldBeFinal | Parameter 'listModel' is not assigned and could be declared final | 3 | 63 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 3 | 64 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 73 |
| AssignmentInOperand | Avoid assignment to indexDropLocation in operand | 3 | 75 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 3 | 80 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 3 | 80 |
| AssignmentInOperand | Avoid assignment to indexDropLocation in operand | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 3 | 99 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 3 | 109 |
| MethodArgumentCouldBeFinal | Parameter 'itemsParsed' is not assigned and could be declared final | 3 | 109 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 112 |
| MethodArgumentCouldBeFinal | Parameter 'clipboardText' is not assigned and could be declared final | 3 | 117 |
| MethodArgumentCouldBeFinal | Parameter 'itemsParsed' is not assigned and could be declared final | 3 | 117 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 123 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 124 |
com/jsql/view/swing/list/MenuActionExport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'myList' is not assigned and could be declared final | 3 | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 49 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 64 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 67 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 87 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 3 | 90 |
| LawOfDemeter | Call to `getElementAt` on foreign value `this.myList.getModel()` (degree 2) | 3 | 92 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 3 | 92 |
com/jsql/view/swing/list/MenuActionNewValue.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'myList' is not assigned and could be declared final | 3 | 46 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 64 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 89 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 3 | 116 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 3 | 121 |
| AssignmentInOperand | Avoid assignment to lastIndex in operand | 3 | 122 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 123 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 3 | 130 |
| LawOfDemeter | Call to `getModel` on foreign value `this.myList` (degree 1) | 3 | 135 |
| AssignmentInOperand | Avoid assignment to lastIndex in operand | 3 | 135 |
com/jsql/view/swing/list/MouseAdapterMenuAction.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'dndList' is not assigned and could be declared final | 3 | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 121 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 133 |
| LawOfDemeter | Call to `getModel` on foreign value `this.dndList` (degree 1) | 3 | 176 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 199 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 217 |
com/jsql/view/swing/manager/AbstractManagerList.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'nameFile' is not assigned and could be declared final | 3 | 79 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 80 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildList(String) | 1 | 82 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 89 |
| MethodArgumentCouldBeFinal | Parameter 'labelI18n' is not assigned and could be declared final | 3 | 92 |
| MethodArgumentCouldBeFinal | Parameter 'tooltipI18n' is not assigned and could be declared final | 3 | 92 |
| MethodArgumentCouldBeFinal | Parameter 'nameFile' is not assigned and could be declared final | 3 | 107 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 109 |
| AssignmentInOperand | Avoid assignment to line in operand | 3 | 114 |
| MethodArgumentCouldBeFinal | Parameter 'element' is not assigned and could be declared final | 3 | 146 |
| LawOfDemeter | Call to `getModel` on foreign value `this.listPaths` (degree 1) | 3 | 149 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 160 |
| MethodArgumentCouldBeFinal | Parameter 'tag' is not assigned and could be declared final | 3 | 160 |
| LawOfDemeter | Call to `getModel` on foreign value `this.listPaths` (degree 1) | 3 | 162 |
| MethodArgumentCouldBeFinal | Parameter 'isEnable' is not assigned and could be declared final | 3 | 189 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 3 | 197 |
com/jsql/view/swing/manager/ManagerAdminPage.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 29 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildRunButton(String, String) | 1 | 39 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 47 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 53 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 58–64 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 68 |
| MethodArgumentCouldBeFinal | Parameter 'urlAddressBar' is not assigned and could be declared final | 3 | 71 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 81 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 88 |
com/jsql/view/swing/manager/ManagerBruteForce.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 35 |
| DataClass | The class 'ManagerBruteForce' is suspected to be a Data Class (WOC=8.333%, NOPA=3, NOAM=11, WMC=18) | 3 | 35 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 68 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 75 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'isVisible' is not assigned and could be declared final | 3 | 110 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 3 | 210 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 210 |
| UseUnderscoresInNumericLiterals | Number 10000 should separate every third digit with an underscore | 3 | 214 |
com/jsql/view/swing/manager/ManagerCoder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 37 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ChangeMenuListener(String)' | 3 | 59 |
| MethodArgumentCouldBeFinal | Parameter 'nameMethod' is not assigned and could be declared final | 3 | 59 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 63 |
| LawOfDemeter | Call to `getCaret` on foreign value `this.textInput` (degree 1) | 3 | 82 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.textInput` (degree 1) | 3 | 85 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 108 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 120 |
| AvoidDuplicateLiterals | The String literal "Hash" appears 5 times in this file; the first occurrence is on line 156 | 3 | 156 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 179 |
com/jsql/view/swing/manager/ManagerDatabase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `this.tree` (degree 1) | 3 | 66 |
| LawOfDemeter | Call to `getModel` on foreign value `this.tree` (degree 1) | 3 | 67 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 69 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 75 |
| LawOfDemeter | Call to `getLastSelectedPathComponent` on foreign value `ManagerDatabase.this.tree` (degree 1) | 3 | 77 |
| LawOfDemeter | Call to `getUserObject` on foreign value `treeNode` (degree 1) | 3 | 79 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 80–82 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 3 | 92 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 111 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 111 |
| MethodArgumentCouldBeFinal | Parameter 'treeModelEvent' is not assigned and could be declared final | 3 | 113 |
com/jsql/view/swing/manager/ManagerExploit.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 46 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildRunButton(String, String) | 1 | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildPrivilege() | 1 | 95 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 101 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 192 |
| MethodArgumentCouldBeFinal | Parameter 'comboBoxExploitTypes' is not assigned and could be declared final | 3 | 232 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.comboBoxExploitTypes` (degree 1) | 3 | 238 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 241 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 242 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 247 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 252 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 259 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 263 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 268 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 277 |
| MethodArgumentCouldBeFinal | Parameter 'labelSelectItem' is not assigned and could be declared final | 3 | 290 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 290 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 295 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 304–310 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 309 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 317 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 323 |
| MethodArgumentCouldBeFinal | Parameter 'urlShellFinal' is not assigned and could be declared final | 3 | 323 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 323 |
| MethodArgumentCouldBeFinal | Parameter 'labelSelectItem' is not assigned and could be declared final | 3 | 332 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 335 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 336 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 337 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 338 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 339 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 341 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 342 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 343 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 344 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 345 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 346 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 347 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 349 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 350 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 351 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 355 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 359 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 364 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 3 | 364 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 364 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 380 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 3 | 393 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 3 | 393 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 3 | 393 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 394 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 394 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 395 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 396 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 396 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 397 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 398 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 398 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 399 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 400 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 400 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 401 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 405 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 3 | 405 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 3 | 405 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 3 | 405 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 3 | 405 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 406 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 406 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 407 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 408 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 408 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 409 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 410 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 410 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 411 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 412 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 412 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 413 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 414 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 414 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 415 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 416 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 416 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 417 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 421 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 3 | 421 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 3 | 421 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 3 | 421 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 3 | 421 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 424 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 424 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 425 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 426 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 426 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 427 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 431 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 3 | 431 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 431 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 3 | 431 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 3 | 431 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMethod' is not assigned and could be declared final | 3 | 431 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 432 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 432 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 433 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 434 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 434 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 435 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 436 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 436 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 437 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 438 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 438 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 439 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 440 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 440 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 441 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 442 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 442 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 443 |
com/jsql/view/swing/manager/ManagerFile.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 32 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildRunButton(String, String) | 1 | 41 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractManagerList.buildPrivilege() | 1 | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 45 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 48 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 48 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 53 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 56 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 57 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 59 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 60 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 61 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 62 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 66 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 73 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 81 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 84 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 85 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 90 |
com/jsql/view/swing/manager/ManagerScan.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 3 | 61 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 61 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 3 | 61 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 3 | 61 |
| MethodArgumentCouldBeFinal | Parameter 'cellHasFocus' is not assigned and could be declared final | 3 | 61 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: AbstractManagerList.buildRunButton(String, String) (call stack: [ManagerScan.getLastLinePanel(), AbstractManagerList.buildRunButton(String, String)]) | 1 | 73 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 74 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `(ItemListScan) this.listPaths.getSelectedValue()` (degree 1) | 3 | 81 |
| LawOfDemeter | Call to `getSelectedValue` on foreign value `this.listPaths` (degree 1) | 3 | 81 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 94 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 94 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 96 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 96 |
| MethodArgumentCouldBeFinal | Parameter 'nameFile' is not assigned and could be declared final | 3 | 105 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 108 |
| AssignmentInOperand | Avoid assignment to line in operand | 3 | 113 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 140 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 140 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 147 |
| LawOfDemeter | Call to `getModel` on foreign value `ManagerScan.this.listPaths` (degree 1) | 3 | 153 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'urlsItemList' is not assigned and could be declared final | 3 | 176 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 181 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 184 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 194 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 199 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 3 | 205 |
| LawOfDemeter | Call to `filter` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream()` (degree 2) | 3 | 207–209 |
| LawOfDemeter | Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(vendor -> vendor.toString().equalsIgnoreCase(urlItemListScan.getBeanInjection().getVendor()))` (degree 2) | 3 | 207–210 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 207 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 3 | 207 |
| LawOfDemeter | Call to `stream` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors()` (degree 2) | 3 | 207–208 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 3 | 209 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 212 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 213 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 215 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 3 | 216 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 3 | 217 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 3 | 218 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 3 | 219 |
| LawOfDemeter | Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) | 3 | 220 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 225 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 228 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 238 |
com/jsql/view/swing/manager/util/ActionBruteForce.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStopped' | 3 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'bruteForceManager' is not assigned and could be declared final | 3 | 40 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 52 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 55 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 60 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMaximumLength()` (degree 1) | 3 | 65 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMinimumLength()` (degree 1) | 3 | 66 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 88 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 94 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 97 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMinimumLength()` (degree 1) | 3 | 153 |
| LawOfDemeter | Call to `getValue` on foreign value `this.bruteForceManager.getMaximumLength()` (degree 1) | 3 | 154 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.bruteForceManager.getHashTypes()` (degree 1) | 3 | 172 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 205 |
| LawOfDemeter | Call to `getDocument` on foreign value `textPane` (degree 1) | 3 | 208 |
| LawOfDemeter | Call to `getDocument` on foreign value `textPane` (degree 1) | 3 | 209 |
| LawOfDemeter | Call to `getDocument` on foreign value `textPane` (degree 1) | 3 | 210 |
com/jsql/view/swing/manager/util/CoderListener.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'coderManager' is not assigned and could be declared final | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'nameMethod' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'actionEvent' is not assigned and could be declared final | 3 | 47 |
| MethodArgumentCouldBeFinal | Parameter 'labelMethodMenu' is not assigned and could be declared final | 3 | 52 |
| ExceptionAsFlowControl | Exception thrown at line 62 is caught in this block. | 3 | 66–73 |
com/jsql/view/swing/manager/util/ComboBoxMethodRenderer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 9 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 9 |
| MissingOverride | The method 'getListCellRendererComponent(JList<?>, Object, int, boolean, boolean)' is missing an @Override annotation. | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'list' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 3 | 13 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 16 |
com/jsql/view/swing/manager/util/ComboBoxTypeRenderer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 8 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 8 |
| MissingOverride | The method 'getListCellRendererComponent(JList<?>, Object, int, boolean, boolean)' is missing an @Override annotation. | 3 | 9 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 10 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 3 | 10 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 13 |
com/jsql/view/swing/manager/util/JButtonStateful.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 7 |
| MethodArgumentCouldBeFinal | Parameter 'keyI18nRunButton' is not assigned and could be declared final | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'state' is not assigned and could be declared final | 3 | 29 |
com/jsql/view/swing/manager/util/ModelBrute.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'checkbox' is not assigned and could be declared final | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'i18nTooltip' is not assigned and could be declared final | 3 | 11 |
com/jsql/view/swing/manager/util/ModelExploit.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| DataClass | The class 'ModelExploit' is suspected to be a Data Class (WOC=0.000%, NOPA=4, NOAM=0, WMC=2) | 3 | 6 |
| MethodArgumentCouldBeFinal | Parameter 'textfield' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'labelI18n' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'tooltipI18n' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'isPassword' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'textfield' is not assigned and could be declared final | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'labelI18n' is not assigned and could be declared final | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'tooltipI18n' is not assigned and could be declared final | 3 | 18 |
com/jsql/view/swing/manager/util/ModelItemType.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 3 | 7 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 3 | 7 |
com/jsql/view/swing/manager/util/ModelSpinner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'spinner' is not assigned and could be declared final | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 3 | 11 |
com/jsql/view/swing/manager/util/SeparatorListener.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'comboBox' is not assigned and could be declared final | 3 | 11 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `comboBox` (degree 1) | 3 | 14 |
| MissingOverride | The method 'actionPerformed(ActionEvent)' is missing an @Override annotation. | 3 | 17 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.comboBox` (degree 1) | 3 | 18 |
| LawOfDemeter | Call to `getSelectedItem` on foreign value `this.comboBox` (degree 1) | 3 | 21 |
com/jsql/view/swing/menubar/ActionCheckUpdate.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 9 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 13 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 18 |
com/jsql/view/swing/menubar/ActionTranslate.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ActionTranslate(DialogTranslate, Language)' | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'dialogTranslate' is not assigned and could be declared final | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'language' is not assigned and could be declared final | 3 | 14 |
com/jsql/view/swing/menubar/AppMenubar.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 11–415 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 55 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 55–415 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 1 | 75 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 1 | 76 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 1 | 77 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 1 | 79 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenuBar.add(JMenu) | 1 | 80 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 211 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 232 |
| MethodArgumentCouldBeFinal | Parameter 'nameTheme' is not assigned and could be declared final | 3 | 270 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 297 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 3 | 300 |
| MethodArgumentCouldBeFinal | Parameter 'oldLocale' is not assigned and could be declared final | 3 | 304 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 3 | 304 |
| MethodArgumentCouldBeFinal | Parameter 'isStartup' is not assigned and could be declared final | 3 | 304 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 306 |
| MethodArgumentCouldBeFinal | Parameter 'oldLocale' is not assigned and could be declared final | 3 | 309 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 3 | 309 |
| MethodArgumentCouldBeFinal | Parameter 'isStartup' is not assigned and could be declared final | 3 | 309 |
| LawOfDemeter | Access to field `buttonStart` on foreign value `MediatorHelper.panelAddressBar().getPanelTrailingAddress()` (degree 1) | 3 | 331 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 344 |
| MethodArgumentCouldBeFinal | Parameter 'oldLocale' is not assigned and could be declared final | 3 | 349 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 3 | 349 |
| UnusedFormalParameter | Avoid unused method parameters such as 'isStartup'. | 3 | 349 |
| LawOfDemeter | Access to field `networkSplitPane` on foreign value `MediatorHelper.panelConsoles()` (degree 1) | 3 | 370 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `header` (degree 1) | 3 | 397 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 3 | 398 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 3 | 399 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 3 | 400 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 3 | 401 |
com/jsql/view/swing/menubar/MenuWindows.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'appMenubar' is not assigned and could be declared final | 3 | 42 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 1 | 46 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setMnemonic(char) | 1 | 48 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 53 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 86 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 91 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 92 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(Component) | 1 | 94 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 95 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(Component) | 1 | 96 |
| LawOfDemeter | Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) | 3 | 117 |
| UselessPureMethodCall | Do not call pure method getAndIncrement if the result is not used. | 3 | 121 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 124 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 163 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 181 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(Component) | 1 | 182 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 183 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JMenu.add(JMenuItem) | 1 | 184 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 278 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 299 |
com/jsql/view/swing/menubar/ModelCheckboxMenu.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'keyPref' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'runnableInsertTab' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'keyPref' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'runnableInsertTab' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'isChecked' is not assigned and could be declared final | 3 | 20 |
com/jsql/view/swing/menubar/ModelItemTranslate.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'language' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'menuItem' is not assigned and could be declared final | 3 | 20 |
com/jsql/view/swing/panel/PanelAddressBar.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 47 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 63 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isAdvanceActivated' | 3 | 68 |
| AvoidFieldNameMatchingMethodName | Field isAdvanceActivated has the same name as a method | 3 | 68 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 76 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 84 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 92 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 109 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 133 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 137 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Container.setLayout(LayoutManager) (call stack: [PanelAddressBar.initLayout(), Container.setLayout(LayoutManager)]) | 1 | 161 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 180 |
| LawOfDemeter | Call to `getDocument` on foreign value `inputCustomMethod` (degree 1) | 3 | 225 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 241 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 247 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 264 |
| MethodArgumentCouldBeFinal | Parameter 'inputCustomMethod' is not assigned and could be declared final | 3 | 345 |
| LawOfDemeter | Call to `getIcon` on foreign value `advancedButton` (degree 1) | 3 | 370 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 370 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) | 3 | 370 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.ARROW_UP` (degree 1) | 3 | 378 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) | 3 | 378 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 3 | 387 |
com/jsql/view/swing/panel/PanelConsoles.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 45 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 45–346 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'dividerLocation' | 3 | 79 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 85 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: PanelConsoles.insertJavaTab() (call stack: [PanelConsoles.initTabsConsoles(), PanelConsoles.insertJavaTab()]) | 1 | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 1 | 97 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 155 |
| LawOfDemeter | Call to `getModel` on foreign value `this.networkTable` (degree 1) | 3 | 209 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 210 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 234 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 248 |
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 3 | 271 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 3 | 271 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 3 | 271 |
| MethodArgumentCouldBeFinal | Parameter 'manager' is not assigned and could be declared final | 3 | 271 |
| MethodArgumentCouldBeFinal | Parameter 'position' is not assigned and could be declared final | 3 | 271 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 304 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.chunkTextArea` (degree 1) | 3 | 307 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 308 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 315 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.binaryTextArea` (degree 1) | 3 | 318 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 319 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 3 | 331 |
com/jsql/view/swing/panel/PanelPreferences.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 15 |
| DataClass | The class 'PanelPreferences' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=9, WMC=13) | 3 | 15 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 46 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setBorder(Border) | 1 | 47 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, Object) | 1 | 64 |
| MethodArgumentCouldBeFinal | Parameter 'cards' is not assigned and could be declared final | 3 | 69 |
| LawOfDemeter | Call to `getLayout` on foreign value `cards` (degree 1) | 3 | 76 |
| MethodArgumentCouldBeFinal | Parameter 'cards' is not assigned and could be declared final | 3 | 82 |
| MethodArgumentCouldBeFinal | Parameter 'panel' is not assigned and could be declared final | 3 | 82 |
| MethodArgumentCouldBeFinal | Parameter 'category' is not assigned and could be declared final | 3 | 82 |
com/jsql/view/swing/panel/address/ActionEnterAddressBar.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panelAddressBar' is not assigned and could be declared final | 3 | 10 |
com/jsql/view/swing/panel/address/ActionStart.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panelAddressBar' is not assigned and could be declared final | 3 | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 60 |
com/jsql/view/swing/panel/address/ButtonStart.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 26 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 1 | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setToolTipText(String) | 1 | 55 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setPreferredSize(Dimension) | 1 | 58 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 1 | 59 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setContentAreaFilled(boolean) | 1 | 60 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setBorderPainted(boolean) | 1 | 61 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setRolloverEnabled(boolean) | 1 | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: ButtonStart.setIcons() | 1 | 63 |
com/jsql/view/swing/panel/address/ModelAddressLine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| DataClass | The class 'ModelAddressLine' is suspected to be a Data Class (WOC=0.000%, NOPA=6, NOAM=0, WMC=1) | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'method' is not assigned and could be declared final | 3 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'i18n' is not assigned and could be declared final | 3 | 23 |
| MethodArgumentCouldBeFinal | Parameter 'radio' is not assigned and could be declared final | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'textfield' is not assigned and could be declared final | 3 | 26 |
com/jsql/view/swing/panel/address/PanelTrailingAddress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 26 |
| MethodArgumentCouldBeFinal | Parameter 'panelAddressBar' is not assigned and could be declared final | 3 | 51 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 1 | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setBorder(Border) | 1 | 54 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `getStrategies` on foreign value `MediatorHelper.model().getMediatorStrategy()` (degree 2) | 3 | 58 |
| LawOfDemeter | Call to `getName` on foreign value `strategy` (degree 2) | 3 | 59 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 61 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 61 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 62 |
| LawOfDemeter | Call to `toString` on foreign value `strategy` (degree 2) | 3 | 62 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 66–68 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 66–68 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 69–79 |
| LawOfDemeter | Call to `toString` on foreign value `strategy` (degree 2) | 3 | 69 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 72–76 |
| LawOfDemeter | Call to `toString` on foreign value `strategy` (degree 2) | 3 | 86 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 87 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 99 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 101 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 3 | 101 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 103 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 3 | 103 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 104 |
| LawOfDemeter | Call to `toString` on foreign value `vendor` (degree 2) | 3 | 104 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 104 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 104 |
| LawOfDemeter | Call to `toString` on foreign value `vendor` (degree 2) | 3 | 107 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 108 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 1 | 118 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 122 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 133 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 1 | 144 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 1 | 145 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 1 | 146 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 1 | 147 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 159 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 159 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 159 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 160 |
| MethodArgumentCouldBeFinal | Parameter 'vendor' is not assigned and could be declared final | 3 | 173 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 178 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 178 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `vendor.instance()` (degree 1) | 3 | 179 |
| LawOfDemeter | Call to `getStrategy` on foreign value `vendor.instance().getModelYaml()` (degree 2) | 3 | 179 |
| LawOfDemeter | Call to `getError` on foreign value `vendor.instance().getModelYaml().getStrategy()` (degree 2) | 3 | 181 |
| LawOfDemeter | Call to `getMethod` on foreign value `vendor.instance().getModelYaml().getStrategy().getError()` (degree 2) | 3 | 181 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `vendor.instance()` (degree 1) | 3 | 181 |
| LawOfDemeter | Call to `getStrategy` on foreign value `vendor.instance().getModelYaml()` (degree 2) | 3 | 181 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 182 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 190 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 190 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 191 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 3 | 198 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 3 | 206 |
| MethodArgumentCouldBeFinal | Parameter 'indexMethodError' is not assigned and could be declared final | 3 | 213 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 214 |
| UnusedAssignment | The initializer for variable 'isNotNull' is never used (overwritten on line 225) | 3 | 220 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 236 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 239 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 251 |
| MethodArgumentCouldBeFinal | Parameter 'indexMethodError' is not assigned and could be declared final | 3 | 259 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 260 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 3 | 277 |
com/jsql/view/swing/panel/consoles/CenterRenderer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JLabel.setHorizontalAlignment(int) | 1 | 8 |
com/jsql/view/swing/panel/consoles/CenterRendererWithIcon.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 10 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 10 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 13 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.TICK_GREEN` (degree 1) | 3 | 31 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.CROSS_RED` (degree 1) | 3 | 31 |
com/jsql/view/swing/panel/consoles/NetworkTable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'tabbedPaneNetworkTab' is not assigned and could be declared final | 3 | 28 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 1 | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setComponentPopupMenu(JPopupMenu) | 1 | 32 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setRowSelectionAllowed(boolean) | 1 | 33 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setSelectionMode(int) | 1 | 34 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setRowHeight(int) | 1 | 35 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getTableHeader() | 1 | 36 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 1 | 38–60 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 40 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `NetworkTable.this.getColumnModel()` (degree 1) | 3 | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.setModel(TableModel) | 1 | 62–77 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 3 | 74 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 79 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 82 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 83 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 84 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.getFocusTraversalKeys(int) | 1 | 89 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>) | 1 | 91 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.getFocusTraversalKeys(int) | 1 | 93 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>) | 1 | 95 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 97 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 98 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 99 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getColumnModel() | 1 | 100 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTable.getSelectionModel() | 1 | 102 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 109 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 3 | 128 |
com/jsql/view/swing/panel/consoles/TabbedPaneNetworkTab.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 1–214 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 50 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 1 | 53 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 75 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: TabbedPaneNetworkTab.applyTheme() | 1 | 100 |
| LawOfDemeter | Call to `getCaret` on foreign value `this.textPanePreview` (degree 1) | 3 | 105 |
| LawOfDemeter | Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) | 3 | 109 |
| LawOfDemeter | Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) | 3 | 110 |
| MethodArgumentCouldBeFinal | Parameter 'networkData' is not assigned and could be declared final | 3 | 115 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 129 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'textArea' is not assigned and could be declared final | 3 | 164 |
| MethodArgumentCouldBeFinal | Parameter 'httpData' is not assigned and could be declared final | 3 | 164 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 3 | 174 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 174 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 177 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 3 | 193 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 193 |
com/jsql/view/swing/panel/consoles/TooltipCellRenderer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 9 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 9 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 3 | 15 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 18 |
com/jsql/view/swing/panel/preferences/PanelAuthentication.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 13 |
| DataClass | The class 'PanelAuthentication' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) | 3 | 13 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 18 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 26 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 103 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 119 |
com/jsql/view/swing/panel/preferences/PanelConnection.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 15 |
| DataClass | The class 'PanelConnection' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=12, WMC=17) | 3 | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 18 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 22 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 23 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 24 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 25 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 32 |
| NcssCount | The constructor 'PanelConnection(PanelPreferences)' has a NCSS line count of 74. | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 73 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 3 | 82 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 82 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 90 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 3 | 99 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 99 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.textfieldCustomCsrfInputToken` (degree 1) | 3 | 118 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 121 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.textfieldCustomCsrfOutputToken` (degree 1) | 3 | 124 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 127 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 136 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 176 |
com/jsql/view/swing/panel/preferences/PanelExploit.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 26 |
| LawOfDemeter | Call to `getDocument` on foreign value `PanelExploit.TEXTAREA_REVSHELLS` (degree 1) | 3 | 28 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 36 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 60 |
com/jsql/view/swing/panel/preferences/PanelGeneral.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 10 |
| DataClass | The class 'PanelGeneral' is suspected to be a Data Class (WOC=0.000%, NOPA=1, NOAM=3, WMC=4) | 3 | 10 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 14 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 18 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 33 |
com/jsql/view/swing/panel/preferences/PanelInjection.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 16 |
| DataClass | The class 'PanelInjection' is suspected to be a Data Class (WOC=4.167%, NOPA=0, NOAM=23, WMC=27) | 3 | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 18 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 23 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 24 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 25 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 26 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 27 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 28 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 29 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 32 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 37 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 39 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 40 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 42 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 44 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 45 |
| NcssCount | The constructor 'PanelInjection(PanelPreferences)' has a NCSS line count of 97. | 3 | 47 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 47 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 92 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 3 | 101 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 101 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 111 |
| LawOfDemeter | Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) | 3 | 120 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 120 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 145 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 157 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 205 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 228 |
com/jsql/view/swing/panel/preferences/PanelProxy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 14 |
| DataClass | The class 'PanelProxy' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) | 3 | 14 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 19 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 20 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 21 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 24 |
| LawOfDemeter | Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) | 3 | 63 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 87 |
com/jsql/view/swing/panel/preferences/PanelStrategies.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 9 |
| DataClass | The class 'PanelStrategies' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) | 3 | 9 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 11 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 12 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 13 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 14 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 16 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 20 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 46 |
com/jsql/view/swing/panel/preferences/PanelTampering.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 21 |
| DataClass | The class 'PanelTampering' is suspected to be a Data Class (WOC=7.143%, NOPA=0, NOAM=13, WMC=15) | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 40 |
| LawOfDemeter | Call to `getDocument` on foreign value `PanelTampering.TEXT_PANE_EVAL` (degree 1) | 3 | 50 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 53 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 56 |
| MethodArgumentCouldBeFinal | Parameter 'buttonModel' is not assigned and could be declared final | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'b' is not assigned and could be declared final | 3 | 83 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 85–89 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 102 |
com/jsql/view/swing/panel/preferences/PanelUserAgent.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 13 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 15 |
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 17 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 19 |
| UseUnderscoresInNumericLiterals | Number 40000 should separate every third digit with an underscore | 3 | 24 |
| LawOfDemeter | Call to `getCaret` on foreign value `textfieldCustomUserAgent` (degree 1) | 3 | 25 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 27 |
| LawOfDemeter | Call to `getDocument` on foreign value `textfieldCustomUserAgent` (degree 1) | 3 | 28 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 43 |
com/jsql/view/swing/panel/preferences/listener/ActionListenerSave.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panelPreferences' is not assigned and could be declared final | 3 | 15 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 21 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelConnection().getSpinnerLimitingThreads()` (degree 1) | 3 | 35 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelConnection().getSpinnerConnectionTimeout()` (degree 1) | 3 | 37 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelInjection().getSpinnerUnionIndexCount()` (degree 1) | 3 | 47 |
| LawOfDemeter | Call to `getValue` on foreign value `this.panelPreferences.getPanelInjection().getSpinnerSleepTimeStrategy()` (degree 1) | 3 | 63 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 90 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 99 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 114 |
com/jsql/view/swing/panel/preferences/listener/SpinnerMouseWheelListener.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 7 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 9 |
| LawOfDemeter | Call to `getModel` on foreign value `source` (degree 1) | 3 | 11 |
| LawOfDemeter | Call to `getValue` on foreign value `source` (degree 1) | 3 | 12 |
| LawOfDemeter | Call to `getMaximum` on foreign value `model` (degree 1) | 3 | 14 |
| LawOfDemeter | Call to `getMinimum` on foreign value `model` (degree 1) | 3 | 15 |
com/jsql/view/swing/panel/preferences/listener/TamperingMouseAdapter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'eval' | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'tampering' is not assigned and could be declared final | 3 | 15 |
| MethodArgumentCouldBeFinal | Parameter 'textPaneEval' is not assigned and could be declared final | 3 | 15 |
com/jsql/view/swing/panel/split/ActionHideShowConsole.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'panel' is not assigned and could be declared final | 3 | 22 |
com/jsql/view/swing/panel/split/ActionHideShowResult.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 12 |
com/jsql/view/swing/panel/split/SplitNS.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 32 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 80 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setTopComponent(Component) | 1 | 90 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setBottomComponent(Component) | 1 | 94 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setResizeWeight(double) | 1 | 96 |
com/jsql/view/swing/panel/util/ButtonExpandText.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'sourceTextField' is not assigned and could be declared final | 3 | 29 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setPreferredSize(Dimension) | 1 | 30 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setContentAreaFilled(boolean) | 1 | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setIcon(Icon) | 1 | 33 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setRolloverIcon(Icon) | 1 | 34 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setPressedIcon(Icon) | 1 | 35 |
| LawOfDemeter | Call to `getCaret` on foreign value `textAreaInDialog` (degree 1) | 3 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 53 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 1 | 59–67 |
| MissingOverride | The method 'actionPerformed(ActionEvent)' is missing an @Override annotation. | 3 | 76 |
com/jsql/view/swing/panel/util/HTMLEditorKitTextPaneWrap.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 11 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 17 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 22 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 30 |
| MethodArgumentCouldBeFinal | Parameter 'axis' is not assigned and could be declared final | 3 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'sizeRequirements' is not assigned and could be declared final | 3 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 56 |
| MethodArgumentCouldBeFinal | Parameter 'axis' is not assigned and could be declared final | 3 | 65 |
| MethodArgumentCouldBeFinal | Parameter 'p0' is not assigned and could be declared final | 3 | 65 |
| MethodArgumentCouldBeFinal | Parameter 'pos' is not assigned and could be declared final | 3 | 65 |
| MethodArgumentCouldBeFinal | Parameter 'len' is not assigned and could be declared final | 3 | 65 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 73 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 76 |
com/jsql/view/swing/popupmenu/JPopupMenuComponent.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 3 | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.setLightWeightPopupEnabled(boolean) | 1 | 59 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 1 | 61 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 1 | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 1 | 63 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 1 | 82 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 1 | 83 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addPopupMenuListener(PopupMenuListener) | 1 | 86 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 89 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 89 |
| LawOfDemeter | Call to `getLocation` on foreign value `MouseInfo.getPointerInfo()` (degree 1) | 3 | 97 |
| LawOfDemeter | Call to `getLocation` on foreign value `MouseInfo.getPointerInfo()` (degree 1) | 3 | 98 |
| LawOfDemeter | Call to `getLocation` on foreign value `MouseInfo.getPointerInfo()` (degree 1) | 3 | 99 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 3 | 101 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 101 |
com/jsql/view/swing/popupmenu/JPopupMenuTable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 38 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 1 | 54 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 1 | 55 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 1 | 56 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addPopupMenuListener(PopupMenuListener) | 1 | 59–75 |
| MethodArgumentCouldBeFinal | Parameter 'tableValues' is not assigned and could be declared final | 3 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'actionShowSearchTable' is not assigned and could be declared final | 3 | 78 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.addSeparator() | 1 | 86 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JPopupMenu.add(JMenuItem) | 1 | 87 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 93 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 93 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 93 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 103 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 103 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 103 |
com/jsql/view/swing/popupmenu/JPopupMenuText.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 3 | 28 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, int) | 1 | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component, int) | 1 | 45 |
com/jsql/view/swing/sql/JSyntaxTextArea.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 8 |
| MethodArgumentCouldBeFinal | Parameter 'consumer' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'supplier' is not assigned and could be declared final | 3 | 13 |
com/jsql/view/swing/sql/SqlEngine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 29 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 31 |
| CommentDefaultAccessModifier | Missing commented default access modifier on nested enum 'TextareaWithColor' | 3 | 35 |
| ExcessivePublicCount | This class has a bunch of public methods and attributes | 3 | 35 |
| CommentDefaultAccessModifier | Missing commented default access modifier on field 'textarea' | 3 | 241 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 3 | 247 |
| AssignmentToNonFinalStatic | Possible unsafe assignment to non-final static field 'modelYaml' in a constructor. | 3 | 254 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 254 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 283 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 1 | 287 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 455 |
| LawOfDemeter | Call to `getVendors` on foreign value `MediatorHelper.model().getMediatorVendor()` (degree 2) | 3 | 455 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 457 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 461 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 469 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 470 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 470 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 474–477 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 476 |
| LawOfDemeter | Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 476 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `vendor.instance()` (degree 1) | 3 | 480 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 526 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 526 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 528 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 532 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 534 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 535 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 536 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 537 |
| MethodArgumentCouldBeFinal | Parameter 'textarea' is not assigned and could be declared final | 3 | 556 |
| LawOfDemeter | Call to `getDocument` on foreign value `textarea` (degree 1) | 3 | 558 |
com/jsql/view/swing/tab/TabHeader.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'imageIcon' is not assigned and could be declared final | 3 | 29 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 1 | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.add(Component) | 1 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 42 |
com/jsql/view/swing/tab/TabManagers.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 32 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 1 | 42 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setMaximumSize(Dimension) | 1 | 43 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.getMaximumSize() | 1 | 43 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setPreferredSize(Dimension) | 1 | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.getPreferredSize() | 1 | 44 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTabbedPane.addChangeListener(ChangeListener) | 1 | 48–51 |
| LawOfDemeter | Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'modelSvgIcon' is not assigned and could be declared final | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 3 | 54 |
| LawOfDemeter | Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) | 3 | 71 |
com/jsql/view/swing/tab/TabManagersCards.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 27 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 1 | 36 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 37 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setMinimumSize(Dimension) | 1 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 64 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 64 |
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'manager' is not assigned and could be declared final | 3 | 83 |
com/jsql/view/swing/tab/TabResults.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 11–400 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 52 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setName(String) | 1 | 67 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTabbedPane.setTabLayoutPolicy(int) | 1 | 68 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setTransferHandler(TransferHandler) | 1 | 69 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseWheelListener(MouseWheelListener) | 1 | 74 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 3 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'content' is not assigned and could be declared final | 3 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'content' is not assigned and could be declared final | 3 | 87 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 3 | 95 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 3 | 110 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 3 | 111 |
| LawOfDemeter | Call to `getCaret` on foreign value `editorPane` (degree 1) | 3 | 112 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'toolTipText' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'componentText' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 131 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 136 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 3 | 136 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 3 | 136 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 137 |
| MethodArgumentCouldBeFinal | Parameter 'port' is not assigned and could be declared final | 3 | 157 |
| MethodArgumentCouldBeFinal | Parameter 'biConsumerRunCmd' is not assigned and could be declared final | 3 | 178 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 183 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 3 | 183 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 203 |
| MethodArgumentCouldBeFinal | Parameter 'user' is not assigned and could be declared final | 3 | 203 |
| MethodArgumentCouldBeFinal | Parameter 'pass' is not assigned and could be declared final | 3 | 203 |
| MethodArgumentCouldBeFinal | Parameter 'cmd' is not assigned and could be declared final | 3 | 208 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 3 | 208 |
| MethodArgumentCouldBeFinal | Parameter 'wbhPath' is not assigned and could be declared final | 3 | 208 |
| MethodArgumentCouldBeFinal | Parameter 'arg' is not assigned and could be declared final | 3 | 208 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 209 |
| MethodArgumentCouldBeFinal | Parameter 'data' is not assigned and could be declared final | 3 | 230 |
| MethodArgumentCouldBeFinal | Parameter 'columnNames' is not assigned and could be declared final | 3 | 230 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 230 |
| MethodArgumentCouldBeFinal | Parameter 'terminal' is not assigned and could be declared final | 3 | 244 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 262 |
| MethodArgumentCouldBeFinal | Parameter 'terminal' is not assigned and could be declared final | 3 | 282 |
| AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 3 | 295 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 305 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 316 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 317 |
| LawOfDemeter | Call to `getSelection` on foreign value `buttonGroup` (degree 1) | 3 | 318 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 320 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 328 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 352 |
| MethodArgumentCouldBeFinal | Parameter 'evt' is not assigned and could be declared final | 3 | 379 |
com/jsql/view/swing/tab/TabbedPaneMouseWheelListener.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 3 | 19 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 38 |
com/jsql/view/swing/tab/TabbedPaneWheeled.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'tabPlacement' is not assigned and could be declared final | 3 | 35 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseWheelListener(MouseWheelListener) | 1 | 37 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 3 | 44 |
com/jsql/view/swing/tab/dnd/DnDTabData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 3 | 7 |
com/jsql/view/swing/tab/dnd/DnDTabbedPane.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'p' is not assigned and could be declared final | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'index' is not assigned and could be declared final | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'flag' is not assigned and could be declared final | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'actionKey' is not assigned and could be declared final | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'pt' is not assigned and could be declared final | 3 | 74 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 1 | 96 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseMotionListener(MouseMotionListener) | 1 | 97 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.addPropertyChangeListener(PropertyChangeListener) | 1 | 98 |
| MethodArgumentCouldBeFinal | Parameter 'p' is not assigned and could be declared final | 3 | 101 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 104 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 109 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 3 | 115 |
| MethodArgumentCouldBeFinal | Parameter 'forDrop' is not assigned and could be declared final | 3 | 115 |
| MethodArgumentCouldBeFinal | Parameter 'dragIndex' is not assigned and could be declared final | 3 | 127 |
| MethodArgumentCouldBeFinal | Parameter 'target' is not assigned and could be declared final | 3 | 127 |
| MethodArgumentCouldBeFinal | Parameter 'targetIndex' is not assigned and could be declared final | 3 | 127 |
| MethodArgumentCouldBeFinal | Parameter 'prev' is not assigned and could be declared final | 3 | 147 |
| MethodArgumentCouldBeFinal | Parameter 'next' is not assigned and could be declared final | 3 | 147 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 179 |
| MethodArgumentCouldBeFinal | Parameter 'tabPlacement' is not assigned and could be declared final | 3 | 221 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 225 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 225 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 241 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "dropLocation" in if statements | 3 | 243 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 250 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 254 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 255 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 272 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 276 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 290 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 295 |
com/jsql/view/swing/tab/dnd/GhostGlassPane.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 3 | 10 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setOpaque(boolean) | 1 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'tab' is not assigned and could be declared final | 3 | 27 |
com/jsql/view/swing/tab/dnd/TabTransferHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 3 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'flavor' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'flavor' is not assigned and could be declared final | 3 | 46 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 57 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 59 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `support` (degree 1) | 3 | 63 |
| LawOfDemeter | Call to `getComponent` on foreign value `support` (degree 1) | 3 | 66 |
| UnusedAssignment | The initializer for variable 'isDroppable' is never used (overwritten on lines 76 and 78) | 3 | 72 |
| MethodArgumentCouldBeFinal | Parameter 'tabbedPane' is not assigned and could be declared final | 3 | 94 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 3 | 118 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 124 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 130 |
| MethodArgumentCouldBeFinal | Parameter 'support' is not assigned and could be declared final | 3 | 136 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 138 |
| LawOfDemeter | Call to `getComponent` on foreign value `support` (degree 1) | 3 | 141 |
| LawOfDemeter | Call to `getDropLocation` on foreign value `target` (degree 1) | 3 | 142 |
| LawOfDemeter | Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) | 3 | 145 |
| LawOfDemeter | Call to `getTransferable` on foreign value `support` (degree 1) | 3 | 145 |
| LawOfDemeter | Call to `convertTab` on foreign value `src` (degree 2) | 3 | 150 |
| LawOfDemeter | Access to field `dragTabIndex` on foreign value `src` (degree 2) | 3 | 150 |
| LawOfDemeter | Call to `exportTab` on foreign value `src` (degree 2) | 3 | 152 |
| LawOfDemeter | Access to field `dragTabIndex` on foreign value `src` (degree 2) | 3 | 152 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 154 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 3 | 163 |
com/jsql/view/swing/table/ActionCloseSearch.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| MethodArgumentCouldBeFinal | Parameter 'textFilter' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'panelSearch' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'panelTable' is not assigned and could be declared final | 3 | 12 |
com/jsql/view/swing/table/ActionShowSearch.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| MethodArgumentCouldBeFinal | Parameter 'panelSearch' is not assigned and could be declared final | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'textFilter' is not assigned and could be declared final | 3 | 11 |
com/jsql/view/swing/table/AdjusterTableColumn.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 35–370 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 50 |
| MethodArgumentCouldBeFinal | Parameter 'tableAdjust' is not assigned and could be declared final | 3 | 57 |
| MethodArgumentCouldBeFinal | Parameter 'spacing' is not assigned and could be declared final | 3 | 57 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setColumnHeaderIncluded(boolean) | 1 | 60 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setColumnDataIncluded(boolean) | 1 | 61 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setOnlyAdjustLarger(boolean) | 1 | 62 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AdjusterTableColumn.setDynamicAdjustment(boolean) | 1 | 63 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 71 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 81 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 3 | 81 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 95 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 97 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 100 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 3 | 100 |
| LawOfDemeter | Call to `getDefaultRenderer` on foreign value `this.tableAdjust.getTableHeader()` (degree 1) | 3 | 104 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 115 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 117 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 121 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 3 | 121 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 3 | 136 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 136 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 141 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 151 |
| MethodArgumentCouldBeFinal | Parameter 'width' is not assigned and could be declared final | 3 | 151 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 152 |
| LawOfDemeter | Call to `getResizable` on foreign value `tableColumn` (degree 2) | 3 | 153 |
| LawOfDemeter | Call to `getPreferredWidth` on foreign value `tableColumn` (degree 2) | 3 | 161 |
| LawOfDemeter | Call to `getWidth` on foreign value `tableColumn` (degree 2) | 3 | 164 |
| LawOfDemeter | Call to `setWidth` on foreign value `tableColumn` (degree 2) | 3 | 166 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 173 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 182 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 183 |
| LawOfDemeter | Call to `setWidth` on foreign value `tableColumn` (degree 2) | 3 | 187 |
| MethodArgumentCouldBeFinal | Parameter 'isColumnHeaderIncluded' is not assigned and could be declared final | 3 | 194 |
| MethodArgumentCouldBeFinal | Parameter 'isColumnDataIncluded' is not assigned and could be declared final | 3 | 201 |
| MethodArgumentCouldBeFinal | Parameter 'isOnlyAdjustLarger' is not assigned and could be declared final | 3 | 208 |
| MethodArgumentCouldBeFinal | Parameter 'isDynamicAdjustment' is not assigned and could be declared final | 3 | 216 |
| LawOfDemeter | Call to `getModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 221 |
| LawOfDemeter | Call to `getModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 224 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 234 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "model" in if statements | 3 | 237 |
| LawOfDemeter | Call to `getOldValue` on foreign value `e` (degree 1) | 3 | 238 |
| LawOfDemeter | Call to `getNewValue` on foreign value `e` (degree 1) | 3 | 241 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 251 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) | 3 | 263 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.tableAdjust.getColumnModel()` (degree 2) | 3 | 263 |
| MethodArgumentCouldBeFinal | Parameter 'isSelectedColumn' is not assigned and could be declared final | 3 | 292 |
| MethodArgumentCouldBeFinal | Parameter 'isAdjust' is not assigned and could be declared final | 3 | 292 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 3 | 292 |
| MethodArgumentCouldBeFinal | Parameter 'keyStroke' is not assigned and could be declared final | 3 | 292 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleDynamic' is not assigned and could be declared final | 3 | 303 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleLarger' is not assigned and could be declared final | 3 | 303 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 3 | 303 |
| MethodArgumentCouldBeFinal | Parameter 'keyStroke' is not assigned and could be declared final | 3 | 303 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 314 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ColumnAction(boolean, boolean)' | 3 | 319 |
| MethodArgumentCouldBeFinal | Parameter 'isSelectedColumn' is not assigned and could be declared final | 3 | 319 |
| MethodArgumentCouldBeFinal | Parameter 'isAdjust' is not assigned and could be declared final | 3 | 319 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 351 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ToggleAction(boolean, boolean)' | 3 | 356 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleDynamic' is not assigned and could be declared final | 3 | 356 |
| MethodArgumentCouldBeFinal | Parameter 'isToggleLarger' is not assigned and could be declared final | 3 | 356 |
com/jsql/view/swing/table/ButtonClose.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 7 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setContentAreaFilled(boolean) | 1 | 11 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractButton.setBorderPainted(boolean) | 1 | 12 |
com/jsql/view/swing/table/ComparatorColumn.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 19 |
| MethodArgumentCouldBeFinal | Parameter 'cellLeft' is not assigned and could be declared final | 3 | 26 |
| MethodArgumentCouldBeFinal | Parameter 'cellRight' is not assigned and could be declared final | 3 | 26 |
com/jsql/view/swing/table/FixedColumnTable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'fixedColumns' is not assigned and could be declared final | 3 | 39 |
| MethodArgumentCouldBeFinal | Parameter 'scrollPane' is not assigned and could be declared final | 3 | 39 |
| MethodArgumentCouldBeFinal | Parameter 'colNum' is not assigned and could be declared final | 3 | 71 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.mainTable` (degree 1) | 3 | 91 |
| LawOfDemeter | Call to `getColumn` on foreign value `columnModel` (degree 2) | 3 | 93 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 3 | 96 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 96 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 3 | 99 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 3 | 99 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 3 | 100 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 3 | 100 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 3 | 101 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 3 | 101 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 3 | 102 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 3 | 102 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 3 | 103 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 3 | 103 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `this.fixedTable` (degree 1) | 3 | 104 |
| LawOfDemeter | Call to `getColumn` on foreign value `this.fixedTable.getColumnModel()` (degree 2) | 3 | 104 |
| LawOfDemeter | Call to `getRowSorter` on foreign value `this.mainTable` (degree 1) | 3 | 106 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `this.mainTable` (degree 1) | 3 | 115 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 138 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 148 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "selectionModel" in if statements | 3 | 150 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "model" in if statements | 3 | 154 |
com/jsql/view/swing/table/PanelTable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39 |
| MethodArgumentCouldBeFinal | Parameter 'data' is not assigned and could be declared final | 3 | 54 |
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'columnNames' is not assigned and could be declared final | 3 | 54 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Container.add(Component, Object) (call stack: [PanelTable.initTableScroller(), Container.add(Component, Object)]) | 1 | 82 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Container.add(Component, Object) (call stack: [PanelTable.initPanelSearch(TableRowSorter<TableModel>), Container.add(Component, Object)]) | 1 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 95 |
| LawOfDemeter | Call to `getSelectionModel` on foreign value `PanelTable.this.tableValues` (degree 1) | 3 | 103 |
| LawOfDemeter | Call to `getColumnModel` on foreign value `PanelTable.this.tableValues` (degree 1) | 3 | 104 |
| LawOfDemeter | Call to `getDefaultRenderer` on foreign value `this.tableValues.getTableHeader()` (degree 1) | 3 | 113 |
| LawOfDemeter | Call to `getTableCellRendererComponent` on foreign value `cellRendererHeader` (degree 2) | 3 | 115–122 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 137 |
| LawOfDemeter | Call to `getDocument` on foreign value `textFilter` (degree 1) | 3 | 169 |
| InefficientEmptyStringCheck | String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. | 3 | 172 |
com/jsql/view/swing/table/RowHeaderRenderer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 7 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JLabel.setHorizontalAlignment(int) | 1 | 10 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 15 |
com/jsql/view/swing/terminal/AbstractExploit.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'loginPassword' | 3 | 55 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 80 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 3 | 80 |
| MethodArgumentCouldBeFinal | Parameter 'labelShell' is not assigned and could be declared final | 3 | 80 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'urlShell' is not assigned and could be declared final | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'labelShell' is not assigned and could be declared final | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'isAddingPrompt' is not assigned and could be declared final | 3 | 83 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 90 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setFont(Font) | 1 | 96 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.setCaret(Caret) | 1 | 97 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setBackground(Color) | 1 | 98 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setForeground(Color) | 1 | 99 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractExploit.displayPrompt(boolean) | 1 | 102 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: AbstractExploit.append(String) | 1 | 104 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 1 | 107 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JComponent.setTransferHandler(TransferHandler) | 1 | 108 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.setHighlighter(Highlighter) | 1 | 109 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addMouseListener(MouseListener) | 1 | 111 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addKeyListener(KeyListener) | 1 | 112 |
| MethodArgumentCouldBeFinal | Parameter 'isPromptVisible' is not assigned and could be declared final | 3 | 130 |
| MethodArgumentCouldBeFinal | Parameter 'string' is not assigned and could be declared final | 3 | 144 |
| MethodArgumentCouldBeFinal | Parameter 'isAddingPrompt' is not assigned and could be declared final | 3 | 157 |
| MethodArgumentCouldBeFinal | Parameter 'string' is not assigned and could be declared final | 3 | 176 |
| MethodArgumentCouldBeFinal | Parameter 'color' is not assigned and could be declared final | 3 | 176 |
| MethodArgumentCouldBeFinal | Parameter 'isAddingPrompt' is not assigned and could be declared final | 3 | 176 |
| EmptyMethodInAbstractClassShouldBeAbstract | An empty method in an abstract class should be abstract instead | 1 | 200 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 3 | 200 |
| MethodArgumentCouldBeFinal | Parameter 'offset' is not assigned and could be declared final | 3 | 209 |
| LawOfDemeter | Call to `getDefaultRootElement` on foreign value `doc` (degree 1) | 3 | 218 |
| MethodArgumentCouldBeFinal | Parameter 'line' is not assigned and could be declared final | 3 | 228 |
| LawOfDemeter | Call to `getDefaultRootElement` on foreign value `this.getDocument()` (degree 1) | 3 | 229 |
| LawOfDemeter | Call to `getElement` on foreign value `map` (degree 2) | 3 | 236 |
| MethodReturnsInternalArray | Returning 'loginPassword' may expose an internal array. | 3 | 261 |
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 264 |
| MethodArgumentCouldBeFinal | Parameter 'loginPassword' is not assigned and could be declared final | 3 | 264 |
| ArrayIsStoredDirectly | The user-supplied array 'loginPassword' is stored directly. | 3 | 265 |
com/jsql/view/swing/terminal/EmptyFocusCopy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'abstractExploit' is not assigned and could be declared final | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 29 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.abstractExploit` (degree 1) | 3 | 32 |
| LawOfDemeter | Call to `getData` on foreign value `Toolkit.getDefaultToolkit().getSystemClipboard()` (degree 2) | 3 | 40 |
| LawOfDemeter | Call to `getSystemClipboard` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 48 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 53 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 58 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 63 |
com/jsql/view/swing/terminal/ExploitReverseShell.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'terminalID' is not assigned and could be declared final | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'port' is not assigned and could be declared final | 3 | 34 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 53 |
| LawOfDemeter | Call to `getServerInputConnection` on foreign value `this.serverInput` (degree 1) | 3 | 54 |
com/jsql/view/swing/terminal/ServerInput.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'serverSocket' | 3 | 9 |
| MethodArgumentCouldBeFinal | Parameter 'exploitReverseShell' is not assigned and could be declared final | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'port' is not assigned and could be declared final | 3 | 14 |
| UseUnderscoresInNumericLiterals | Number 10000 should separate every third digit with an underscore | 3 | 21 |
| CloseResource | Ensure that resources like this Socket object are closed after use | 3 | 22 |
| CommentDefaultAccessModifier | Missing commented default access modifier on method 'close()' | 3 | 27 |
com/jsql/view/swing/terminal/ServerInputConnection.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'exploitReverseShell' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'clientSocket' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'serverInput' is not assigned and could be declared final | 3 | 25 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 3 | 31 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 36 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'dataOutputStream' is not assigned and could be declared final | 3 | 60 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 63 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 74–80 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 75 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 94 |
com/jsql/view/swing/terminal/util/BlockCaret.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 25 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: DefaultCaret.setBlinkRate(int) | 1 | 33 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 3 | 37 |
| MethodArgumentCouldBeFinal | Parameter 'r' is not assigned and could be declared final | 3 | 37 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 64 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 67 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 81 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 85 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 3 | 101 |
com/jsql/view/swing/terminal/util/KeyAdapterTerminal.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'indexCommandsHistory' | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'terminal' is not assigned and could be declared final | 3 | 55 |
| CyclomaticComplexity | The method 'keyPressed(KeyEvent)' has a cyclomatic complexity of 12. | 3 | 60 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 60 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 102 |
| MethodArgumentCouldBeFinal | Parameter 'caretPosition' is not assigned and could be declared final | 3 | 102 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 3 | 107 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 114 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 125 |
| MethodArgumentCouldBeFinal | Parameter 'caretPosition' is not assigned and could be declared final | 3 | 125 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 3 | 125 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 133 |
| MethodArgumentCouldBeFinal | Parameter 'root' is not assigned and could be declared final | 3 | 134 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 3 | 135 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 136 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 3 | 145 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 3 | 151 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 156 |
| MethodArgumentCouldBeFinal | Parameter 'root' is not assigned and could be declared final | 3 | 157 |
| MethodArgumentCouldBeFinal | Parameter 'lineNumber' is not assigned and could be declared final | 3 | 158 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 159 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 3 | 176 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.terminal` (degree 1) | 3 | 182 |
| MethodArgumentCouldBeFinal | Parameter 'keyEvent' is not assigned and could be declared final | 3 | 186 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 186 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 201 |
| LawOfDemeter | Call to `getDocument` on foreign value `terminalCommand` (degree 1) | 3 | 207 |
com/jsql/view/swing/text/JPasswordFieldPlaceholder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 32 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 3 | 46 |
com/jsql/view/swing/text/JPlaceholder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ImplicitFunctionalInterface | Annotate this interface with @FunctionalInterface or with @SuppressWarnings("PMD.ImplicitFunctionalInterface") to clarify your intent. | 2 | 3 |
com/jsql/view/swing/text/JPopupComponent.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 40 |
com/jsql/view/swing/text/JPopupTextArea.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 26 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 41 |
| MethodArgumentCouldBeFinal | Parameter 'proxy' is not assigned and could be declared final | 3 | 53 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 57 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 70 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 71 |
com/jsql/view/swing/text/JPopupTextComponent.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 31 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 42 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 42 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 43 |
| LawOfDemeter | Call to `getDocument` on foreign value `this.getProxy()` (degree 1) | 3 | 46 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 46 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupTextComponent<T extends JTextComponent>.initUndo(UndoManager), JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 51 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupTextComponent<T extends JTextComponent>.initRedo(UndoManager), JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 52 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupTextComponent<T extends JTextComponent>.makeDeleteSilent(), JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 53 |
com/jsql/view/swing/text/JPopupTextField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'proxy' is not assigned and could be declared final | 3 | 36 |
com/jsql/view/swing/text/JPopupTextPane.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 26 |
| MethodArgumentCouldBeFinal | Parameter 'proxy' is not assigned and could be declared final | 3 | 38 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 41 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 48 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: JPopupComponent<T extends JTextComponent>.getProxy() (call stack: [JPopupComponent<T extends JTextComponent>.getProxy()]) | 1 | 49 |
com/jsql/view/swing/text/JTextAreaPlaceholder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 15 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 34 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 44 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 3 | 50 |
com/jsql/view/swing/text/JTextAreaPlaceholderConsole.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 8 |
com/jsql/view/swing/text/JTextFieldPlaceholder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 29 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.setText(String) | 1 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'xOffset' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 48 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 3 | 58 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 3 | 64 |
com/jsql/view/swing/text/JTextPanePlaceholder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 30 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 3 | 53 |
com/jsql/view/swing/text/JTextPanePlaceholderConsole.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| MethodArgumentCouldBeFinal | Parameter 'placeholder' is not assigned and could be declared final | 3 | 8 |
com/jsql/view/swing/text/JToolTipI18n.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 9 |
| MethodArgumentCouldBeFinal | Parameter 'textTooltip' is not assigned and could be declared final | 3 | 13 |
| MethodArgumentCouldBeFinal | Parameter 'textTooltip' is not assigned and could be declared final | 3 | 17 |
com/jsql/view/swing/text/SyntaxTextArea.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 27 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RTextArea.setPopupMenu(JPopupMenu) | 1 | 30 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JTextComponent.getCaret() | 1 | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.addFocusListener(FocusListener) | 1 | 32–38 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setCursor(Cursor) | 1 | 39 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RSyntaxTextArea.setSyntaxEditingStyle(String) | 1 | 40 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RSyntaxTextArea.setMarkOccurrences(boolean) | 1 | 41 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: RSyntaxTextArea.setMarkOccurrencesDelay(int) | 1 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 46 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 56 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 3 | 74 |
com/jsql/view/swing/text/action/AbstractCharAction.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'deleteAction' is not assigned and could be declared final | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'event' is not assigned and could be declared final | 3 | 34 |
| LawOfDemeter | Call to `getCaret` on foreign value `target` (degree 1) | 3 | 44 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 48–52 |
| LawOfDemeter | Call to `remove` on foreign value `doc` (degree 2) | 3 | 49 |
com/jsql/view/swing/text/action/DeleteNextCharAction.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'doc' is not assigned and could be declared final | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'dot' is not assigned and could be declared final | 3 | 21 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 32–34 |
com/jsql/view/swing/text/action/DeletePrevCharAction.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'doc' is not assigned and could be declared final | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'dot' is not assigned and could be declared final | 3 | 21 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 3 | 26 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 32–34 |
com/jsql/view/swing/text/action/SilentDeleteTextAction.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'deleteAction' is not assigned and could be declared final | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 25 |
| LawOfDemeter | Call to `getCaret` on foreign value `target` (degree 1) | 3 | 31 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 38 |
| LawOfDemeter | Call to `getDocument` on foreign value `target` (degree 1) | 3 | 43 |
com/jsql/view/swing/text/listener/DocumentListenerEditing.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 11 |
com/jsql/view/swing/tree/CellEditorNode.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'tree' is not assigned and could be declared final | 3 | 59 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 3 | 60 |
| MethodArgumentCouldBeFinal | Parameter 'expanded' is not assigned and could be declared final | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 3 | 63 |
| MethodArgumentCouldBeFinal | Parameter 'row' is not assigned and could be declared final | 3 | 64 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 3 | 71 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 79 |
| LawOfDemeter | Call to `getLastSelectedPathComponent` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 3 | 92 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 3 | 98 |
| MethodArgumentCouldBeFinal | Parameter 'mouseEvent' is not assigned and could be declared final | 3 | 109 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 111 |
| LawOfDemeter | Call to `getLastPathComponent` on foreign value `path` (degree 1) | 3 | 120 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentTableNode` (degree 1) | 3 | 122 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 130 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 135 |
com/jsql/view/swing/tree/CellRendererNode.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 24 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'tree' is not assigned and could be declared final | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 3 | 27 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 3 | 30 |
com/jsql/view/swing/tree/ImageOverlap.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'main' is not assigned and could be declared final | 3 | 41 |
| MethodArgumentCouldBeFinal | Parameter 'iconPathOverlap' is not assigned and could be declared final | 3 | 41 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 3 | 47 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 3 | 47 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 47 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 3 | 47 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 3 | 47 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 51 |
com/jsql/view/swing/tree/PanelNode.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 31 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Container.setLayout(LayoutManager) | 1 | 70 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setComponentOrientation(ComponentOrientation) | 1 | 84 |
| ConstructorCallsOverridableMethod | This method may call an overridable method during object construction: Component.addKeyListener(KeyListener) (call stack: [PanelNode.initTextFieldEditable(JTree, DefaultMutableTreeNode), Component.addKeyListener(KeyListener)]) | 1 | 86 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 3 | 91 |
| LawOfDemeter | Call to `getElementDatabase` on foreign value `nodeModel` (degree 1) | 3 | 98 |
| LawOfDemeter | Call to `getElementDatabase` on foreign value `nodeModel` (degree 1) | 3 | 102 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 3 | 111 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 120 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 3 | 121 |
| MethodArgumentCouldBeFinal | Parameter 'newIcon' is not assigned and could be declared final | 3 | 144 |
| MethodArgumentCouldBeFinal | Parameter 'newIcon' is not assigned and could be declared final | 3 | 166 |
com/jsql/view/swing/tree/ProgressBarPausable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 28 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 28 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isIconDisplayed' | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'graphics' is not assigned and could be declared final | 3 | 38 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 50 |
com/jsql/view/swing/tree/TreeDatabase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 24 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 24–202 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'root' is not assigned and could be declared final | 3 | 35 |
| LawOfDemeter | Call to `getRoot` on foreign value `model` (degree 1) | 3 | 42 |
| LawOfDemeter | Call to `getRoot` on foreign value `treeModel` (degree 1) | 3 | 52 |
| MethodArgumentCouldBeFinal | Parameter 'columns' is not assigned and could be declared final | 3 | 61 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 67 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 68 |
| LawOfDemeter | Call to `getUserObject` on foreign value `tableNode` (degree 1) | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'databases' is not assigned and could be declared final | 3 | 83 |
| LawOfDemeter | Call to `getRoot` on foreign value `treeModel` (degree 1) | 3 | 85 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 89 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 90 |
| MethodArgumentCouldBeFinal | Parameter 'tables' is not assigned and could be declared final | 3 | 103 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 107 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 108 |
| LawOfDemeter | Call to `getUserObject` on foreign value `databaseNode` (degree 1) | 3 | 123 |
| MethodArgumentCouldBeFinal | Parameter 'data' is not assigned and could be declared final | 3 | 127 |
| MethodArgumentCouldBeFinal | Parameter 'columnNames' is not assigned and could be declared final | 3 | 127 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 127 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 3 | 131 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 3 | 138 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 3 | 142 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 3 | 150 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 3 | 154 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 3 | 163 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 3 | 167 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 3 | 174 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 3 | 178 |
| MethodArgumentCouldBeFinal | Parameter 'dataElementDatabase' is not assigned and could be declared final | 3 | 188 |
| MethodArgumentCouldBeFinal | Parameter 'dataCount' is not assigned and could be declared final | 3 | 188 |
| LawOfDemeter | Call to `getUserObject` on foreign value `node` (degree 1) | 3 | 192 |
com/jsql/view/swing/tree/action/ActionCheckAll.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'isCheckboxesSelected' is not assigned and could be declared final | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 21 |
| LawOfDemeter | Call to `getLastPathComponent` on foreign value `this.path` (degree 1) | 3 | 28 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentTableNode` (degree 1) | 3 | 29 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentChild` (degree 1) | 3 | 35 |
com/jsql/view/swing/tree/action/ActionCheckSingle.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'nodeModel' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'actionEvent' is not assigned and could be declared final | 3 | 26 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentChild` (degree 1) | 3 | 39 |
| LawOfDemeter | Call to `getUserObject` on foreign value `tableNode` (degree 1) | 3 | 47 |
com/jsql/view/swing/tree/action/ActionLoadStop.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'nodeModel' is not assigned and could be declared final | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 3 | 34 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 45–49 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 57 |
| LawOfDemeter | Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 65 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 75 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 3 | 79 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentChild` (degree 1) | 3 | 87 |
| LawOfDemeter | Call to `getElementDatabase` on foreign value `columnTreeNodeModel` (degree 1) | 3 | 89 |
com/jsql/view/swing/tree/action/ActionPauseUnpause.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'nodeModel' is not assigned and could be declared final | 3 | 27 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 33 |
com/jsql/view/swing/tree/custom/CheckBoxMenuItemIconCustom.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 9 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 9 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'graphics' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 3 | 65 |
| MethodArgumentCouldBeFinal | Parameter 'graphics' is not assigned and could be declared final | 3 | 65 |
| MethodArgumentCouldBeFinal | Parameter 'abstractButton' is not assigned and could be declared final | 3 | 65 |
| MethodArgumentCouldBeFinal | Parameter 'model' is not assigned and could be declared final | 3 | 65 |
| MethodArgumentCouldBeFinal | Parameter 'isEnabled' is not assigned and could be declared final | 3 | 65 |
com/jsql/view/swing/tree/custom/JPopupMenuCustomExtract.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 5 |
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 5 |
| DataClass | The class 'JPopupMenuCustomExtract' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 3 | 5 |
| MethodArgumentCouldBeFinal | Parameter 'buttonGroupLoadRows' is not assigned and could be declared final | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomFromRow' is not assigned and could be declared final | 3 | 26 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomToRow' is not assigned and could be declared final | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomFromChar' is not assigned and could be declared final | 3 | 42 |
| MethodArgumentCouldBeFinal | Parameter 'radioCustomToChar' is not assigned and could be declared final | 3 | 50 |
| MethodArgumentCouldBeFinal | Parameter 'menuItemDump' is not assigned and could be declared final | 3 | 58 |
com/jsql/view/swing/tree/model/AbstractNodeModel.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| GodClass | Possible God Class (WMC=56, ATFD=71, TCC=10.115%) | 3 | 40 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 40–424 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'indexProgress' | 3 | 58 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isSelected' | 3 | 63 |
| AvoidFieldNameMatchingMethodName | Field isSelected has the same name as a method | 3 | 63 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isRunning' | 3 | 68 |
| AvoidFieldNameMatchingMethodName | Field isRunning has the same name as a method | 3 | 68 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isAnyCheckboxSelected' | 3 | 74 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLoaded' | 3 | 80 |
| AvoidFieldNameMatchingMethodName | Field isLoaded has the same name as a method | 3 | 80 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isProgressing' | 3 | 86 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLoading' | 3 | 92 |
| MethodArgumentCouldBeFinal | Parameter 'elementDatabase' is not assigned and could be declared final | 3 | 102 |
| MethodArgumentCouldBeFinal | Parameter 'emptyObject' is not assigned and could be declared final | 3 | 110 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 3 | 146 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 146 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 146 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 148 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 156 |
| MethodArgumentCouldBeFinal | Parameter 'popupMenu' is not assigned and could be declared final | 3 | 156 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 3 | 175 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 175 |
| MethodArgumentCouldBeFinal | Parameter 'popupMenu' is not assigned and could be declared final | 3 | 175 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentTableNode` (degree 1) | 3 | 193 |
| MethodArgumentCouldBeFinal | Parameter 'currentTableNode' is not assigned and could be declared final | 3 | 208 |
| MethodArgumentCouldBeFinal | Parameter 'popupMenu' is not assigned and could be declared final | 3 | 209 |
| MethodArgumentCouldBeFinal | Parameter 'suspendableTask' is not assigned and could be declared final | 3 | 210 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 3 | 244 |
| MethodArgumentCouldBeFinal | Parameter 'isLeaf' is not assigned and could be declared final | 3 | 246 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 3 | 247 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 3 | 264 |
| MethodArgumentCouldBeFinal | Parameter 'isLeaf' is not assigned and could be declared final | 3 | 272 |
| MethodArgumentCouldBeFinal | Parameter 'currentNode' is not assigned and could be declared final | 3 | 277 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 285 |
| MethodArgumentCouldBeFinal | Parameter 'hasFocus' is not assigned and could be declared final | 3 | 292 |
| MethodArgumentCouldBeFinal | Parameter 'isEdited' is not assigned and could be declared final | 3 | 292 |
| AvoidCatchingNPE | Avoid catching NullPointerException; consider removing the cause of the NPE. | 3 | 297 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 297 |
| MethodArgumentCouldBeFinal | Parameter 'isEdited' is not assigned and could be declared final | 3 | 324 |
| MethodArgumentCouldBeFinal | Parameter 'panelNode' is not assigned and could be declared final | 3 | 340 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 347 |
| MethodArgumentCouldBeFinal | Parameter 'indexProgress' is not assigned and could be declared final | 3 | 373 |
| MethodArgumentCouldBeFinal | Parameter 'isSelected' is not assigned and could be declared final | 3 | 381 |
| MethodArgumentCouldBeFinal | Parameter 'isRunning' is not assigned and could be declared final | 3 | 389 |
| MethodArgumentCouldBeFinal | Parameter 'isAnyCheckboxSelected' is not assigned and could be declared final | 3 | 393 |
| MethodArgumentCouldBeFinal | Parameter 'isLoaded' is not assigned and could be declared final | 3 | 401 |
| MethodArgumentCouldBeFinal | Parameter 'isProgressing' is not assigned and could be declared final | 3 | 405 |
| MethodArgumentCouldBeFinal | Parameter 'isLoading' is not assigned and could be declared final | 3 | 409 |
| MethodArgumentCouldBeFinal | Parameter 'isEdited' is not assigned and could be declared final | 3 | 417 |
| MethodArgumentCouldBeFinal | Parameter 'textI18n' is not assigned and could be declared final | 3 | 421 |
com/jsql/view/swing/tree/model/NodeModelColumn.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 30 |
com/jsql/view/swing/tree/model/NodeModelDatabase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'database' is not assigned and could be declared final | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 3 | 41 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 43 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 3 | 56 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 67 |
| LawOfDemeter | Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 69 |
com/jsql/view/swing/tree/model/NodeModelEmpty.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'textNode' is not assigned and could be declared final | 3 | 30 |
| MethodArgumentCouldBeFinal | Parameter 'column' is not assigned and could be declared final | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'nodeRenderer' is not assigned and could be declared final | 3 | 40 |
| LawOfDemeter | Call to `getUserObject` on foreign value `currentNode` (degree 1) | 3 | 44 |
com/jsql/view/swing/tree/model/NodeModelTable.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 41 |
| MethodArgumentCouldBeFinal | Parameter 'leaf' is not assigned and could be declared final | 3 | 46 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 48 |
| MethodArgumentCouldBeFinal | Parameter 'panelNode' is not assigned and could be declared final | 3 | 55 |
| MethodArgumentCouldBeFinal | Parameter 'currentNode' is not assigned and could be declared final | 3 | 55 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) | 3 | 76 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 82 |
| LawOfDemeter | Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) | 3 | 84 |
| MethodArgumentCouldBeFinal | Parameter 'tablePopupMenu' is not assigned and could be declared final | 3 | 92 |
| UnusedPrivateMethod | Avoid unused private methods such as 'addCustomLoadItems(JPopupMenuCustomExtract)'. | 3 | 97 |
| NcssCount | The method 'addCustomLoadItems(JPopupMenuCustomExtract)' has a NCSS line count of 65. | 3 | 97 |
| MethodArgumentCouldBeFinal | Parameter 'tablePopupMenu' is not assigned and could be declared final | 3 | 97 |
| AvoidDuplicateLiterals | The String literal "no." appears 4 times in this file; the first occurrence is on line 108 | 3 | 108 |
| MethodArgumentCouldBeFinal | Parameter 'tablePopupMenu' is not assigned and could be declared final | 3 | 186 |
com/jsql/view/swing/util/I18nViewUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 16 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 21 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 26 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 3 | 49 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 3 | 80 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 3 | 80 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 3 | 89 |
| MethodArgumentCouldBeFinal | Parameter 'locale' is not assigned and could be declared final | 3 | 95 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 3 | 101 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 3 | 105 |
| MethodArgumentCouldBeFinal | Parameter 'custom' is not assigned and could be declared final | 3 | 105 |
com/jsql/view/swing/util/JSplitPaneWithZeroSizeDivider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 9 |
| MethodArgumentCouldBeFinal | Parameter 'i' is not assigned and could be declared final | 3 | 13 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setDividerSize(int) | 1 | 15 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: JSplitPane.setContinuousLayout(boolean) | 1 | 16 |
| LawOfDemeter | Call to `getDivider` on foreign value `(BasicSplitPaneUI) this.getUI()` (degree 1) | 3 | 24 |
| LawOfDemeter | Access to field `x` on foreign value `bounds` (degree 2) | 3 | 28 |
| LawOfDemeter | Access to field `width` on foreign value `bounds` (degree 2) | 3 | 29 |
| LawOfDemeter | Access to field `y` on foreign value `bounds` (degree 2) | 3 | 31 |
| LawOfDemeter | Access to field `height` on foreign value `bounds` (degree 2) | 3 | 32 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 43 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 55 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'ui' is not assigned and could be declared final | 3 | 64 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: Component.setBackground(Color) | 1 | 67 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 76 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 3 | 86 |
| MethodArgumentCouldBeFinal | Parameter 'location' is not assigned and could be declared final | 3 | 91 |
com/jsql/view/swing/util/MediatorHelper.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 17–156 |
| AvoidFieldNameMatchingMethodName | Field model has the same name as a method | 3 | 19 |
| AvoidFieldNameMatchingMethodName | Field treeDatabase has the same name as a method | 3 | 21 |
| AvoidFieldNameMatchingMethodName | Field tabResults has the same name as a method | 3 | 22 |
| AvoidFieldNameMatchingMethodName | Field tabManagersCards has the same name as a method | 3 | 23 |
| AvoidFieldNameMatchingMethodName | Field frame has the same name as a method | 3 | 25 |
| AvoidFieldNameMatchingMethodName | Field panelAddressBar has the same name as a method | 3 | 27 |
| AvoidFieldNameMatchingMethodName | Field tabConsoles has the same name as a method | 3 | 28 |
| AvoidFieldNameMatchingMethodName | Field panelConsoles has the same name as a method | 3 | 29 |
| AvoidFieldNameMatchingMethodName | Field managerScan has the same name as a method | 3 | 31 |
| AvoidFieldNameMatchingMethodName | Field managerAdminPage has the same name as a method | 3 | 32 |
| AvoidFieldNameMatchingMethodName | Field managerFile has the same name as a method | 3 | 33 |
| AvoidFieldNameMatchingMethodName | Field managerExploit has the same name as a method | 3 | 34 |
| AvoidFieldNameMatchingMethodName | Field managerBruteForce has the same name as a method | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'frame' is not assigned and could be declared final | 3 | 100 |
| MethodArgumentCouldBeFinal | Parameter 'appMenubar' is not assigned and could be declared final | 3 | 104 |
| MethodArgumentCouldBeFinal | Parameter 'panelAddress' is not assigned and could be declared final | 3 | 108 |
| MethodArgumentCouldBeFinal | Parameter 'tabConsoles' is not assigned and could be declared final | 3 | 112 |
| MethodArgumentCouldBeFinal | Parameter 'panelConsoles' is not assigned and could be declared final | 3 | 116 |
| MethodArgumentCouldBeFinal | Parameter 'treeDatabase' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'tabResults' is not assigned and could be declared final | 3 | 124 |
| MethodArgumentCouldBeFinal | Parameter 'tabManagersCards' is not assigned and could be declared final | 3 | 128 |
| MethodArgumentCouldBeFinal | Parameter 'managerAdminPage' is not assigned and could be declared final | 3 | 134 |
| MethodArgumentCouldBeFinal | Parameter 'managerFile' is not assigned and could be declared final | 3 | 138 |
| MethodArgumentCouldBeFinal | Parameter 'managerExploit' is not assigned and could be declared final | 3 | 141 |
| MethodArgumentCouldBeFinal | Parameter 'managerScan' is not assigned and could be declared final | 3 | 145 |
| MethodArgumentCouldBeFinal | Parameter 'managerBruteForce' is not assigned and could be declared final | 3 | 149 |
| MethodArgumentCouldBeFinal | Parameter 'model' is not assigned and could be declared final | 3 | 153 |
com/jsql/view/swing/util/ModelSvgIcon.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, float)' | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 17 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 3 | 17 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, int)' | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 3 | 21 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, Color, String, float)' | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'toDark' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 3 | 25 |
| CommentDefaultAccessModifier | Missing commented default access modifier on constructor 'ModelSvgIcon(String, Color, String, Color, float)' | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'toDarkUi' is not assigned and could be declared final | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'toDark' is not assigned and could be declared final | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 3 | 29 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: ModelSvgIcon.createSvgIcon(String, Color, Color, float) | 1 | 33–40 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 43 |
| MethodArgumentCouldBeFinal | Parameter 'from' is not assigned and could be declared final | 3 | 43 |
| MethodArgumentCouldBeFinal | Parameter 'toDark' is not assigned and could be declared final | 3 | 43 |
| MethodArgumentCouldBeFinal | Parameter 'scale' is not assigned and could be declared final | 3 | 43 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 44 |
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 3 | 62 |
com/jsql/view/swing/util/RadioItemNonClosing.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 6 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 8 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 3 | 12 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'icon' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'a' is not assigned and could be declared final | 3 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 25 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'm' is not assigned and could be declared final | 3 | 31 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 35 |
com/jsql/view/swing/util/UiStringUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 8 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 14 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'nowrap' is not assigned and could be declared final | 3 | 22 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 26 |
com/jsql/view/swing/util/UiUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryImport | Unused import 'java.lang.reflect.InvocationTargetException' | 4 | 37 |
| ClassWithOnlyPrivateConstructorsShouldBeFinal | This class has only private constructors and may be final | 1 | 45 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 51 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 52 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 53 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 54 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 55 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 56 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 57 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 58 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 59 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 60 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 61 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 62 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 63 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 64 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 65 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 66 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 67 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 68 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 69 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 70 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 71 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 184 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.APP_ICON` (degree 1) | 3 | 201 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.APP_MIDDLE` (degree 1) | 3 | 202 |
| LawOfDemeter | Call to `getIcon` on foreign value `UiUtil.APP_BIG` (degree 1) | 3 | 203 |
| MethodArgumentCouldBeFinal | Parameter 'textComponent' is not assigned and could be declared final | 3 | 210 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 210 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 3 | 210 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 3 | 211 |
| MethodArgumentCouldBeFinal | Parameter 'textComponent' is not assigned and could be declared final | 3 | 214 |
| MethodArgumentCouldBeFinal | Parameter 'g' is not assigned and could be declared final | 3 | 214 |
| MethodArgumentCouldBeFinal | Parameter 'placeholderText' is not assigned and could be declared final | 3 | 214 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 3 | 214 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 3 | 214 |
| LawOfDemeter | Call to `getFontMetrics` on foreign value `g` (degree 1) | 3 | 220 |
| UselessParentheses | Useless parentheses around `textComponent.getComponentOrientation().isLeftT...`. | 4 | 239–243 |
| MethodArgumentCouldBeFinal | Parameter 'component' is not assigned and could be declared final | 3 | 246 |
| MethodArgumentCouldBeFinal | Parameter 'textArea' is not assigned and could be declared final | 3 | 257 |
| MethodArgumentCouldBeFinal | Parameter 'nameTheme' is not assigned and could be declared final | 3 | 268 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'e2' on all code paths | 3 | 276 |
| MethodArgumentCouldBeFinal | Parameter 'size' is not assigned and could be declared final | 3 | 289 |