The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 1

model - com/jsql/model/accessible/vendor/ExploitDerby.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 100

model - com/jsql/model/accessible/vendor/ExploitH2.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 141

model - com/jsql/model/accessible/vendor/ExploitHsqldb.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 99

model - com/jsql/model/accessible/vendor/ExploitMysql.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 103
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 494

model - com/jsql/model/accessible/vendor/ExploitPostgres.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 514

model - com/jsql/model/accessible/vendor/ExploitSqlite.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 131

model - com/jsql/model/injection/strategy/blind/InjectionBlindBin.java

Rule Violation Line
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 57

model - com/jsql/model/injection/strategy/blind/InjectionBlindBit.java

Rule Violation Line
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 52

model - com/jsql/model/injection/strategy/blind/InjectionCharInsertion.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionCharInsertion.callUrl(String, String) 6568

model - com/jsql/model/injection/strategy/blind/InjectionMultibit.java

Rule Violation Line
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 37

model - com/jsql/model/injection/strategy/blind/InjectionVendor.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionVendor.callUrl(String, String) 4649

model - com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 688
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 697
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 753

model - com/jsql/model/injection/vendor/MediatorVendor.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: MediatorVendor.setVendor(Vendor) 147

model - com/jsql/util/AnsiColorUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 3

model - com/jsql/util/I18nUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 18

model - com/jsql/util/LogLevelUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 7

model - com/jsql/util/ParameterUtil.java

Rule Violation Line
FieldNamingConventions The constant name 'tchar' doesn't match '[A-Z][A-Z_0-9]*' 51

model - com/jsql/util/PreferencesUtil.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: PreferencesUtil.parseReverseCommands(String) 122

model - com/jsql/util/bruter/Base58.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 8

model - com/jsql/util/bruter/Bruter.java

Rule Violation Line
FieldNamingConventions The constant name 'specialCharacters' doesn't match '[A-Z][A-Z_0-9]*' 28

model - com/jsql/util/bruter/Crc16Helper.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 21

model - com/jsql/util/bruter/Crc64Helper.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 23

model - com/jsql/util/bruter/DigestMD4.java

Rule Violation Line
FieldNamingConventions The final field name 'X' doesn't match '[a-z][a-zA-Z0-9]*' 65
ConstructorCallsOverridableMethod Overridable method called during object construction: DigestMD4.engineReset() 73
LocalVariableNamingConventions The local variable name 'A' doesn't match '[a-z][a-zA-Z0-9]*' 246
LocalVariableNamingConventions The local variable name 'B' doesn't match '[a-z][a-zA-Z0-9]*' 247
LocalVariableNamingConventions The local variable name 'C' doesn't match '[a-z][a-zA-Z0-9]*' 248
LocalVariableNamingConventions The local variable name 'D' doesn't match '[a-z][a-zA-Z0-9]*' 249
MethodNamingConventions The instance method name 'FF' doesn't match '[a-z][a-zA-Z0-9]*' 310
MethodNamingConventions The instance method name 'GG' doesn't match '[a-z][a-zA-Z0-9]*' 315
MethodNamingConventions The instance method name 'HH' doesn't match '[a-z][a-zA-Z0-9]*' 320

model - com/jsql/util/bruter/HashUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 11

view - com/jsql/MainApp.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 18

view - 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

view - 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

view - 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

view - com/jsql/view/swing/console/AbstractColoredConsole.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Component.addFocusListener(FocusListener) 3541
ConstructorCallsOverridableMethod Overridable method called during object construction: Component.setCursor(Cursor) 42

view - com/jsql/view/swing/console/JTextPaneAppender.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 25

view - 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

view - com/jsql/view/swing/dialog/DialogTranslate.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.setDefaultCloseOperation(int) 57
ConstructorCallsOverridableMethod Overridable method called during object construction: Window.setIconImages(List<? extends Image>) 58
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.getRootPane() 61
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: JDialog.setLayout(LayoutManager) (call stack: [DialogTranslate.initLastLine(), JDialog.setLayout(LayoutManager)]) 67
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.getContentPane() 70

view - 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

view - com/jsql/view/swing/list/MenuActionExport.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 87

view - 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

view - 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

view - 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

view - com/jsql/view/swing/manager/ManagerCoder.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component, Object) 108

view - 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

view - 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

view - 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

view - 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

view - com/jsql/view/swing/menubar/AppMenubar.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: JMenuBar.add(JMenu) 74
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) 78
ConstructorCallsOverridableMethod Overridable method called during object construction: JMenuBar.add(JMenu) 79

view - 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

view - 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

view - com/jsql/view/swing/panel/PanelConsoles.java

Rule Violation Line
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: PanelConsoles.insertJavaTab() (call stack: [PanelConsoles.initTabsConsoles(), PanelConsoles.insertJavaTab()]) 92
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 93
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component) 97

view - 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

view - 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 This method may call an overridable method during object construction: AbstractButton.setIcon(Icon) (call stack: [ButtonStart.setIcons(), AbstractButton.setIcon(Icon)]) 63

view - 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

view - com/jsql/view/swing/panel/consoles/CenterRenderer.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: JLabel.setHorizontalAlignment(int) 8

view - 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) 3860
ConstructorCallsOverridableMethod Overridable method called during object construction: JTable.setModel(TableModel) 6277
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

view - 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() 101

view - com/jsql/view/swing/panel/preferences/PanelAuthentication.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 119

view - com/jsql/view/swing/panel/preferences/PanelConnection.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 175

view - com/jsql/view/swing/panel/preferences/PanelExploit.java

Rule Violation Line
FieldNamingConventions The constant name 'textareaRevshells' doesn't match '[A-Z][A-Z_0-9]*' 18
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 60

view - com/jsql/view/swing/panel/preferences/PanelGeneral.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 33

view - com/jsql/view/swing/panel/preferences/PanelInjection.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 228

view - com/jsql/view/swing/panel/preferences/PanelProxy.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 87

view - com/jsql/view/swing/panel/preferences/PanelStrategies.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 46

view - com/jsql/view/swing/panel/preferences/PanelTampering.java

Rule Violation Line
FieldNamingConventions The constant name 'textPaneEval' doesn't match '[A-Z][A-Z_0-9]*' 38
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 102

view - com/jsql/view/swing/panel/preferences/PanelUserAgent.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 43

view - 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

view - 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) 5967

view - 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

view - 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) 5975
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

view - 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

view - com/jsql/view/swing/sql/SqlEngine.java

Rule Violation Line
FieldNamingConventions The constant name 'tabsError' doesn't match '[A-Z][A-Z_0-9]*' 32
FieldNamingConventions The constant name 'listTextareasError' doesn't match '[A-Z][A-Z_0-9]*' 33
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 283
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component) 287

view - 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

view - 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) 4851

view - 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

view - 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

view - com/jsql/view/swing/tab/TabbedPaneWheeled.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Component.addMouseWheelListener(MouseWheelListener) 37

view - 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

view - com/jsql/view/swing/tab/dnd/GhostGlassPane.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: JComponent.setOpaque(boolean) 12

view - 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

view - 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

view - 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

view - com/jsql/view/swing/table/RowHeaderRenderer.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: JLabel.setHorizontalAlignment(int) 10

view - 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

view - com/jsql/view/swing/terminal/util/BlockCaret.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: DefaultCaret.setBlinkRate(int) 33

view - 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

view - 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

view - 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

view - com/jsql/view/swing/text/JTextFieldPlaceholder.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: JTextComponent.setText(String) 31

view - 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) 3238
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

view - 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

view - com/jsql/view/swing/util/I18nViewUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 16
FieldNamingConventions The constant name 'componentsLocalized' doesn't match '[A-Z][A-Z_0-9]*' 21

view - 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

view - com/jsql/view/swing/util/ModelSvgIcon.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: ModelSvgIcon.createSvgIcon(String, Color, Color, float) 3340

view - com/jsql/view/swing/util/UiStringUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 8

view - com/jsql/view/swing/util/UiUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 45

Priority 2

model - com/jsql/model/accessible/vendor/ExploitMysql.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'nameExploit' 190
AvoidReassigningParameters Avoid reassigning parameters such as 'pathNetshareFolder' 222

model - com/jsql/util/PropertiesUtil.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 7377

model - com/jsql/util/bruter/DigestMD4.java

Rule Violation Line
ProperCloneImplementation Object clone() should be implemented with super.clone() 94
AvoidReassigningParameters Avoid reassigning parameters such as 'offset' 240

view - 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

model - com/jsql/model/AbstractModelObservable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
AtLeastOneConstructor Each class should declare at least one constructor 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isStoppedByUser' 31
AvoidFieldNameMatchingMethodName Field isStoppedByUser has the same name as a method 31
LongVariable Avoid excessively long variable names like metadataInjectionProcess 43
CommentSize Comment is too large: Line too long 50
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 53
LongVariable Avoid excessively long variable names like metadataInjectionProcess 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 57
LongVariable Avoid excessively long variable names like metadataInjectionProcess 57
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 61
LongVariable Avoid excessively long variable names like metadataInjectionProcess 61
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 65
LongVariable Avoid excessively long variable names like metadataInjectionProcess 65
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 69
LongVariable Avoid excessively long variable names like metadataInjectionProcess 69
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 69
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 69
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 73
LongVariable Avoid excessively long variable names like metadataInjectionProcess 73
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 73
MethodArgumentCouldBeFinal Parameter 'processStopped' is not assigned and could be declared final 92

model - com/jsql/model/InjectionModel.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 11701
CommentSize Comment is too large: Line too long 54
CommentSize Comment is too large: Line too long 56
CommentSize Comment is too large: Line too long 57
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 60
GodClass Possible God Class (WMC=76, ATFD=170, TCC=24.923%) 60
TooManyMethods This class has too many methods, consider refactoring it. 60701
ShortVariable Avoid variables with short names like BR 73
LongVariable Avoid excessively long variable names like shouldErasePreviousInjection 85
RedundantFieldInitializer Avoid using redundant field initializer for 'shouldErasePreviousInjection' 85
AvoidFieldNameMatchingMethodName Field shouldErasePreviousInjection has the same name as a method 85
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanning' 86
CallSuperInConstructor It is a good practice to call super() in a constructor 88
CommentSize Comment is too large: Line too long 114
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 117
LawOfDemeter Call to `getTime` on foreign value `this.mediatorStrategy` (degree 1) 119
LawOfDemeter Call to `getBlindBin` on foreign value `this.mediatorStrategy` (degree 1) 120
LawOfDemeter Call to `getBlindBit` on foreign value `this.mediatorStrategy` (degree 1) 121
LawOfDemeter Call to `getMultibit` on foreign value `this.mediatorStrategy` (degree 1) 122
LawOfDemeter Call to `getDns` on foreign value `this.mediatorStrategy` (degree 1) 123
LawOfDemeter Call to `getError` on foreign value `this.mediatorStrategy` (degree 1) 124
LawOfDemeter Call to `getStack` on foreign value `this.mediatorStrategy` (degree 1) 125
LawOfDemeter Call to `getUnion` on foreign value `this.mediatorStrategy` (degree 1) 126
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 134
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 135
LawOfDemeter Call to `getThreadUtil` on foreign value `this.mediatorUtils` (degree 1) 136
CommentSize Comment is too large: Line too long 140
CyclomaticComplexity The method 'beginInjection()' has a cyclomatic complexity of 11. 144
LawOfDemeter Call to `getProxyUtil` on foreign value `this.mediatorUtils` (degree 1) 147
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 154
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 158
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 159
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 162
LawOfDemeter Call to `getMultipartUtil` on foreign value `this.mediatorUtils` (degree 1) 163
LawOfDemeter Call to `getSoapUtil` on foreign value `this.mediatorUtils` (degree 1) 164
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 165
LawOfDemeter Call to `getHeader` on foreign value `this.mediatorMethod` (degree 1) 166
LawOfDemeter Call to `getCookiesUtil` on foreign value `this.mediatorUtils` (degree 1) 167
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 170
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 171
UseExplicitTypes Use Explicit Types 171
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 176
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 178
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 181
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 192
LocalVariableCouldBeFinal Local variable 'request' could be declared final 200
UseExplicitTypes Use Explicit Types 200
ShortVariable Avoid variables with short names like e 206
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 206
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 209
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 212
CyclomaticComplexity The method 'inject(String, boolean, String, AbstractCallableBit<?>, boolean)' has a cyclomatic complexity of 10. 223
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 224
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 225
LongVariable Avoid excessively long variable names like metadataInjectionProcess 226
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 228
CommentSize Comment is too large: Line too long 230
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 231
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 240
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 243
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 243
LongVariable Avoid excessively long variable names like httpRequestBuilder 256
LocalVariableCouldBeFinal Local variable 'httpRequestBuilder' could be declared final 256
UseExplicitTypes Use Explicit Types 256
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 261
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 262
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 263
LocalVariableCouldBeFinal Local variable 'body' could be declared final 265
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 268
UseExplicitTypes Use Explicit Types 268
LocalVariableCouldBeFinal Local variable 'colorReport' could be declared final 271
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 273
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 275
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 278
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 278
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 279
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 281
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 283
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 286
LocalVariableCouldBeFinal Local variable 'response' could be declared final 289
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.getMediatorUtils()` (degree 1) 289
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 293
LocalVariableCouldBeFinal Local variable 'headersResponse' could be declared final 300
LocalVariableCouldBeFinal Local variable 'sizeHeaders' could be declared final 304
LocalVariableCouldBeFinal Local variable 'size' could be declared final 309
LocalVariableCouldBeFinal Local variable 'decimalFormat' could be declared final 310
UseExplicitTypes Use Explicit Types 310
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 313
LocalVariableCouldBeFinal Local variable 'request' could be declared final 328
UseExplicitTypes Use Explicit Types 328
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 339
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 347
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 348
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 349
MethodArgumentCouldBeFinal Parameter 'urlObject' is not assigned and could be declared final 350
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 351
UseExplicitTypes Use Explicit Types 354
LawOfDemeter Call to `getListQueryString` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 356
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 356
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 357
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 360
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 366
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 368
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 370
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 374
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 391
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 392
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 393
LawOfDemeter Call to `getListHeader` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 399
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 406
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 424
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 425
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 426
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 427
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 430
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 430
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 431
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 433
CommentSize Comment is too large: Line too long 437
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 439
LocalVariableCouldBeFinal Local variable 'body' could be declared final 445
UseExplicitTypes Use Explicit Types 445
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 446
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 448
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 449
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 453
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 471
LocalVariableCouldBeFinal Local variable 'bodyPublisher' could be declared final 479
UseExplicitTypes Use Explicit Types 479
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 481
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 489
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 489
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 489
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 489
LocalVariableCouldBeFinal Local variable 'paramLeadFixed' could be declared final 491
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 497
CompareObjectsWithEquals Use equals() to compare object references. 497
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 499
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 516
CompareObjectsWithEquals Use equals() to compare object references. 516
LawOfDemeter Call to `getTamperingUtil` on foreign value `this.mediatorUtils` (degree 1) 517
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 522
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 522
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 522
LocalVariableCouldBeFinal Local variable 'query' could be declared final 523
ConfusingTernary Avoid if (x != y) ..; else ..; 525539
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 534
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 541
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 541
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 544
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 544
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 544
LocalVariableCouldBeFinal Local variable 'query' could be declared final 545
ConfusingTernary Avoid if (x != y) ..; else ..; 550566
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 553
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 553
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 561
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 564
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 564
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 574
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 574
CompareObjectsWithEquals Use equals() to compare object references. 577
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 577
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 579
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 580
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 587
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 597
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 597
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 599
CompareObjectsWithEquals Use equals() to compare object references. 600
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 600
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 602
CompareObjectsWithEquals Use equals() to compare object references. 622
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 622
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 642
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 642
MethodArgumentCouldBeFinal Parameter 'indexesInUrl' is not assigned and could be declared final 654
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 662
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 694
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 698
MethodArgumentCouldBeFinal Parameter 'isInit' is not assigned and could be declared final 698

model - com/jsql/model/MediatorUtils.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'MediatorUtils' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=40, WMC=40) 5
TooManyFields Too many fields 5188
LongVariable Avoid excessively long variable names like authenticationUtil 9
MethodArgumentCouldBeFinal Parameter 'cookiesUtil' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'multipartUtil' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'propertiesUtil' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'connectionUtil' is not assigned and could be declared final 105
LongVariable Avoid excessively long variable names like authenticationUtil 109
MethodArgumentCouldBeFinal Parameter 'authenticationUtil' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'gitUtil' is not assigned and could be declared final 113
MethodArgumentCouldBeFinal Parameter 'headerUtil' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'parameterUtil' is not assigned and could be declared final 121
MethodArgumentCouldBeFinal Parameter 'exceptionUtil' is not assigned and could be declared final 125
MethodArgumentCouldBeFinal Parameter 'soapUtil' is not assigned and could be declared final 129
MethodArgumentCouldBeFinal Parameter 'jsonUtil' is not assigned and could be declared final 133
MethodArgumentCouldBeFinal Parameter 'preferencesUtil' is not assigned and could be declared final 137
MethodArgumentCouldBeFinal Parameter 'proxyUtil' is not assigned and could be declared final 141
MethodArgumentCouldBeFinal Parameter 'threadUtil' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'tamperingUtil' is not assigned and could be declared final 149
MethodArgumentCouldBeFinal Parameter 'userAgentUtil' is not assigned and could be declared final 153
MethodArgumentCouldBeFinal Parameter 'csrfUtil' is not assigned and could be declared final 161
MethodArgumentCouldBeFinal Parameter 'digestUtil' is not assigned and could be declared final 169
MethodArgumentCouldBeFinal Parameter 'formUtil' is not assigned and could be declared final 177
MethodArgumentCouldBeFinal Parameter 'certificateUtil' is not assigned and could be declared final 185

model - com/jsql/model/accessible/CallableFile.java

Rule Violation Line
DataClass The class 'CallableFile' is suspected to be a Data Class (WOC=25.000%, NOPA=1, NOAM=3, WMC=9) 24
LongVariable Avoid excessively long variable names like suspendableReadFile 42
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 49
MethodArgumentCouldBeFinal Parameter 'injectionModel' 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 66
LocalVariableCouldBeFinal Local variable 'mapVendorReadable' could be declared final 66
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 67
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 67
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 68
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 68
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 69
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 69
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 71
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 72
LocalVariableCouldBeFinal Local variable 'readable' could be declared final 74
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 75
CompareObjectsWithEquals Use equals() to compare object references. 75
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 81

model - com/jsql/model/accessible/CallableHttpHead.java

Rule Violation Line
LongVariable Avoid excessively long variable names like metadataInjectionProcess 47
MethodArgumentCouldBeFinal Parameter 'urlAdminPage' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 53
LongVariable Avoid excessively long variable names like metadataInjectionProcess 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 53
CommentSize Comment is too large: Line too long 60
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 65
LongVariable Avoid excessively long variable names like builderHttpRequest 69
LocalVariableCouldBeFinal Local variable 'builderHttpRequest' could be declared final 69
UseExplicitTypes Use Explicit Types 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 75
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 78
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 90
UseExplicitTypes Use Explicit Types 90
CloseResource Ensure that resources like this HttpClient object are closed after use 91
LocalVariableCouldBeFinal Local variable 'httpClient' could be declared final 91
UseExplicitTypes Use Explicit Types 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 91
LocalVariableCouldBeFinal Local variable 'response' could be declared final 94
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 98
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 98
LocalVariableCouldBeFinal Local variable 'request' could be declared final 104
UseExplicitTypes Use Explicit Types 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 111
LocalVariableCouldBeFinal Local variable 'eMessageImplicit' could be declared final 112
UseExplicitTypes Use Explicit Types 112
LocalVariableCouldBeFinal Local variable 'eMessage' could be declared final 117

model - com/jsql/model/accessible/DataAccess.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 50
LongVariable Avoid excessively long variable names like SEPARATOR_CELL_RGX 52
CommentSize Comment is too large: Line too long 55
CommentSize Comment is too large: Line too long 80
CommentSize Comment is too large: Line too long 82
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 91
LinguisticNaming Linguistics Antipattern - The getter 'getDatabaseInfos' should not return void linguistically 99
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 102
UseExplicitTypes Use Explicit Types 102
UseExplicitTypes Use Explicit Types 104
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 116
LocalVariableCouldBeFinal Local variable 'versionDatabase' could be declared final 125
LocalVariableCouldBeFinal Local variable 'nameDatabase' could be declared final 126
LocalVariableCouldBeFinal Local variable 'username' could be declared final 127
LocalVariableCouldBeFinal Local variable 'infos' could be declared final 129
UseExplicitTypes Use Explicit Types 129
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 132
CommentSize Comment is too large: Too many lines 146154
CommentSize Comment is too large: Line too long 149
CommentSize Comment is too large: Line too long 150
CommentSize Comment is too large: Line too long 151
LocalVariableCouldBeFinal Local variable 'databases' could be declared final 157
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 161
UseExplicitTypes Use Explicit Types 161
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 163
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 172
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 177
UseExplicitTypes Use Explicit Types 177
LocalVariableCouldBeFinal Local variable 'databaseName' could be declared final 191
LocalVariableCouldBeFinal Local variable 'tableCount' could be declared final 192
LocalVariableCouldBeFinal Local variable 'newDatabase' could be declared final 194
UseExplicitTypes Use Explicit Types 194
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 194
LocalVariableCouldBeFinal Local variable 'request' could be declared final 198
UseExplicitTypes Use Explicit Types 198
CommentSize Comment is too large: Too many lines 205214
CommentSize Comment is too large: Line too long 208
CommentSize Comment is too large: Line too long 209
CommentSize Comment is too large: Line too long 210
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 215
LongVariable Avoid excessively long variable names like requestStartProgress 221
LocalVariableCouldBeFinal Local variable 'requestStartProgress' could be declared final 221
UseExplicitTypes Use Explicit Types 221
LocalVariableCouldBeFinal Local variable 'tableCount' could be declared final 226
UseExplicitTypes Use Explicit Types 226
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 230
UseExplicitTypes Use Explicit Types 230
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 232
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 241
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 246
UseExplicitTypes Use Explicit Types 246
LongVariable Avoid excessively long variable names like requestEndProgress 254
LocalVariableCouldBeFinal Local variable 'requestEndProgress' could be declared final 254
UseExplicitTypes Use Explicit Types 254
LocalVariableCouldBeFinal Local variable 'tables' could be declared final 264
LocalVariableCouldBeFinal Local variable 'tableName' could be declared final 268
LocalVariableCouldBeFinal Local variable 'rowCount' could be declared final 269
LocalVariableCouldBeFinal Local variable 'newTable' could be declared final 271
UseExplicitTypes Use Explicit Types 271
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 271
LocalVariableCouldBeFinal Local variable 'requestAddTables' could be declared final 275
UseExplicitTypes Use Explicit Types 275
CommentSize Comment is too large: Too many lines 282291
CommentSize Comment is too large: Line too long 284
CommentSize Comment is too large: Line too long 286
CommentSize Comment is too large: Line too long 287
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 292
LocalVariableCouldBeFinal Local variable 'columns' could be declared final 293
LongVariable Avoid excessively long variable names like requestStartProgress 296
LocalVariableCouldBeFinal Local variable 'requestStartProgress' could be declared final 296
UseExplicitTypes Use Explicit Types 296
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 304
UseExplicitTypes Use Explicit Types 304
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 315
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 320
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 321
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 325
UseExplicitTypes Use Explicit Types 325
LongVariable Avoid excessively long variable names like requestEndProgress 333
LocalVariableCouldBeFinal Local variable 'requestEndProgress' could be declared final 333
UseExplicitTypes Use Explicit Types 333
LocalVariableCouldBeFinal Local variable 'nameColumn' could be declared final 346
LocalVariableCouldBeFinal Local variable 'column' could be declared final 347
UseExplicitTypes Use Explicit Types 347
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 347
LocalVariableCouldBeFinal Local variable 'requestAddColumns' could be declared final 351
UseExplicitTypes Use Explicit Types 351
CommentSize Comment is too large: Too many lines 358367
CommentSize Comment is too large: Line too long 362
CommentSize Comment is too large: Line too long 363
MethodArgumentCouldBeFinal Parameter 'columnsBean' is not assigned and could be declared final 368
LocalVariableCouldBeFinal Local variable 'databaseBean' could be declared final 369
UseExplicitTypes Use Explicit Types 369
LocalVariableCouldBeFinal Local variable 'tableBean' could be declared final 370
UseExplicitTypes Use Explicit Types 370
LocalVariableCouldBeFinal Local variable 'rowCount' could be declared final 371
LocalVariableCouldBeFinal Local variable 'request' could be declared final 374
UseExplicitTypes Use Explicit Types 374
LocalVariableCouldBeFinal Local variable 'columnsName' could be declared final 380
LocalVariableCouldBeFinal Local variable 'columnBean' could be declared final 381
LocalVariableCouldBeFinal Local variable 'listValues' could be declared final 390
LocalVariableCouldBeFinal Local variable 'table' could be declared final 396
LocalVariableCouldBeFinal Local variable 'objectData' could be declared final 401
UseExplicitTypes Use Explicit Types 401
LongVariable Avoid excessively long variable names like requestCreateValuesTab 403
LocalVariableCouldBeFinal Local variable 'requestCreateValuesTab' could be declared final 403
UseExplicitTypes Use Explicit Types 403
LongVariable Avoid excessively long variable names like requestEndProgress 408
LocalVariableCouldBeFinal Local variable 'requestEndProgress' could be declared final 408
UseExplicitTypes Use Explicit Types 408
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 415
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 415
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 415
MethodArgumentCouldBeFinal Parameter 'columns' is not assigned and could be declared final 415
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 419
UseExplicitTypes Use Explicit Types 419
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 421
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 430
ShortVariable Avoid variables with short names like e 436
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 436
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 436
MethodArgumentCouldBeFinal Parameter 'columnsName' is not assigned and could be declared final 449
MethodArgumentCouldBeFinal Parameter 'values' is not assigned and could be declared final 449
LocalVariableCouldBeFinal Local variable 'table' could be declared final 451
UseExplicitTypes Use Explicit Types 451
UseExplicitTypes Use Explicit Types 453
UseExplicitTypes Use Explicit Types 454
UseExplicitTypes Use Explicit Types 456
LocalVariableCouldBeFinal Local variable 'logIndexRow' could be declared final 467

model - com/jsql/model/accessible/ExploitMode.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'keyLabel' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'keyTooltip' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 17

model - com/jsql/model/accessible/ResourceAccess.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 11716
CouplingBetweenObjects A value of 25 may denote a high amount of coupling within the class (threshold: 20) 11716
GodClass Possible God Class (WMC=87, ATFD=63, TCC=16.559%) 53
CyclomaticComplexity The class 'ResourceAccess' has a total cyclomatic complexity of 87 (highest 11). 53
TooManyMethods This class has too many methods, consider refactoring it. 53716
LongVariable Avoid excessively long variable names like isSearchAdminStopped 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchAdminStopped' 60
AvoidFieldNameMatchingMethodName Field isSearchAdminStopped has the same name as a method 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanStopped' 65
AvoidFieldNameMatchingMethodName Field isScanStopped has the same name as a method 65
LongVariable Avoid excessively long variable names like isSearchFileStopped 71
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchFileStopped' 71
LongVariable Avoid excessively long variable names like WEB_CONFIRM_RESULT 88
LongVariable Avoid excessively long variable names like SQL_CONFIRM_RESULT 90
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 135
MethodArgumentCouldBeFinal Parameter 'pageNames' is not assigned and could be declared final 135
LocalVariableCouldBeFinal Local variable 'matcher' could be declared final 136
UseExplicitTypes Use Explicit Types 136
LocalVariableCouldBeFinal Local variable 'urlProtocol' could be declared final 138
LongVariable Avoid excessively long variable names like urlWithoutProtocol 139
LocalVariableCouldBeFinal Local variable 'folderSplits' could be declared final 141
LocalVariableCouldBeFinal Local variable 'splits' could be declared final 147
LocalVariableCouldBeFinal Local variable 'folderNames' could be declared final 148
LocalVariableCouldBeFinal Local variable 'folderName' could be declared final 149
CloseResource Ensure that resources like this ExecutorService object are closed after use 153
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 153
LongVariable Avoid excessively long variable names like taskCompletionService 154
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 154
LocalVariableCouldBeFinal Local variable 'urlPart' could be declared final 156
UseExplicitTypes Use Explicit Types 156
LocalVariableCouldBeFinal Local variable 'segment' could be declared final 157
LocalVariableCouldBeFinal Local variable 'pageName' could be declared final 159
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 161165
UseExplicitTypes Use Explicit Types 170
LocalVariableCouldBeFinal Local variable 'submittedTasks' could be declared final 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 181
LongVariable Avoid excessively long variable names like taskCompletionService 188
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 188
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 188
LongVariable Avoid excessively long variable names like nbAdminPagesFoundFixed 189
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 192
LocalVariableCouldBeFinal Local variable 'request' could be declared final 194
UseExplicitTypes Use Explicit Types 194
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 204
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 211
MethodArgumentCouldBeFinal Parameter 'submittedTasks' is not assigned and could be declared final 211
MethodArgumentCouldBeFinal Parameter 'tasksHandled' is not assigned and could be declared final 211
LocalVariableCouldBeFinal Local variable 'result' could be declared final 212
UseExplicitTypes Use Explicit Types 212
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 227
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 234
LongVariable Avoid excessively long variable names like urlWithoutProtocol 236
LocalVariableCouldBeFinal Local variable 'urlWithoutProtocol' could be declared final 236
LocalVariableCouldBeFinal Local variable 'urlProtocol' could be declared final 237
AvoidLiteralsInIfCondition Avoid using literals such as "/" in if statements 238
LocalVariableCouldBeFinal Local variable 'directoryNames' could be declared final 244
LongVariable Avoid excessively long variable names like urlWithoutFileName 245
LocalVariableCouldBeFinal Local variable 'urlWithoutFileName' could be declared final 245
LocalVariableCouldBeFinal Local variable 'directoryName' could be declared final 249
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 261
MethodArgumentCouldBeFinal Parameter 'directoryNames' is not assigned and could be declared final 261
MethodArgumentCouldBeFinal Parameter 'urlProtocol' is not assigned and could be declared final 261
CloseResource Ensure that resources like this ExecutorService object are closed after use 262
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 262
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 262
LongVariable Avoid excessively long variable names like taskCompletionService 263
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 263
LocalVariableCouldBeFinal Local variable 'urlPart' could be declared final 264
UseExplicitTypes Use Explicit Types 264
LocalVariableCouldBeFinal Local variable 'segment' could be declared final 266
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 269273
LocalVariableCouldBeFinal Local variable 'submittedTasks' could be declared final 278
UseExplicitTypes Use Explicit Types 279
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 281
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 289
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 295
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 299
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 303
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 303
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 303
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 307
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 311
UseExplicitTypes Use Explicit Types 311
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 333
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 333
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 333
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 336
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 336
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 336
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 336
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 336
LocalVariableCouldBeFinal Local variable 'request' could be declared final 344
UseExplicitTypes Use Explicit Types 344
CommentSize Comment is too large: Line too long 352
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 359
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 359
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 359
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 363
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 363
LongVariable Avoid excessively long variable names like isResultSentToView 363
MethodArgumentCouldBeFinal Parameter 'isResultSentToView' is not assigned and could be declared final 363
LocalVariableCouldBeFinal Local variable 'listRows' could be declared final 373
LocalVariableCouldBeFinal Local variable 'listFieldsLength' could be declared final 377
LocalVariableCouldBeFinal Local variable 'request' could be declared final 387
UseExplicitTypes Use Explicit Types 387
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 395
MethodArgumentCouldBeFinal Parameter 'listFieldsLength' is not assigned and could be declared final 395
LocalVariableCouldBeFinal Local variable 'tableText' could be declared final 396
UseExplicitTypes Use Explicit Types 396
LocalVariableCouldBeFinal Local variable 'fieldLength' could be declared final 397
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 398
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 400
LocalVariableCouldBeFinal Local variable 'listFields' could be declared final 401
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 402
UseExplicitTypes Use Explicit Types 403
LocalVariableCouldBeFinal Local variable 'field' could be declared final 404
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 411
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 413
LocalVariableCouldBeFinal Local variable 'fieldLength' could be declared final 414
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 415
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 417
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 421
LocalVariableCouldBeFinal Local variable 'listFieldsLength' could be declared final 422
LongVariable Avoid excessively long variable names like indexLongestRowSearch 424
UseExplicitTypes Use Explicit Types 424
LongVariable Avoid excessively long variable names like indexLongestRowSearchFinal 428
LocalVariableCouldBeFinal Local variable 'indexLongestRowSearchFinal' could be declared final 428
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 437
LocalVariableCouldBeFinal Local variable 'listRows' could be declared final 438
LocalVariableCouldBeFinal Local variable 'rowsMatcher' could be declared final 439
UseExplicitTypes Use Explicit Types 439
LocalVariableCouldBeFinal Local variable 'values' could be declared final 441
LocalVariableCouldBeFinal Local variable 'fieldsMatcher' could be declared final 442
UseExplicitTypes Use Explicit Types 442
LocalVariableCouldBeFinal Local variable 'listFields' could be declared final 443
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 443
LocalVariableCouldBeFinal Local variable 'field' could be declared final 447
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 454
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 454
MethodArgumentCouldBeFinal Parameter 'streamToUpload' is not assigned and could be declared final 454
PrematureDeclaration Declaration of 'crLf' can be moved closer to its usages 455
LocalVariableCouldBeFinal Local variable 'crLf' could be declared final 455
UseExplicitTypes Use Explicit Types 455
PrematureDeclaration Declaration of 'boundary' can be moved closer to its usages 456
LocalVariableCouldBeFinal Local variable 'boundary' could be declared final 456
UseExplicitTypes Use Explicit Types 456
LocalVariableCouldBeFinal Local variable 'streamData' could be declared final 458
UseExplicitTypes Use Explicit Types 458
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 464
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 465
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 466
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 467
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 472
UseExplicitTypes Use Explicit Types 472
LocalVariableCouldBeFinal Local variable 'response' could be declared final 485
UseExplicitTypes Use Explicit Types 485
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 485
LocalVariableCouldBeFinal Local variable 'httpHeaders' could be declared final 486
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 487
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 489
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 489
LocalVariableCouldBeFinal Local variable 'request' could be declared final 495
UseExplicitTypes Use Explicit Types 495
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 508
UseExplicitTypes Use Explicit Types 508
LocalVariableCouldBeFinal Local variable 'resultInjection' could be declared final 509
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 510
LocalVariableCouldBeFinal Local variable 'request' could be declared final 522
UseExplicitTypes Use Explicit Types 522
AvoidLiteralsInIfCondition Avoid using literals such as "false" in if statements 525
LocalVariableCouldBeFinal Local variable 'request' could be declared final 527
UseExplicitTypes Use Explicit Types 527
LocalVariableCouldBeFinal Local variable 'request' could be declared final 531
UseExplicitTypes Use Explicit Types 531
CommentSize Comment is too large: Too many lines 540548
CommentSize Comment is too large: Line too long 541
CyclomaticComplexity The method 'readFile(List<String>)' has a cyclomatic complexity of 11. 549
MethodArgumentCouldBeFinal Parameter 'pathsFiles' is not assigned and could be declared final 549
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 551
CompareObjectsWithEquals Use equals() to compare object references. 551
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 554
UseExplicitTypes Use Explicit Types 557
LocalVariableCouldBeFinal Local variable 'results' could be declared final 558
UseExplicitTypes Use Explicit Types 558
CloseResource Ensure that resources like this ExecutorService object are closed after use 560
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 560
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 560
LongVariable Avoid excessively long variable names like taskCompletionService 561
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 561
LocalVariableCouldBeFinal Local variable 'pathFile' could be declared final 563
LocalVariableCouldBeFinal Local variable 'callableFile' could be declared final 564
UseExplicitTypes Use Explicit Types 564
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 564
LocalVariableCouldBeFinal Local variable 'duplicate' could be declared final 569
LocalVariableCouldBeFinal Local variable 'submittedTasks' could be declared final 570
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 578
UseExplicitTypes Use Explicit Types 578
LocalVariableCouldBeFinal Local variable 'name' could be declared final 580
UseExplicitTypes Use Explicit Types 580
LocalVariableCouldBeFinal Local variable 'content' could be declared final 583
LocalVariableCouldBeFinal Local variable 'path' could be declared final 584
LocalVariableCouldBeFinal Local variable 'request' could be declared final 586
UseExplicitTypes Use Explicit Types 586
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 586
LocalVariableCouldBeFinal Local variable 'callableReadFile' could be declared final 607
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callableReadFile` (degree 1) 608
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 611
LocalVariableCouldBeFinal Local variable 'result' could be declared final 614
UseExplicitTypes Use Explicit Types 614
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 630
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 630
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 631
UseExplicitTypes Use Explicit Types 631
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 642
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 642
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 643
UseExplicitTypes Use Explicit Types 643
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 645652
LocalVariableCouldBeFinal Local variable 'callable' could be declared final 665
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callable` (degree 1) 666
MethodArgumentCouldBeFinal Parameter 'isScanStopped' is not assigned and could be declared final 697

model - com/jsql/model/accessible/vendor/ExploitDerby.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 36
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 38
UseExplicitTypes Use Explicit Types 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 40
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 45
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 48
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 49
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 54
UseExplicitTypes Use Explicit Types 54
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 55
UseExplicitTypes Use Explicit Types 55
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 57
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 64
LocalVariableCouldBeFinal Local variable 'result' could be declared final 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 65
LocalVariableCouldBeFinal Local variable 'request' could be declared final 72
UseExplicitTypes Use Explicit Types 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 82
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 83
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 89
UseExplicitTypes Use Explicit Types 89
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 90
UseExplicitTypes Use Explicit Types 90
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 92
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 99
LocalVariableCouldBeFinal Local variable 'result' could be declared final 101
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 101
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 109
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 116
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 119
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 121
UseExplicitTypes Use Explicit Types 121
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 123
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 129

model - com/jsql/model/accessible/vendor/ExploitH2.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 36
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 38
UseExplicitTypes Use Explicit Types 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 40
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 48
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 49
LocalVariableCouldBeFinal Local variable 'result' could be declared final 50
UseExplicitTypes Use Explicit Types 50
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 50
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 51
LocalVariableCouldBeFinal Local variable 'request' could be declared final 56
UseExplicitTypes Use Explicit Types 56
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 63
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 63
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 66
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 67
LocalVariableCouldBeFinal Local variable 'request' could be declared final 73
UseExplicitTypes Use Explicit Types 73
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 80
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 80
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 83
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 89
UseExplicitTypes Use Explicit Types 89
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 91
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 95
UseExplicitTypes Use Explicit Types 95
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 97
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 102
LocalVariableCouldBeFinal Local variable 'result' could be declared final 103
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 103
LocalVariableCouldBeFinal Local variable 'request' could be declared final 110
UseExplicitTypes Use Explicit Types 110
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 117
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 120
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 122
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 127
UseExplicitTypes Use Explicit Types 127
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 129
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 133
UseExplicitTypes Use Explicit Types 133
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 135
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 140
LocalVariableCouldBeFinal Local variable 'result' could be declared final 142
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 142
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 157
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 160
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 163

model - com/jsql/model/accessible/vendor/ExploitHsqldb.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 37
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 39
UseExplicitTypes Use Explicit Types 39
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 41
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 46
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 49
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 50
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 55
UseExplicitTypes Use Explicit Types 55
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 56
UseExplicitTypes Use Explicit Types 56
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 58
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 64
LocalVariableCouldBeFinal Local variable 'result' could be declared final 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 65
LocalVariableCouldBeFinal Local variable 'request' could be declared final 72
UseExplicitTypes Use Explicit Types 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 82
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 83
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 89
UseExplicitTypes Use Explicit Types 89
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 90
UseExplicitTypes Use Explicit Types 90
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 92
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 98
LocalVariableCouldBeFinal Local variable 'result' could be declared final 100
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 100
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 108
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 115
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 118
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 120
UseExplicitTypes Use Explicit Types 120
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 122
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 128

model - com/jsql/model/accessible/vendor/ExploitMysql.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1522
TooManyMethods This class has too many methods, consider refactoring it. 37522
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 52
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 54
UseExplicitTypes Use Explicit Types 54
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 56
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 61
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 64
LocalVariableCouldBeFinal Local variable 'request' could be declared final 65
UseExplicitTypes Use Explicit Types 65
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 74
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 74
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 75
LocalVariableCouldBeFinal Local variable 'resultQuery' could be declared final 76
UseExplicitTypes Use Explicit Types 76
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 76
LocalVariableCouldBeFinal Local variable 'request' could be declared final 78
UseExplicitTypes Use Explicit Types 78
UseExplicitTypes Use Explicit Types 86
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 101
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 101
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 102
LocalVariableCouldBeFinal Local variable 'result' could be declared final 104
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 104
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 112
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 125
CyclomaticComplexity The method 'create(String, String, String, String, BinaryOperator<String>, String, ExploitMode)' has a cyclomatic complexity of 10. 125
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 127
LongVariable Avoid excessively long variable names like keyPropertyExploit 128
MethodArgumentCouldBeFinal Parameter 'keyPropertyExploit' is not assigned and could be declared final 128
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 130
LongVariable Avoid excessively long variable names like pathNetshareFolder 131
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 131
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 132
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 134
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 135
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 139
LocalVariableCouldBeFinal Local variable 'biPredConfirm' could be declared final 145
LocalVariableCouldBeFinal Local variable 'resultInjection' could be declared final 147
LocalVariableCouldBeFinal Local variable 'nbIndexesPrefix' could be declared final 154
UseExplicitTypes Use Explicit Types 154
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 154
LongVariable Avoid excessively long variable names like nameExploitValidated 155
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 171
LocalVariableCouldBeFinal Local variable 'nameExploitRandom' could be declared final 176
UseExplicitTypes Use Explicit Types 176
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 188
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 193
CyclomaticComplexity The method 'createUdf(String, ExploitMode)' has a cyclomatic complexity of 14. 196
LongVariable Avoid excessively long variable names like pathNetshareFolder 196
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 196
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 199
LocalVariableCouldBeFinal Local variable 'nbIndexesFound' could be declared final 203
UseExplicitTypes Use Explicit Types 203
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 203
UseExplicitTypes Use Explicit Types 204
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 204
LocalVariableCouldBeFinal Local variable 'nameLibrary' could be declared final 209
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 216
LinguisticNaming Linguistics Antipattern - The variable 'isSuccess' indicates linguistically it is a boolean, but it is 'String' 219
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 233
LocalVariableCouldBeFinal Local variable 'nameLibraryRandom' could be declared final 245
UseExplicitTypes Use Explicit Types 245
LocalVariableCouldBeFinal Local variable 'versionOsMachine' could be declared final 252
UseExplicitTypes Use Explicit Types 252
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 252
LocalVariableCouldBeFinal Local variable 'isWin' could be declared final 256
UseExplicitTypes Use Explicit Types 256
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 256
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 256
LocalVariableCouldBeFinal Local variable 'nameLibrary' could be declared final 257
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 267
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 268
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 269
MethodArgumentCouldBeFinal Parameter 'hexChunks' is not assigned and could be declared final 270
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 271
LongVariable Avoid excessively long variable names like nameExploitValidated 273
LocalVariableCouldBeFinal Local variable 'pattern' could be declared final 274
UseExplicitTypes Use Explicit Types 274
UseExplicitTypes Use Explicit Types 276
LocalVariableCouldBeFinal Local variable 'countUnionIndex' could be declared final 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 278
UseExplicitTypes Use Explicit Types 280
LocalVariableCouldBeFinal Local variable 'finalI' could be declared final 281
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 317
LongVariable Avoid excessively long variable names like pathNetshareFolder 318
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 318
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 319
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 320
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 321
LongVariable Avoid excessively long variable names like nameExploitValidated 323
LocalVariableCouldBeFinal Local variable 'pathShareEncoded' could be declared final 324
UseExplicitTypes Use Explicit Types 324
LocalVariableCouldBeFinal Local variable 'pattern' could be declared final 325
UseExplicitTypes Use Explicit Types 325
UseExplicitTypes Use Explicit Types 328
MethodArgumentCouldBeFinal Parameter 'bodyHexChunks' is not assigned and could be declared final 354
MethodArgumentCouldBeFinal Parameter 'pathRemoteFile' is not assigned and could be declared final 354
UseExplicitTypes Use Explicit Types 356
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 356
LocalVariableCouldBeFinal Local variable 'nameTableRandom' could be declared final 360
UseExplicitTypes Use Explicit Types 360
LocalVariableCouldBeFinal Local variable 'nameSchemaTable' could be declared final 361
UseExplicitTypes Use Explicit Types 361
UseExplicitTypes Use Explicit Types 366
LocalVariableCouldBeFinal Local variable 'chunk' could be declared final 379
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 402
MethodArgumentCouldBeFinal Parameter 'nameTableRandom' is not assigned and could be declared final 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 404408
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 404
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 414
LocalVariableCouldBeFinal Local variable 'confirm' could be declared final 420
UseExplicitTypes Use Explicit Types 420
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 420
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 423
LocalVariableCouldBeFinal Local variable 'request' could be declared final 427
UseExplicitTypes Use Explicit Types 427
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 434
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 435
UseExplicitTypes Use Explicit Types 435
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 449
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 449
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 452
LocalVariableCouldBeFinal Local variable 'request' could be declared final 459
UseExplicitTypes Use Explicit Types 459
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 466
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 469
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 481
LocalVariableCouldBeFinal Local variable 'fileData' could be declared final 483
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 490
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 490
LocalVariableCouldBeFinal Local variable 'fileData' could be declared final 492
LocalVariableCouldBeFinal Local variable 'copiedUncloaked' could be declared final 493
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 502
MethodArgumentCouldBeFinal Parameter 'bodyExploit' is not assigned and could be declared final 502
LocalVariableCouldBeFinal Local variable 'path' could be declared final 503
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 505
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 511
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 513

model - com/jsql/model/accessible/vendor/ExploitOracle.java

Rule Violation Line
LongVariable Avoid excessively long variable names like RCE_JAVA_UTIL_FUNC 27
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 29
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 31
UseExplicitTypes Use Explicit Types 31
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 33
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 38
LocalVariableCouldBeFinal Local variable 'nameDatabase' could be declared final 62
UseExplicitTypes Use Explicit Types 62
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 62
LocalVariableCouldBeFinal Local variable 'request' could be declared final 73
UseExplicitTypes Use Explicit Types 73
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 79
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 79
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 82
LocalVariableCouldBeFinal Local variable 'request' could be declared final 91
UseExplicitTypes Use Explicit Types 91

model - com/jsql/model/accessible/vendor/ExploitPostgres.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1594
TooManyMethods This class has too many methods, consider refactoring it. 35594
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 42
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 44
UseExplicitTypes Use Explicit Types 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 46
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 51
UseExplicitTypes Use Explicit Types 57
LinguisticNaming Linguistics Antipattern - The setter 'setRceProgramWhenActive' should not return any type except void linguistically 82
LocalVariableCouldBeFinal Local variable 'nameTempTable' could be declared final 84
UseExplicitTypes Use Explicit Types 84
LocalVariableCouldBeFinal Local variable 'result' could be declared final 94
UseExplicitTypes Use Explicit Types 94
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 94
LocalVariableCouldBeFinal Local variable 'request' could be declared final 100
UseExplicitTypes Use Explicit Types 100
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
LinguisticNaming Linguistics Antipattern - The setter 'setRceExtensionWhenActive' should not return any type except void linguistically 109
CognitiveComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cognitive complexity of 15, current threshold is 15 109
CyclomaticComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cyclomatic complexity of 10. 109
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'nameExtension' 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
LocalVariableCouldBeFinal Local variable 'ext' could be declared final 119
UseExplicitTypes Use Explicit Types 119
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 126
LongVariable Avoid excessively long variable names like plCreateBasicExtension 132
LocalVariableCouldBeFinal Local variable 'plCreateBasicExtension' could be declared final 132
LocalVariableCouldBeFinal Local variable 'result' could be declared final 140
UseExplicitTypes Use Explicit Types 140
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 140
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 145
LocalVariableCouldBeFinal Local variable 'functions' could be declared final 149
UseExplicitTypes Use Explicit Types 149
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 155
LocalVariableCouldBeFinal Local variable 'request' could be declared final 159
UseExplicitTypes Use Explicit Types 159
LinguisticNaming Linguistics Antipattern - The setter 'setRceLibraryWhenActive' should not return any type except void linguistically 166
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 166
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 168
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 173
UseExplicitTypes Use Explicit Types 173
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 179
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 181
UseExplicitTypes Use Explicit Types 181
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 182
LocalVariableCouldBeFinal Local variable 'result' could be declared final 191
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 191
AvoidDuplicateLiterals The String literal "%20" appears 10 times in this file; the first occurrence is on line 193 193
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 197
LocalVariableCouldBeFinal Local variable 'request' could be declared final 200
UseExplicitTypes Use Explicit Types 200
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 207
LocalVariableCouldBeFinal Local variable 'request' could be declared final 215
UseExplicitTypes Use Explicit Types 215
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 222
LocalVariableCouldBeFinal Local variable 'fileData' could be declared final 224
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 225
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 233
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 233
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 236
LocalVariableCouldBeFinal Local variable 'request' could be declared final 243
UseExplicitTypes Use Explicit Types 243
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 250
LocalVariableCouldBeFinal Local variable 'isSetup' could be declared final 251
PrematureDeclaration Declaration of 'pathResult' can be moved closer to its usages 252
LocalVariableCouldBeFinal Local variable 'pathResult' could be declared final 252
LocalVariableCouldBeFinal Local variable 'status' could be declared final 254
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 254
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 257
LocalVariableCouldBeFinal Local variable 'pathConf' could be declared final 260
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 260
LocalVariableCouldBeFinal Local variable 'loidConf' could be declared final 261
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 261
LocalVariableCouldBeFinal Local variable 'lengthConf' could be declared final 265
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 265
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 270
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 278
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 283
LocalVariableCouldBeFinal Local variable 'cmdArchive' could be declared final 285
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 285
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 288
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 291
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 293
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 296
LocalVariableCouldBeFinal Local variable 'loidResult' could be declared final 298
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 298
LocalVariableCouldBeFinal Local variable 'result' could be declared final 302
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 302
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 309
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 314
LocalVariableCouldBeFinal Local variable 'languages' could be declared final 320
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 320
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 326
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 332
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 332
LocalVariableCouldBeFinal Local variable 'request' could be declared final 339
UseExplicitTypes Use Explicit Types 339
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 346
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 346
LocalVariableCouldBeFinal Local variable 'nameTempTable' could be declared final 349
UseExplicitTypes Use Explicit Types 349
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 359
LocalVariableCouldBeFinal Local variable 'request' could be declared final 366
UseExplicitTypes Use Explicit Types 366
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 373
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 373
AvoidLiteralsInIfCondition Avoid using literals such as "sql" in if statements 376
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 383
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 388
LocalVariableCouldBeFinal Local variable 'request' could be declared final 400
UseExplicitTypes Use Explicit Types 400
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 407
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 407
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 408
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 409
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 414
UseExplicitTypes Use Explicit Types 414
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 414
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 420
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 422
UseExplicitTypes Use Explicit Types 422
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 423
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 429
LocalVariableCouldBeFinal Local variable 'result' could be declared final 430
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 430
LocalVariableCouldBeFinal Local variable 'request' could be declared final 437
UseExplicitTypes Use Explicit Types 437
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 444
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 447
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 447
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 447
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 447
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 447
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 448
LocalVariableCouldBeFinal Local variable 'resultQuery' could be declared final 449
UseExplicitTypes Use Explicit Types 449
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 449
LocalVariableCouldBeFinal Local variable 'request' could be declared final 458
UseExplicitTypes Use Explicit Types 458
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 467
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 468
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 473
UseExplicitTypes Use Explicit Types 473
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 473
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 479
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 481
UseExplicitTypes Use Explicit Types 481
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 482
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 488
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 491
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 491
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 491
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 492
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 493
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 498
UseExplicitTypes Use Explicit Types 498
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 498
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 506
UseExplicitTypes Use Explicit Types 506
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 507
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 513
LocalVariableCouldBeFinal Local variable 'result' could be declared final 515
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 515
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 515
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 523
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 530
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 533
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 538
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 549
UseExplicitTypes Use Explicit Types 549
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 549
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 550
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 554
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 555
LocalVariableCouldBeFinal Local variable 'nameLibraryRandom' could be declared final 561
UseExplicitTypes Use Explicit Types 561
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 563
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 567
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 571
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 577

model - com/jsql/model/accessible/vendor/ExploitSqlite.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 36
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 38
UseExplicitTypes Use Explicit Types 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 40
LocalVariableCouldBeFinal Local variable 'result' could be declared final 47
UseExplicitTypes Use Explicit Types 47
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 47
LocalVariableCouldBeFinal Local variable 'request' could be declared final 53
UseExplicitTypes Use Explicit Types 53
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 60
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 63
LocalVariableCouldBeFinal Local variable 'request' could be declared final 70
UseExplicitTypes Use Explicit Types 70
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 77
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 77
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 80
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 81
LocalVariableCouldBeFinal Local variable 'nameDbRandom' could be declared final 85
UseExplicitTypes Use Explicit Types 85
LocalVariableCouldBeFinal Local variable 'nameTableRandom' could be declared final 86
UseExplicitTypes Use Explicit Types 86
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 87
UseExplicitTypes Use Explicit Types 87
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 95
LocalVariableCouldBeFinal Local variable 'result' could be declared final 96
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 96
LocalVariableCouldBeFinal Local variable 'request' could be declared final 104
UseExplicitTypes Use Explicit Types 104
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 111
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 114
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 114
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 114
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 115
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 116
LocalVariableCouldBeFinal Local variable 'nameDbRandom' could be declared final 120
UseExplicitTypes Use Explicit Types 120
LocalVariableCouldBeFinal Local variable 'nameTableRandom' could be declared final 121
UseExplicitTypes Use Explicit Types 121
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 122
UseExplicitTypes Use Explicit Types 122
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 130
LocalVariableCouldBeFinal Local variable 'result' could be declared final 132
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 132
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 132
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 140
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 147
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 154

model - com/jsql/model/accessible/vendor/derby/File.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 31

model - com/jsql/model/accessible/vendor/derby/ModelYamlDerby.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 11

model - com/jsql/model/accessible/vendor/h2/File.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'readFromPath' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'readFromTempTable' is not assigned and could be declared final 31

model - com/jsql/model/accessible/vendor/h2/ModelYamlH2.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3
DataClass The class 'ModelYamlH2' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3
MethodArgumentCouldBeFinal Parameter 'rce' is not assigned and could be declared final 12
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 20

model - com/jsql/model/accessible/vendor/h2/Rce.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'Rce' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'callCsvWrite' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'scriptSimple' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'dropAlias' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'createAlias' is not assigned and could be declared final 50
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 58

model - com/jsql/model/accessible/vendor/hsqldb/File.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 5
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 22

model - com/jsql/model/accessible/vendor/hsqldb/ModelYamlHsqldb.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 11

model - com/jsql/model/accessible/vendor/hsqldb/Read.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'performImport' is not assigned and could be declared final 31

model - com/jsql/model/accessible/vendor/mysql/AddFile.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'AddFile' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'queryBody' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'netshare' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 33

model - com/jsql/model/accessible/vendor/mysql/AddFunction.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'AddFunction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 33

model - com/jsql/model/accessible/vendor/mysql/File.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'privilege' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 24

model - com/jsql/model/accessible/vendor/mysql/ModelYamlMysql.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
AtLeastOneConstructor Each class should declare at least one constructor 6
DataClass The class 'ModelYamlMysql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 6
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 23

model - com/jsql/model/accessible/vendor/mysql/TempTable.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 7
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'insertChunks' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'appendChunks' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'dump' is not assigned and could be declared final 69

model - com/jsql/model/accessible/vendor/mysql/Udf.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 7
MethodArgumentCouldBeFinal Parameter 'pathPlugin' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'osMachine' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'addFile' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'addFunction' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 51

model - com/jsql/model/accessible/vendor/oracle/ModelYamlOracle.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
AtLeastOneConstructor Each class should declare at least one constructor 6
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 14

model - com/jsql/model/accessible/vendor/oracle/Udf.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 8
MethodArgumentCouldBeFinal Parameter 'dropSource' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'addSource' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'grant' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 70

model - com/jsql/model/accessible/vendor/postgres/Archive.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Archive' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 7
MethodArgumentCouldBeFinal Parameter 'getPathConf' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'getStatus' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'getConfLength' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'putCmd' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'reloadConf' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'getCmd' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'runWal' is not assigned and could be declared final 69

model - com/jsql/model/accessible/vendor/postgres/Confirm.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Confirm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'funcExists' is not assigned and could be declared final 24

model - com/jsql/model/accessible/vendor/postgres/Extension.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'languages' is not assigned and could be declared final 24

model - com/jsql/model/accessible/vendor/postgres/File.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 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 5
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 22

model - com/jsql/model/accessible/vendor/postgres/LargeObject.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'LargeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 7
MethodArgumentCouldBeFinal Parameter 'fromPath' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'toText' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'fromText' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'toFile' is not assigned and could be declared final 42

model - com/jsql/model/accessible/vendor/postgres/Library.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Library' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 7
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'createFunction' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'loFromText' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'loToFile' is not assigned and could be declared final 51

model - com/jsql/model/accessible/vendor/postgres/ModelYamlPostgres.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
AtLeastOneConstructor Each class should declare at least one constructor 6
DataClass The class 'ModelYamlPostgres' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 6
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 23

model - com/jsql/model/accessible/vendor/postgres/Program.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Program' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 7
MethodArgumentCouldBeFinal Parameter 'run' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'getResult' is not assigned and could be declared final 24

model - com/jsql/model/accessible/vendor/postgres/Read.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'fromDataFolder' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'fromTempTable' is not assigned and could be declared final 33

model - com/jsql/model/accessible/vendor/postgres/Sql.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Sql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 7
MethodArgumentCouldBeFinal Parameter 'dropTable' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'resultCmd' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'clean' is not assigned and could be declared final 61
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 69

model - com/jsql/model/accessible/vendor/postgres/TempTable.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'add' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'fill' is not assigned and could be declared final 33

model - com/jsql/model/accessible/vendor/postgres/Udf.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=26, WMC=26) 7
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'plpython' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'plperl' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'plsh' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'sql' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'archive' is not assigned and could be declared final 83
MethodArgumentCouldBeFinal Parameter 'program' is not assigned and could be declared final 91
MethodArgumentCouldBeFinal Parameter 'pltcl' is not assigned and could be declared final 99
MethodArgumentCouldBeFinal Parameter 'plr' is not assigned and could be declared final 107
MethodArgumentCouldBeFinal Parameter 'pllua' is not assigned and could be declared final 115
MethodArgumentCouldBeFinal Parameter 'library' is not assigned and could be declared final 123

model - com/jsql/model/accessible/vendor/postgres/Write.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 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 5
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 22

model - com/jsql/model/accessible/vendor/sqlite/Extension.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
AtLeastOneConstructor Each class should declare at least one constructor 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 7
MethodArgumentCouldBeFinal Parameter 'fileioRead' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'fileioWrite' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'fileioLs' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'exec' is not assigned and could be declared final 42

model - com/jsql/model/accessible/vendor/sqlite/ModelYamlSqlite.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'ModelYamlSqlite' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'writeFile' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 34

model - com/jsql/model/bean/database/AbstractElementDatabase.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 15
CommentSize Comment is too large: Line too long 17
CommentSize Comment is too large: Line too long 19
AtLeastOneConstructor Each class should declare at least one constructor 21
MethodArgumentCouldBeFinal Parameter 'elementValue' is not assigned and could be declared final 53

model - com/jsql/model/bean/database/Column.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
MethodArgumentCouldBeFinal Parameter 'newColumnName' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'newTableName' is not assigned and could be declared final 27

model - com/jsql/model/bean/database/Database.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 32
MethodArgumentCouldBeFinal Parameter 'databaseName' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'tableCount' is not assigned and could be declared final 32
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 59

model - com/jsql/model/bean/database/MockElement.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3

model - com/jsql/model/bean/database/Table.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 37
MethodArgumentCouldBeFinal Parameter 'tableName' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'parentDatabase' is not assigned and could be declared final 37
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 69

model - com/jsql/model/bean/util/Header.java

Rule Violation Line
LongVariable Avoid excessively long variable names like INDEX_ERROR_STRATEGY 9

model - com/jsql/model/bean/util/HttpHeader.java

Rule Violation Line
DataClass The class 'HttpHeader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=5, WMC=7) 8
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'post' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 44

model - com/jsql/model/bean/util/Interaction.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3
LongVariable Avoid excessively long variable names like CREATE_ADMIN_PAGE_TAB 9
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_WEB 11
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_SQL 12
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_MYSQL 13
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_ORACLE 14
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_EXTENSION_POSTGRES 15
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_WAL_POSTGRES 16
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_LIBRARY_POSTGRES 17
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_PROGRAM_POSTGRES 18
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_SQLITE 19
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_H2 20
LongVariable Avoid excessively long variable names like CREATE_ANALYSIS_REPORT 22
LongVariable Avoid excessively long variable names like START_INDETERMINATE_PROGRESS 26
LongVariable Avoid excessively long variable names like END_INDETERMINATE_PROGRESS 27
LongVariable Avoid excessively long variable names like MARK_FILE_SYSTEM_INVULNERABLE 31
LongVariable Avoid excessively long variable names like MARK_FILE_SYSTEM_VULNERABLE 32
LongVariable Avoid excessively long variable names like GET_TERMINAL_RESULT 33
LongVariable Avoid excessively long variable names like MARK_MULTIBIT_INVULNERABLE 35
LongVariable Avoid excessively long variable names like MARK_MULTIBIT_STRATEGY 36
LongVariable Avoid excessively long variable names like MARK_MULTIBIT_VULNERABLE 37
LongVariable Avoid excessively long variable names like MARK_BLIND_BIT_INVULNERABLE 38
LongVariable Avoid excessively long variable names like MARK_BLIND_BIT_STRATEGY 39
LongVariable Avoid excessively long variable names like MARK_BLIND_BIT_VULNERABLE 40
LongVariable Avoid excessively long variable names like MARK_BLIND_BIN_INVULNERABLE 41
LongVariable Avoid excessively long variable names like MARK_BLIND_BIN_STRATEGY 42
LongVariable Avoid excessively long variable names like MARK_BLIND_BIN_VULNERABLE 43
LongVariable Avoid excessively long variable names like MARK_ERROR_INVULNERABLE 44
LongVariable Avoid excessively long variable names like MARK_ERROR_STRATEGY 45
LongVariable Avoid excessively long variable names like MARK_ERROR_VULNERABLE 46
LongVariable Avoid excessively long variable names like MARK_UNION_INVULNERABLE 47
LongVariable Avoid excessively long variable names like MARK_UNION_STRATEGY 48
LongVariable Avoid excessively long variable names like MARK_UNION_VULNERABLE 49
LongVariable Avoid excessively long variable names like MARK_TIME_INVULNERABLE 50
LongVariable Avoid excessively long variable names like MARK_TIME_STRATEGY 51
LongVariable Avoid excessively long variable names like MARK_TIME_VULNERABLE 52
LongVariable Avoid excessively long variable names like MARK_STACK_INVULNERABLE 53
LongVariable Avoid excessively long variable names like MARK_STACK_STRATEGY 54
LongVariable Avoid excessively long variable names like MARK_STACK_VULNERABLE 55
LongVariable Avoid excessively long variable names like MARK_DNS_INVULNERABLE 56
LongVariable Avoid excessively long variable names like MARK_DNS_VULNERABLE 58
LongVariable Avoid excessively long variable names like DATABASE_IDENTIFIED 65
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 71

model - com/jsql/model/bean/util/Request.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
AtLeastOneConstructor Each class should declare at least one constructor 17
DataClass The class 'Request' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 17
MethodReturnsInternalArray Returning 'parameters' may expose an internal array. 37
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'parameters' is not assigned and could be declared final 44
ArrayIsStoredDirectly The user-supplied array 'parameters' is stored directly. 45

model - com/jsql/model/exception/AbstractSlidingException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 5
LongVariable Avoid excessively long variable names like slidingWindowAllRows 7
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 9
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 11
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 18
ShortVariable Avoid variables with short names like e 18
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 25
LongVariable Avoid excessively long variable names like slidingWindowAllRows 25
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 35
LongVariable Avoid excessively long variable names like slidingWindowAllRows 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 35
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 35

model - com/jsql/model/exception/InjectionFailureException.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 24
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 28
ShortVariable Avoid variables with short names like e 28
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 28

model - com/jsql/model/exception/JSqlException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 9
ShortVariable Avoid variables with short names like e 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 9
ShortVariable Avoid variables with short names like e 13
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 13

model - com/jsql/model/exception/JSqlRuntimeException.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 9
ShortVariable Avoid variables with short names like e 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 9
ShortVariable Avoid variables with short names like e 13
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 13

model - com/jsql/model/exception/LoopDetectedSlidingException.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
LongVariable Avoid excessively long variable names like slidingWindowAllRows 20
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 20
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 20
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 20

model - com/jsql/model/exception/StoppedByUserSlidingException.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
LongVariable Avoid excessively long variable names like STR_STOPPED_BY_USER 20
LongVariable Avoid excessively long variable names like slidingWindowAllRows 26
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 26
LongVariable Avoid excessively long variable names like slidingWindowAllRows 30
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 30
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 30
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 30

model - com/jsql/model/injection/method/AbstractMethodInjection.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 34
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
CommentSize Comment is too large: Line too long 48
CommentSize Comment is too large: Line too long 51
PrematureDeclaration Declaration of 'hasFoundInjection' can be moved closer to its usages 54
UseExplicitTypes Use Explicit Types 54
UnusedAssignment The initializer for variable 'hasFoundInjection' is never used (overwritten on lines 73, 75 and 77) 54
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
CompareObjectsWithEquals Use equals() to compare object references. 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 62
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 66
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 71
ConfusingTernary Avoid if (x != y) ..; else ..; 7478
LocalVariableCouldBeFinal Local variable 'parameterToInject' could be declared final 83
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 87
LocalVariableCouldBeFinal Local variable 'parameterToInject' could be declared final 97
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 100
LocalVariableCouldBeFinal Local variable 'paramBase' could be declared final 112
LocalVariableCouldBeFinal Local variable 'paramStar' could be declared final 116
CompareObjectsWithEquals Use equals() to compare object references. 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 120
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 131
LocalVariableCouldBeFinal Local variable 'hasFoundInjection' could be declared final 132
LocalVariableCouldBeFinal Local variable 'jsonEntity' could be declared final 135
LocalVariableCouldBeFinal Local variable 'attributesJson' could be declared final 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 143
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 144
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 151
UseExplicitTypes Use Explicit Types 152
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 168

model - com/jsql/model/injection/method/MediatorMethod.java

Rule Violation Line
DataClass The class 'MediatorMethod' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 9
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 45
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 49
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 68

model - com/jsql/model/injection/strategy/AbstractStrategy.java

Rule Violation Line
LongVariable Avoid excessively long variable names like KEY_LOG_CHECKING_STRATEGY 25
LongVariable Avoid excessively long variable names like KEY_LOG_VULNERABLE 26
LongVariable Avoid excessively long variable names like FORMAT_STRATEGY_NOT_IMPLEMENTED 27
LongVariable Avoid excessively long variable names like FORMAT_SKIP_STRATEGY_DISABLED 28
LongVariable Avoid excessively long variable names like FORMAT_CHECKING_STRATEGY 29
RedundantFieldInitializer Avoid using redundant field initializer for 'isApplicable' 34
AvoidFieldNameMatchingMethodName Field isApplicable has the same name as a method 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 38
ShortVariable Avoid variables with short names like i 50
ShortVariable Avoid variables with short names like i 55
LongVariable Avoid excessively long variable names like metadataInjectionProcess 61
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 88
LongVariable Avoid excessively long variable names like indexErrorStrategy 88
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 88
LocalVariableCouldBeFinal Local variable 'request' could be declared final 89
UseExplicitTypes Use Explicit Types 89
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 92
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 93
MethodArgumentCouldBeFinal Parameter 'isApplicable' is not assigned and could be declared final 117

model - com/jsql/model/injection/strategy/DnsServer.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 26
LocalVariableCouldBeFinal Local variable 'port' could be declared final 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 37
LocalVariableCouldBeFinal Local variable 'domainName' could be declared final 38
UseExplicitTypes Use Explicit Types 38
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 38
UseExplicitTypes Use Explicit Types 40
LocalVariableCouldBeFinal Local variable 'buffer' could be declared final 44
LocalVariableCouldBeFinal Local variable 'packet' could be declared final 46
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 46
LocalVariableCouldBeFinal Local variable 'query' could be declared final 49
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 49
LocalVariableCouldBeFinal Local variable 'question' could be declared final 50
LocalVariableCouldBeFinal Local variable 'name' could be declared final 51
LocalVariableCouldBeFinal Local variable 'response' could be declared final 58
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 58
UseUnderscoresInNumericLiterals Number 86400 should separate every third digit with an underscore 67
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 68
LocalVariableCouldBeFinal Local variable 'responseData' could be declared final 74
LocalVariableCouldBeFinal Local variable 'responsePacket' could be declared final 75
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 7580

model - com/jsql/model/injection/strategy/MediatorStrategy.java

Rule Violation Line
DataClass The class 'MediatorStrategy' is suspected to be a Data Class (WOC=26.667%, NOPA=0, NOAM=11, WMC=31) 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 41
LocalVariableCouldBeFinal Local variable 'strategyName' could be declared final 57
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 57
UseExplicitTypes Use Explicit Types 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
CommentSize Comment is too large: Too many lines 6775
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 76
ConfusingTernary Avoid if (x != y) ..; else ..; 7991
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 96
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 117
CommentSize Comment is too large: Line too long 126
CommentSize Comment is too large: Line too long 129
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 131
LongVariable Avoid excessively long variable names like parameterOriginalValue 134
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 137
LongVariable Avoid excessively long variable names like characterInsertionByUser 149
LocalVariableCouldBeFinal Local variable 'characterInsertionByUser' could be declared final 149
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 149
LongVariable Avoid excessively long variable names like characterInsertion 151
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 151
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 151
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 159
LongVariable Avoid excessively long variable names like characterInsertion 160
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 160
LocalVariableCouldBeFinal Local variable 'urlBase' could be declared final 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 162
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 168
CompareObjectsWithEquals Use equals() to compare object references. 168
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 168
CommentSize Comment is too large: Line too long 172
LongVariable Avoid excessively long variable names like backupCharacterInsertion 180
LocalVariableCouldBeFinal Local variable 'backupCharacterInsertion' could be declared final 180
UseExplicitTypes Use Explicit Types 180
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 203
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 211
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 264

model - com/jsql/model/injection/strategy/StrategyBlindBin.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
LongVariable Avoid excessively long variable names like requestMessageBinary 62
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 62
UseExplicitTypes Use Explicit Types 62
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 71
ShortVariable Avoid variables with short names like i 96
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
ShortVariable Avoid variables with short names like i 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 117
LongVariable Avoid excessively long variable names like metadataInjectionProcess 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134
LocalVariableCouldBeFinal Local variable 'request' could be declared final 136
UseExplicitTypes Use Explicit Types 136

model - com/jsql/model/injection/strategy/StrategyBlindBit.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
LongVariable Avoid excessively long variable names like requestMessageBinary 62
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 62
UseExplicitTypes Use Explicit Types 62
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 71
ShortVariable Avoid variables with short names like i 96
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
ShortVariable Avoid variables with short names like i 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 117
LongVariable Avoid excessively long variable names like metadataInjectionProcess 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134
LocalVariableCouldBeFinal Local variable 'request' could be declared final 136
UseExplicitTypes Use Explicit Types 136

model - com/jsql/model/injection/strategy/StrategyDns.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 46
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 53
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 55
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 57
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 63
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 80
LongVariable Avoid excessively long variable names like vendorSpecificWithOperator 92
LocalVariableCouldBeFinal Local variable 'vendorSpecificWithOperator' could be declared final 92
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 92
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 102
LocalVariableCouldBeFinal Local variable 'domainName' could be declared final 106
UseExplicitTypes Use Explicit Types 106
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 106
ShortVariable Avoid variables with short names like i 125
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 129
ShortVariable Avoid variables with short names like i 143
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 148
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 148
LongVariable Avoid excessively long variable names like metadataInjectionProcess 148
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 148
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 149
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 150
LocalVariableCouldBeFinal Local variable 'domainName' could be declared final 161
UseExplicitTypes Use Explicit Types 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 161
LongVariable Avoid excessively long variable names like regexToMatchTamperTags 162
LocalVariableCouldBeFinal Local variable 'regexToMatchTamperTags' could be declared final 162
LocalVariableCouldBeFinal Local variable 'matcherSql' could be declared final 163
UseExplicitTypes Use Explicit Types 163
MethodArgumentCouldBeFinal Parameter 'maxTime' is not assigned and could be declared final 173
LocalVariableCouldBeFinal Local variable 'waitTime' could be declared final 177
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 178
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 182
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 192
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 200
LocalVariableCouldBeFinal Local variable 'request' could be declared final 202
UseExplicitTypes Use Explicit Types 202

model - com/jsql/model/injection/strategy/StrategyError.java

Rule Violation Line
LongVariable Avoid excessively long variable names like indexErrorStrategy 25
RedundantFieldInitializer Avoid using redundant field initializer for 'indexErrorStrategy' 25
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 27
LocalVariableCouldBeFinal Local variable 'strategyYaml' could be declared final 36
UseExplicitTypes Use Explicit Types 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 38
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 40
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 46
UseExplicitTypes Use Explicit Types 54
UseExplicitTypes Use Explicit Types 55
LocalVariableCouldBeFinal Local variable 'errorMethod' could be declared final 57
LongVariable Avoid excessively long variable names like methodIsApplicable 58
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 60
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 83
LongVariable Avoid excessively long variable names like methodIsApplicable 84
UseExplicitTypes Use Explicit Types 84
LongVariable Avoid excessively long variable names like performanceSourcePage 86
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 86
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 87
LocalVariableCouldBeFinal Local variable 'indexZeroToFind' could be declared final 91
UseExplicitTypes Use Explicit Types 91
LocalVariableCouldBeFinal Local variable 'regexIndexZero' could be declared final 92
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 100
LongVariable Avoid excessively long variable names like performanceErrorSourcePage 101
LocalVariableCouldBeFinal Local variable 'performanceErrorSourcePage' could be declared final 101
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 102
MethodArgumentCouldBeFinal Parameter 'indexErrorMethod' is not assigned and could be declared final 108
LongVariable Avoid excessively long variable names like errorCapacityDefault 108
MethodArgumentCouldBeFinal Parameter 'errorCapacityDefault' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'regexSearch' is not assigned and could be declared final 108
LongVariable Avoid excessively long variable names like errorCapacityImproved 109
UnusedAssignment The value assigned to field 'indexErrorStrategy' is never used (reassigned every iteration) 114
LongVariable Avoid excessively long variable names like logErrorCapacityImproved 120
LocalVariableCouldBeFinal Local variable 'logErrorCapacityImproved' could be declared final 120
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 133
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 146
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 159
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 164
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 164
LongVariable Avoid excessively long variable names like metadataInjectionProcess 164
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 164
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 166
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 173
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 179
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 182
LocalVariableCouldBeFinal Local variable 'request' could be declared final 184
UseExplicitTypes Use Explicit Types 184
LongVariable Avoid excessively long variable names like indexErrorStrategy 204
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 204

model - com/jsql/model/injection/strategy/StrategyMultibit.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
LongVariable Avoid excessively long variable names like requestMessageBinary 59
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 59
UseExplicitTypes Use Explicit Types 59
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 68
ShortVariable Avoid variables with short names like i 85
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 89
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 90
ShortVariable Avoid variables with short names like i 106
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 111
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 111
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 111
LongVariable Avoid excessively long variable names like metadataInjectionProcess 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 113
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 120
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 127
LocalVariableCouldBeFinal Local variable 'request' could be declared final 129
UseExplicitTypes Use Explicit Types 129

model - com/jsql/model/injection/strategy/StrategyStack.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 25
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 31
LocalVariableCouldBeFinal Local variable 'strategyYaml' could be declared final 38
UseExplicitTypes Use Explicit Types 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 38
LocalVariableCouldBeFinal Local variable 'configurationYaml' could be declared final 39
UseExplicitTypes Use Explicit Types 39
LongVariable Avoid excessively long variable names like methodIsApplicable 43
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 45
ConfusingTernary Avoid if (x != y) ..; else ..; 4656
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 72
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 72
LongVariable Avoid excessively long variable names like methodIsApplicable 73
UseExplicitTypes Use Explicit Types 73
LocalVariableCouldBeFinal Local variable 'indexZeroToFind' could be declared final 74
UseExplicitTypes Use Explicit Types 74
LongVariable Avoid excessively long variable names like performanceSourcePage 75
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 75
LocalVariableCouldBeFinal Local variable 'regexIndexZero' could be declared final 85
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 93
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 93
LongVariable Avoid excessively long variable names like performanceSourcePage 94
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 94
ShortVariable Avoid variables with short names like i 108
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 112
ShortVariable Avoid variables with short names like i 120
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 125
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 125
LongVariable Avoid excessively long variable names like metadataInjectionProcess 125
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 125
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 127
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 141
LocalVariableCouldBeFinal Local variable 'request' could be declared final 143
UseExplicitTypes Use Explicit Types 143

model - com/jsql/model/injection/strategy/StrategyTime.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
LongVariable Avoid excessively long variable names like requestMessageBinary 62
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 62
UseExplicitTypes Use Explicit Types 62
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 71
ShortVariable Avoid variables with short names like i 96
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
ShortVariable Avoid variables with short names like i 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 117
LongVariable Avoid excessively long variable names like metadataInjectionProcess 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 134
LocalVariableCouldBeFinal Local variable 'request' could be declared final 136
UseExplicitTypes Use Explicit Types 136

model - com/jsql/model/injection/strategy/StrategyUnion.java

Rule Violation Line
LongVariable Avoid excessively long variable names like sourceIndexesFound 29
RedundantFieldInitializer Avoid using redundant field initializer for 'nbIndexesFound' 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
CommentSize Comment is too large: Line too long 49
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 55
ShortVariable Avoid variables with short names like i 74
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 78
ShortVariable Avoid variables with short names like i 86
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 91
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 91
LongVariable Avoid excessively long variable names like metadataInjectionProcess 91
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 91
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 93
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 100
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 107
LocalVariableCouldBeFinal Local variable 'request' could be declared final 109
UseExplicitTypes Use Explicit Types 109
LongVariable Avoid excessively long variable names like firstSuccessPageSource 122
MethodArgumentCouldBeFinal Parameter 'firstSuccessPageSource' is not assigned and could be declared final 122
LocalVariableCouldBeFinal Local variable 'regexAllIndexes' could be declared final 125
UseExplicitTypes Use Explicit Types 126
LocalVariableCouldBeFinal Local variable 'foundIndexes' could be declared final 128
LocalVariableCouldBeFinal Local variable 'indexes' could be declared final 133
LongVariable Avoid excessively long variable names like regexAllExceptIndexesFound 136
LocalVariableCouldBeFinal Local variable 'regexAllExceptIndexesFound' could be declared final 136
LocalVariableCouldBeFinal Local variable 'performanceQuery' could be declared final 145
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 145
LongVariable Avoid excessively long variable names like performanceSourcePage 146
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 146
LongVariable Avoid excessively long variable names like performanceResults 152
LocalVariableCouldBeFinal Local variable 'performanceResults' could be declared final 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 159
LocalVariableCouldBeFinal Local variable 'lengthFields' could be declared final 165
UseExplicitTypes Use Explicit Types 165
UseExplicitTypes Use Explicit Types 167
LocalVariableCouldBeFinal Local variable 'bestLengthFields' could be declared final 176
LongVariable Avoid excessively long variable names like regexAllIndexesExceptBest 180
LocalVariableCouldBeFinal Local variable 'regexAllIndexesExceptBest' could be declared final 180
MethodArgumentCouldBeFinal Parameter 'visibleIndex' is not assigned and could be declared final 208
LongVariable Avoid excessively long variable names like sourceIndexesFound 212
MethodArgumentCouldBeFinal Parameter 'sourceIndexesFound' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'nbIndexesFound' is not assigned and could be declared final 220

model - com/jsql/model/injection/strategy/blind/AbstractInjectionBit.java

Rule Violation Line
ShortVariable Avoid variables with short names like OR 28
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 34
LongVariable Avoid excessively long variable names like taskCompletionService 49
LongVariable Avoid excessively long variable names like countTasksSubmitted 50
CyclomaticComplexity The method 'inject(String, AbstractSuspendable)' has a cyclomatic complexity of 10. 68
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 68
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 68
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 71
LocalVariableCouldBeFinal Local variable 'indexChar' could be declared final 72
UseExplicitTypes Use Explicit Types 72
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 75
LongVariable Avoid excessively long variable names like taskCompletionService 76
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 76
LongVariable Avoid excessively long variable names like countTasksSubmitted 78
LocalVariableCouldBeFinal Local variable 'countTasksSubmitted' could be declared final 78
UseExplicitTypes Use Explicit Types 78
LocalVariableCouldBeFinal Local variable 'countBadAsciiCode' could be declared final 79
UseExplicitTypes Use Explicit Types 79
LocalVariableCouldBeFinal Local variable 'result' could be declared final 87
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 92
UseExplicitTypes Use Explicit Types 92
CommentSize Comment is too large: Line too long 95
LocalVariableCouldBeFinal Local variable 'isComplete' could be declared final 97
UseExplicitTypes Use Explicit Types 97
LocalVariableCouldBeFinal Local variable 'result' could be declared final 102
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 109
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 120
LocalVariableCouldBeFinal Local variable 'result' could be declared final 121
UseExplicitTypes Use Explicit Types 121
LocalVariableCouldBeFinal Local variable 'c' could be declared final 122
LocalVariableCouldBeFinal Local variable 'charCode' could be declared final 124
UseExplicitTypes Use Explicit Types 124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 124
LocalVariableCouldBeFinal Local variable 'str' could be declared final 125
UseExplicitTypes Use Explicit Types 125
EmptyCatchBlock Avoid empty catch blocks 127129
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 135
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 137
LocalVariableCouldBeFinal Local variable 'maskAsciiChar' could be declared final 141
LocalVariableCouldBeFinal Local variable 'asciiCodeBit' could be declared final 142
UseExplicitTypes Use Explicit Types 142
UseExplicitTypes Use Explicit Types 143
LocalVariableCouldBeFinal Local variable 'asciiCode' could be declared final 147
UseExplicitTypes Use Explicit Types 147
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 149151
AvoidLiteralsInIfCondition Avoid using literals such as 15 in if statements 149
LocalVariableCouldBeFinal Local variable 'interaction' could be declared final 157
UseExplicitTypes Use Explicit Types 157
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 173
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 173
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 173
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 174
LocalVariableCouldBeFinal Local variable 'result' could be declared final 177
UseExplicitTypes Use Explicit Types 177
LocalVariableCouldBeFinal Local variable 'c' could be declared final 179
LocalVariableCouldBeFinal Local variable 'charCode' could be declared final 181
UseExplicitTypes Use Explicit Types 181
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 181
LocalVariableCouldBeFinal Local variable 'str' could be declared final 182
UseExplicitTypes Use Explicit Types 182
EmptyCatchBlock Avoid empty catch blocks 184187
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 197
LongVariable Avoid excessively long variable names like metadataInjectionProcess 197
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 197
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 201
LongVariable Avoid excessively long variable names like metadataInjectionProcess 201
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 201

model - com/jsql/model/injection/strategy/blind/AbstractInjectionMonobit.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 12
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 12
CommentDefaultAccessModifier Missing commented default access modifier on method 'getCallableBitTest(String, int, int)' 16
MissingOverride The method 'initNextChar(String, List<char[]>, AtomicInteger, CompletionService<T>, AtomicInteger, AtomicInteger, T)' is missing an @Override annotation. 18
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 20
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 21
LongVariable Avoid excessively long variable names like taskCompletionService 22
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 22
LongVariable Avoid excessively long variable names like countTasksSubmitted 23
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 23
CommentSize Comment is too large: Line too long 33
LocalVariableCouldBeFinal Local variable 'bit' could be declared final 35
MissingOverride The method 'initMaskAsciiChar(List<char[]>, T)' is missing an @Override annotation. 47
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 47
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 47
LocalVariableCouldBeFinal Local variable 'asciiCodeMask' could be declared final 48
LocalVariableCouldBeFinal Local variable 'positionInMask' could be declared final 49

model - com/jsql/model/injection/strategy/blind/InjectionBlindBin.java

Rule Violation Line
LongVariable Avoid excessively long variable names like sourceReferencePage 32
ImmutableField Field 'sourceReferencePage' may be declared final 32
CyclomaticComplexity The constructor 'InjectionBlindBin(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 48
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 48
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 48
LocalVariableCouldBeFinal Local variable 'falsys' could be declared final 51
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 51
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 57
CloseResource Ensure that resources like this ExecutorService object are closed after use 61
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 61
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
LocalVariableCouldBeFinal Local variable 'callablesFalsys' could be declared final 62
LocalVariableCouldBeFinal Local variable 'falsy' could be declared final 63
LocalVariableCouldBeFinal Local variable 'futuresFalsys' could be declared final 78
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 78
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 79
LocalVariableCouldBeFinal Local variable 'futureFalsy' could be declared final 80
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 94
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 104
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 104
CloseResource Ensure that resources like this ExecutorService object are closed after use 105
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 105
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 105
LocalVariableCouldBeFinal Local variable 'callablesTruthys' could be declared final 106
LocalVariableCouldBeFinal Local variable 'truthys' could be declared final 107
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 107
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 108
CommentSize Comment is too large: Line too long 119
LocalVariableCouldBeFinal Local variable 'futuresTruthys' could be declared final 121
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 122
LocalVariableCouldBeFinal Local variable 'futureTruthy' could be declared final 123
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 138
LocalVariableCouldBeFinal Local variable 'blindTest' could be declared final 152
UseExplicitTypes Use Explicit Types 152
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 153
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 162
CommentSize Comment is too large: Line too long 166
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 173
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 174
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 175
LongVariable Avoid excessively long variable names like taskCompletionService 176
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 176
LongVariable Avoid excessively long variable names like countTasksSubmitted 177
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 177
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 178
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 179
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 223
LocalVariableCouldBeFinal Local variable 'asciiCodeMask' could be declared final 230
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 236
MethodArgumentCouldBeFinal Parameter 'asciiCodeMask' is not assigned and could be declared final 244
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 244
LocalVariableCouldBeFinal Local variable 'binary' could be declared final 245
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 252
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 252

model - com/jsql/model/injection/strategy/blind/InjectionBlindBit.java

Rule Violation Line
LongVariable Avoid excessively long variable names like sourceReferencePage 27
ImmutableField Field 'sourceReferencePage' may be declared final 27
CyclomaticComplexity The constructor 'InjectionBlindBit(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 43
LocalVariableCouldBeFinal Local variable 'falsys' could be declared final 46
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 46
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 52
CloseResource Ensure that resources like this ExecutorService object are closed after use 56
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 56
LocalVariableCouldBeFinal Local variable 'callablesFalsys' could be declared final 57
LocalVariableCouldBeFinal Local variable 'falsy' could be declared final 58
LocalVariableCouldBeFinal Local variable 'futuresFalsys' could be declared final 72
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 73
LocalVariableCouldBeFinal Local variable 'futureFalsy' could be declared final 74
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 88
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 98
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 98
CloseResource Ensure that resources like this ExecutorService object are closed after use 99
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 99
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 99
LocalVariableCouldBeFinal Local variable 'callablesTruthys' could be declared final 100
LocalVariableCouldBeFinal Local variable 'truthys' could be declared final 101
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 101
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 102
CommentSize Comment is too large: Line too long 112
LocalVariableCouldBeFinal Local variable 'futuresTruthys' could be declared final 114
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 115
LocalVariableCouldBeFinal Local variable 'futureTruthy' could be declared final 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 131
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 136
LocalVariableCouldBeFinal Local variable 'callable' could be declared final 153
UseExplicitTypes Use Explicit Types 153
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 154
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 162
CommentSize Comment is too large: Line too long 166

model - com/jsql/model/injection/strategy/blind/InjectionCharInsertion.java

Rule Violation Line
ImmutableField Field 'blankFalseMark' may be declared final 29
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 52
LongVariable Avoid excessively long variable names like falseCharInsertion 52
MethodArgumentCouldBeFinal Parameter 'falseCharInsertion' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'prefixSuffix' is not assigned and could be declared final 52
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 56
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 56
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 57
CloseResource Ensure that resources like this ExecutorService object are closed after use 72
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 72
LongVariable Avoid excessively long variable names like listCallableTagTrue 73
LocalVariableCouldBeFinal Local variable 'listCallableTagTrue' could be declared final 73
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 75
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 81
LocalVariableCouldBeFinal Local variable 'listTagTrue' could be declared final 94
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 94
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 95
UseExplicitTypes Use Explicit Types 96
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 111
CloseResource Ensure that resources like this ExecutorService object are closed after use 120
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 120
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 120
LongVariable Avoid excessively long variable names like listCallableTagFalse 121
LocalVariableCouldBeFinal Local variable 'listCallableTagFalse' could be declared final 121
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 123
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 129
LocalVariableCouldBeFinal Local variable 'listTagFalse' could be declared final 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 143
LocalVariableCouldBeFinal Local variable 'falseTag' could be declared final 145
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 155
LocalVariableCouldBeFinal Local variable 'blindTest' could be declared final 163
UseExplicitTypes Use Explicit Types 163
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 167
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 168
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 175
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 181
LongVariable Avoid excessively long variable names like metadataInjectionProcess 181
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 181
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 185
LongVariable Avoid excessively long variable names like metadataInjectionProcess 185
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 185
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 185

model - com/jsql/model/injection/strategy/blind/InjectionMultibit.java

Rule Violation Line
ImmutableField Field 'sourceReference' may be declared final 25
LongVariable Avoid excessively long variable names like diffsCommonWithAllIds 27
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 30
CloseResource Ensure that resources like this ExecutorService object are closed after use 38
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 38
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 38
LocalVariableCouldBeFinal Local variable 'callablesId' could be declared final 39
LocalVariableCouldBeFinal Local variable 'futuresId' could be declared final 52
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 53
LocalVariableCouldBeFinal Local variable 'futureId' could be declared final 55
LongVariable Avoid excessively long variable names like diffsWithReference 56
LocalVariableCouldBeFinal Local variable 'diffsWithReference' could be declared final 56
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 58
LocalVariableCouldBeFinal Local variable 'diffById' could be declared final 65
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 72
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 76
LocalVariableCouldBeFinal Local variable 'callableBlock1' could be declared final 92
UseExplicitTypes Use Explicit Types 92
LocalVariableCouldBeFinal Local variable 'callableBlock2' could be declared final 93
UseExplicitTypes Use Explicit Types 93
LocalVariableCouldBeFinal Local variable 'callableBlock3' could be declared final 94
UseExplicitTypes Use Explicit Types 94
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 110
LongVariable Avoid excessively long variable names like taskCompletionService 111
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 111
LongVariable Avoid excessively long variable names like countTasksSubmitted 112
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 112
LocalVariableCouldBeFinal Local variable 'block' could be declared final 118
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 131
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 131
LocalVariableCouldBeFinal Local variable 'asciiCodeMask' could be declared final 133
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 141
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 141
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 142
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 144
AvoidLiteralsInIfCondition Avoid using literals such as 3 in if statements 146
MethodArgumentCouldBeFinal Parameter 'idPage' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 154
ShortVariable Avoid variables with short names like i1 154
MethodArgumentCouldBeFinal Parameter 'i1' is not assigned and could be declared final 154
ShortVariable Avoid variables with short names like i2 154
MethodArgumentCouldBeFinal Parameter 'i2' is not assigned and could be declared final 154
ShortVariable Avoid variables with short names like i3 154
MethodArgumentCouldBeFinal Parameter 'i3' is not assigned and could be declared final 154
LocalVariableCouldBeFinal Local variable 'idPageBinary' could be declared final 155
LongVariable Avoid excessively long variable names like idPageBinaryPadded 156
LocalVariableCouldBeFinal Local variable 'idPageBinaryPadded' could be declared final 156

model - com/jsql/model/injection/strategy/blind/InjectionTime.java

Rule Violation Line
CommentSize Comment is too large: Line too long 28
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 37
LocalVariableCouldBeFinal Local variable 'falsys' could be declared final 40
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 40
CloseResource Ensure that resources like this ExecutorService object are closed after use 47
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 47
LocalVariableCouldBeFinal Local variable 'callablesFalsys' could be declared final 48
LocalVariableCouldBeFinal Local variable 'falsy' could be declared final 49
LocalVariableCouldBeFinal Local variable 'futuresFalsys' could be declared final 63
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 64
LocalVariableCouldBeFinal Local variable 'futureFalsy' could be declared final 65
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 78
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 84
CloseResource Ensure that resources like this ExecutorService object are closed after use 85
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 85
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 85
LocalVariableCouldBeFinal Local variable 'callablesTruthys' could be declared final 86
LocalVariableCouldBeFinal Local variable 'truthys' could be declared final 87
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 87
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 88
LocalVariableCouldBeFinal Local variable 'futuresTruthys' could be declared final 100
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 100
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 101
LocalVariableCouldBeFinal Local variable 'futureTruthy' could be declared final 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 115
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 120
LocalVariableCouldBeFinal Local variable 'callable' could be declared final 137
UseExplicitTypes Use Explicit Types 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 138
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 154

model - com/jsql/model/injection/strategy/blind/InjectionVendor.java

Rule Violation Line
ImmutableField Field 'blankFalseMark' may be declared final 26
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 34
LongVariable Avoid excessively long variable names like vendorSpecificWithOperator 34
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithOperator' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 34
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 38
CloseResource Ensure that resources like this ExecutorService object are closed after use 53
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 53
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 53
LongVariable Avoid excessively long variable names like listCallableTagTrue 54
LocalVariableCouldBeFinal Local variable 'listCallableTagTrue' could be declared final 54
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 55
LocalVariableCouldBeFinal Local variable 'listTagTrue' could be declared final 69
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 70
UseExplicitTypes Use Explicit Types 72
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 86
LongVariable Avoid excessively long variable names like vendorSpecificWithMode 92
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 92
CloseResource Ensure that resources like this ExecutorService object are closed after use 95
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 95
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 95
LongVariable Avoid excessively long variable names like listCallableTagFalse 96
LocalVariableCouldBeFinal Local variable 'listCallableTagFalse' could be declared final 96
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 97
LocalVariableCouldBeFinal Local variable 'listTagFalse' could be declared final 111
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 111
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 112
LocalVariableCouldBeFinal Local variable 'falseTag' could be declared final 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 123
LongVariable Avoid excessively long variable names like vendorSpecificWithMode 127
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 127
LocalVariableCouldBeFinal Local variable 'blindTest' could be declared final 132
UseExplicitTypes Use Explicit Types 132
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 133
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 139
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 146
LongVariable Avoid excessively long variable names like metadataInjectionProcess 146
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 146
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 150
LongVariable Avoid excessively long variable names like metadataInjectionProcess 150
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 150

model - com/jsql/model/injection/strategy/blind/callable/AbstractCallableBit.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 8
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultibit' 30
AvoidFieldNameMatchingMethodName Field isMultibit has the same name as a method 30
RedundantFieldInitializer Avoid using redundant field initializer for 'isBinary' 31
AvoidFieldNameMatchingMethodName Field isBinary has the same name as a method 31
MethodArgumentCouldBeFinal Parameter 'charText' is not assigned and could be declared final 56

model - com/jsql/model/injection/strategy/blind/callable/CallableBlindBin.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 24
LongVariable Avoid excessively long variable names like diffsWithReference 24
LongVariable Avoid excessively long variable names like metadataInjectionProcess 28
CallSuperInConstructor It is a good practice to call super() in a constructor 33
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 36
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 38
LongVariable Avoid excessively long variable names like metadataInjectionProcess 39
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 39
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 47
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 55
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 59
LongVariable Avoid excessively long variable names like metadataInjectionProcess 60
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 60
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 63
LocalVariableCouldBeFinal Local variable 'falseDiffs' could be declared final 76
LocalVariableCouldBeFinal Local variable 'falseDiff' could be declared final 77
CommentSize Comment is too large: Line too long 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 80
LocalVariableCouldBeFinal Local variable 'trueDiffs' could be declared final 83
LocalVariableCouldBeFinal Local variable 'trueDiff' could be declared final 84
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 86
LocalVariableCouldBeFinal Local variable 'result' could be declared final 99

model - com/jsql/model/injection/strategy/blind/callable/CallableBlindBit.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 20
LongVariable Avoid excessively long variable names like diffsWithReference 20
LongVariable Avoid excessively long variable names like metadataInjectionProcess 25
CallSuperInConstructor It is a good practice to call super() in a constructor 30
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 30
LongVariable Avoid excessively long variable names like metadataInjectionProcess 30
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 30
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 34
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 44
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 46
LongVariable Avoid excessively long variable names like metadataInjectionProcess 47
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 47
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
LocalVariableCouldBeFinal Local variable 'falseDiffs' could be declared final 64
LocalVariableCouldBeFinal Local variable 'falseDiff' could be declared final 65
CommentSize Comment is too large: Line too long 67
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 69
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 71
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 72
LocalVariableCouldBeFinal Local variable 'trueDiffs' could be declared final 75
LocalVariableCouldBeFinal Local variable 'trueDiff' could be declared final 76
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 79
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 81
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 82
LocalVariableCouldBeFinal Local variable 'result' could be declared final 95

model - com/jsql/model/injection/strategy/blind/callable/CallableCharInsertion.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 18
LongVariable Avoid excessively long variable names like injectionCharInsertion 22
LongVariable Avoid excessively long variable names like metadataInjectionProcess 24
CallSuperInConstructor It is a good practice to call super() in a constructor 29
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 29
LongVariable Avoid excessively long variable names like injectionCharInsertion 29
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 29
LongVariable Avoid excessively long variable names like metadataInjectionProcess 29
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 29
LocalVariableCouldBeFinal Local variable 'copyTrueMarks' could be declared final 44
LocalVariableCouldBeFinal Local variable 'trueDiff' could be declared final 45
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 48
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 50
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 50
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 51
LocalVariableCouldBeFinal Local variable 'source' could be declared final 64

model - com/jsql/model/injection/strategy/blind/callable/CallableMultibit.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 13
LongVariable Avoid excessively long variable names like diffsWithReference 13
LongVariable Avoid excessively long variable names like metadataInjectionProcess 19
CallSuperInConstructor It is a good practice to call super() in a constructor 21
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 21
LongVariable Avoid excessively long variable names like metadataInjectionProcess 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 31
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 33
LongVariable Avoid excessively long variable names like metadataInjectionProcess 34
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 37
LocalVariableCouldBeFinal Local variable 'result' could be declared final 51

model - com/jsql/model/injection/strategy/blind/callable/CallableTime.java

Rule Violation Line
CommentSize Comment is too large: Line too long 11
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 19
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 24
LongVariable Avoid excessively long variable names like metadataInjectionProcess 34
CallSuperInConstructor It is a good practice to call super() in a constructor 39
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 43
LongVariable Avoid excessively long variable names like metadataInjectionProcess 44
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 49
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 57
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 59
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 61
LongVariable Avoid excessively long variable names like metadataInjectionProcess 62
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 62
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 65
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 82
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 84
LongVariable Avoid excessively long variable names like timeInMillisOnStart 86
LocalVariableCouldBeFinal Local variable 'timeInMillisOnStart' could be declared final 86
LocalVariableCouldBeFinal Local variable 'timeInMillisOnEnd' could be declared final 87
LocalVariableCouldBeFinal Local variable 'diff' could be declared final 88

model - com/jsql/model/injection/strategy/blind/callable/CallableVendor.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 13
LongVariable Avoid excessively long variable names like injectionCharInsertion 17
LongVariable Avoid excessively long variable names like metadataInjectionProcess 19
CallSuperInConstructor It is a good practice to call super() in a constructor 21
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 21
LongVariable Avoid excessively long variable names like injectionCharInsertion 21
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 21
LongVariable Avoid excessively long variable names like metadataInjectionProcess 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 21
LocalVariableCouldBeFinal Local variable 'copyTrueMarks' could be declared final 29
LocalVariableCouldBeFinal Local variable 'trueDiff' could be declared final 30
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 32
LocalVariableCouldBeFinal Local variable 'source' could be declared final 40

model - com/jsql/model/injection/strategy/blind/patch/Diff.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 25
LocalVariableCouldBeFinal Local variable 'prettyText' could be declared final 37
MethodArgumentCouldBeFinal Parameter 'obj' is not assigned and could be declared final 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 68
LocalVariableCouldBeFinal Local variable 'other' could be declared final 71
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 77
MethodArgumentCouldBeFinal Parameter 'diff' is not assigned and could be declared final 84
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 95
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 103

model - com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 118
AtLeastOneConstructor Each class should declare at least one constructor 45
GodClass Possible God Class (WMC=395, ATFD=353, TCC=0.976%) 45
CyclomaticComplexity The class 'DiffMatchPatch' has a total cyclomatic complexity of 395 (highest 32). 45
TooManyMethods This class has too many methods, consider refactoring it. 452337
LongVariable Avoid excessively long variable names like PATCH_DELETE_THRESHOLD 83
MethodArgumentCouldBeFinal Parameter 'chars1' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'chars2' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 109
CommentSize Comment is too large: Too many lines 128136
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 137
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 137
CommentSize Comment is too large: Too many lines 141149
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 150
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 150
LocalVariableCouldBeFinal Local variable 'deadline' could be declared final 152
CommentSize Comment is too large: Too many lines 156167
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 168
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 168
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 168
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 168
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 168
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 179
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 185
LocalVariableCouldBeFinal Local variable 'commonprefix' could be declared final 190
LocalVariableCouldBeFinal Local variable 'commonsuffix' could be declared final 196
CommentSize Comment is too large: Too many lines 215225
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 226
CyclomaticComplexity The method 'diffCompute(String, String, boolean, long)' has a cyclomatic complexity of 12. 226
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 226
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 228
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 233
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 239
LocalVariableCouldBeFinal Local variable 'longtext' could be declared final 244
LocalVariableCouldBeFinal Local variable 'shorttext' could be declared final 245
ShortVariable Avoid variables with short names like i 246
LocalVariableCouldBeFinal Local variable 'i' could be declared final 246
ShortVariable Avoid variables with short names like op 249
LocalVariableCouldBeFinal Local variable 'op' could be declared final 249
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 254
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 257
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 262
ShortVariable Avoid variables with short names like hm 267
LocalVariableCouldBeFinal Local variable 'hm' could be declared final 267
LocalVariableCouldBeFinal Local variable 'text1A' could be declared final 270
LocalVariableCouldBeFinal Local variable 'text1B' could be declared final 271
LocalVariableCouldBeFinal Local variable 'text2A' could be declared final 272
LocalVariableCouldBeFinal Local variable 'text2B' could be declared final 273
LocalVariableCouldBeFinal Local variable 'midCommon' could be declared final 274
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 276
LocalVariableCouldBeFinal Local variable 'diffsA' could be declared final 276
LocalVariableCouldBeFinal Local variable 'diffsB' could be declared final 277
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 282
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 286
CommentSize Comment is too large: Too many lines 292300
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 301
CognitiveComplexity The method 'diffLineMode(String, String, long)' has a cognitive complexity of 17, current threshold is 15 301
CyclomaticComplexity The method 'diffLineMode(String, String, long)' has a cyclomatic complexity of 10. 301
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 301
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 301
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 301
ShortVariable Avoid variables with short names like b 304
LocalVariableCouldBeFinal Local variable 'b' could be declared final 304
LocalVariableCouldBeFinal Local variable 'text1' could be declared final 305
LocalVariableCouldBeFinal Local variable 'text2' could be declared final 306
LocalVariableCouldBeFinal Local variable 'linearray' could be declared final 307
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 309
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 309
LocalVariableCouldBeFinal Local variable 'textDelete' could be declared final 321
LocalVariableCouldBeFinal Local variable 'textInsert' could be declared final 322
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 323
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 327
LocalVariableCouldBeFinal Local variable 'newDiff' could be declared final 345
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 355
CommentSize Comment is too large: Too many lines 362370
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 371
NcssCount The method 'diffBisect(String, String, long)' has a NCSS line count of 75. 371
CognitiveComplexity The method 'diffBisect(String, String, long)' has a cognitive complexity of 62, current threshold is 15 371
CyclomaticComplexity The method 'diffBisect(String, String, long)' has a cyclomatic complexity of 32. 371
NPathComplexity The method 'diffBisect(String, String, long)' has an NPath complexity of 29190, current threshold is 200 371
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 371
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 371
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 371
LocalVariableCouldBeFinal Local variable 'text1Length' could be declared final 374
LocalVariableCouldBeFinal Local variable 'text2Length' could be declared final 375
LocalVariableCouldBeFinal Local variable 'maxD' could be declared final 376
LocalVariableCouldBeFinal Local variable 'vLength' could be declared final 377
ShortVariable Avoid variables with short names like v1 378
LocalVariableCouldBeFinal Local variable 'v1' could be declared final 378
ShortVariable Avoid variables with short names like v2 379
LocalVariableCouldBeFinal Local variable 'v2' could be declared final 379
LocalVariableCouldBeFinal Local variable 'delta' could be declared final 386
LocalVariableCouldBeFinal Local variable 'front' could be declared final 389
LocalVariableCouldBeFinal Local variable 'k1Offset' could be declared final 405
ShortVariable Avoid variables with short names like x1 406
ShortVariable Avoid variables with short names like y1 412
LocalVariableCouldBeFinal Local variable 'k2Offset' could be declared final 426
ShortVariable Avoid variables with short names like x2 429
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 429
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 432
LocalVariableCouldBeFinal Local variable 'k2Offset' could be declared final 440
ShortVariable Avoid variables with short names like x2 441
ShortVariable Avoid variables with short names like y2 447
LocalVariableCouldBeFinal Local variable 'k1Offset' could be declared final 462
ShortVariable Avoid variables with short names like x1 464
LocalVariableCouldBeFinal Local variable 'x1' could be declared final 464
ShortVariable Avoid variables with short names like y1 465
LocalVariableCouldBeFinal Local variable 'y1' could be declared final 465
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 470
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 478
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 478
CommentSize Comment is too large: Too many lines 484493
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 494
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 494
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 494
ShortVariable Avoid variables with short names like x 494
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 494
ShortVariable Avoid variables with short names like y 494
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 494
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 494
LocalVariableCouldBeFinal Local variable 'text1a' could be declared final 495
LocalVariableCouldBeFinal Local variable 'text2a' could be declared final 496
LocalVariableCouldBeFinal Local variable 'text1b' could be declared final 497
LocalVariableCouldBeFinal Local variable 'text2b' could be declared final 498
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 501
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 501
LocalVariableCouldBeFinal Local variable 'diffsb' could be declared final 502
CommentSize Comment is too large: Too many lines 508516
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 517
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 517
LocalVariableCouldBeFinal Local variable 'lineArray' could be declared final 518
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 519
LocalVariableCouldBeFinal Local variable 'lineHash' could be declared final 519
LocalVariableCouldBeFinal Local variable 'chars1' could be declared final 527
LocalVariableCouldBeFinal Local variable 'chars2' could be declared final 528
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 540
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 540
MethodArgumentCouldBeFinal Parameter 'lineHash' is not assigned and could be declared final 541
LocalVariableCouldBeFinal Local variable 'chars' could be declared final 546
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 575
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 575
LocalVariableCouldBeFinal Local variable 'diff' could be declared final 577
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 578
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 592
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 592
ShortVariable Avoid variables with short names like n 594
LocalVariableCouldBeFinal Local variable 'n' could be declared final 594
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 597
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 609
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 609
LocalVariableCouldBeFinal Local variable 'text1Length' could be declared final 611
LocalVariableCouldBeFinal Local variable 'text2Length' could be declared final 612
ShortVariable Avoid variables with short names like n 613
LocalVariableCouldBeFinal Local variable 'n' could be declared final 613
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 616
CyclomaticComplexity The method 'diffCommonOverlap(String, String)' has a cyclomatic complexity of 10. 629
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 629
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 629
LocalVariableCouldBeFinal Local variable 'text1Length' could be declared final 635
LocalVariableCouldBeFinal Local variable 'text2Length' could be declared final 636
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 639
LocalVariableCouldBeFinal Local variable 'textLength' could be declared final 647
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 650
LocalVariableCouldBeFinal Local variable 'pattern' could be declared final 659
LocalVariableCouldBeFinal Local variable 'found' could be declared final 660
CommentSize Comment is too large: Too many lines 673682
CognitiveComplexity The method 'diffHalfMatch(String, String)' has a cognitive complexity of 15, current threshold is 15 683
CyclomaticComplexity The method 'diffHalfMatch(String, String)' has a cyclomatic complexity of 11. 683
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 683
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 683
LocalVariableCouldBeFinal Local variable 'longtext' could be declared final 685
LocalVariableCouldBeFinal Local variable 'shorttext' could be declared final 686
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 688
LocalVariableCouldBeFinal Local variable 'hm1' could be declared final 692
LocalVariableCouldBeFinal Local variable 'hm2' could be declared final 694
ShortVariable Avoid variables with short names like hm 695
LocalVariableCouldBeFinal Local variable 'hm' could be declared final 695
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 697
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 709
CommentSize Comment is too large: Too many lines 715724
MethodArgumentCouldBeFinal Parameter 'longtext' is not assigned and could be declared final 725
MethodArgumentCouldBeFinal Parameter 'shorttext' is not assigned and could be declared final 725
ShortVariable Avoid variables with short names like i 725
MethodArgumentCouldBeFinal Parameter 'i' is not assigned and could be declared final 725
LocalVariableCouldBeFinal Local variable 'seed' could be declared final 728
ShortVariable Avoid variables with short names like j 729
AssignmentInOperand Avoid assignment to j in operand 735
LocalVariableCouldBeFinal Local variable 'prefixLength' could be declared final 736
LocalVariableCouldBeFinal Local variable 'suffixLength' could be declared final 738
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 750751
NcssCount The method 'diffCleanupSemantic(LinkedList<Diff>)' has a NCSS line count of 80. 761
CognitiveComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cognitive complexity of 65, current threshold is 15 761
CyclomaticComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cyclomatic complexity of 27. 761
NPathComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has an NPath complexity of 13747, current threshold is 200 761
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 761
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 761
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 768
LocalVariableCouldBeFinal Local variable 'equalities' could be declared final 768
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 780
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 790
CompareObjectsWithEquals Use equals() to compare object references. 803
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 809
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 811
EmptyControlStatement Empty while statement 826828
CompareObjectsWithEquals Use equals() to compare object references. 826
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 835
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 839
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 856
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 865
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 866
LocalVariableCouldBeFinal Local variable 'deletion' could be declared final 867
LocalVariableCouldBeFinal Local variable 'insertion' could be declared final 868
LocalVariableCouldBeFinal Local variable 'overlapLength1' could be declared final 869
LocalVariableCouldBeFinal Local variable 'overlapLength2' could be declared final 870
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 876877
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 889890
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 899
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 902
NcssCount The method 'diffCleanupSemanticLossless(List<Diff>)' has a NCSS line count of 66. 912
CognitiveComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cognitive complexity of 33, current threshold is 15 912
CyclomaticComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cyclomatic complexity of 16. 912
NPathComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has an NPath complexity of 840, current threshold is 200 912
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 912
LocalVariableCouldBeFinal Local variable 'equality1' could be declared final 914
LocalVariableCouldBeFinal Local variable 'equality2' could be declared final 916
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 925
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 932
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 933
LocalVariableCouldBeFinal Local variable 'substring' could be declared final 945
LocalVariableCouldBeFinal Local variable 'substring' could be declared final 962
ConfusingTernary Avoid if (x != y) ..; else ..; 978987
ConfusingTernary Avoid if (x != y) ..; else ..; 989995
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1000
CognitiveComplexity The method 'diffCleanupSemanticScore(String, String)' has a cognitive complexity of 18, current threshold is 15 1012
CyclomaticComplexity The method 'diffCleanupSemanticScore(String, String)' has a cyclomatic complexity of 14. 1012
NPathComplexity The method 'diffCleanupSemanticScore(String, String)' has an NPath complexity of 1282, current threshold is 200 1012
MethodArgumentCouldBeFinal Parameter 'one' is not assigned and could be declared final 1012
MethodArgumentCouldBeFinal Parameter 'two' is not assigned and could be declared final 1012
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1016
LocalVariableCouldBeFinal Local variable 'char1' could be declared final 1024
LocalVariableCouldBeFinal Local variable 'char2' could be declared final 1025
LocalVariableCouldBeFinal Local variable 'nonAlphaNumeric1' could be declared final 1026
LocalVariableCouldBeFinal Local variable 'nonAlphaNumeric2' could be declared final 1027
LocalVariableCouldBeFinal Local variable 'whitespace1' could be declared final 1028
LocalVariableCouldBeFinal Local variable 'whitespace2' could be declared final 1029
LocalVariableCouldBeFinal Local variable 'lineBreak1' could be declared final 1030
LocalVariableCouldBeFinal Local variable 'lineBreak2' could be declared final 1032
LocalVariableCouldBeFinal Local variable 'blankLine1' could be declared final 1034
LocalVariableCouldBeFinal Local variable 'blankLine2' could be declared final 1035
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1039
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1042
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1045
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1048
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1051
CognitiveComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cognitive complexity of 62, current threshold is 15 1060
CyclomaticComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cyclomatic complexity of 27. 1060
NPathComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has an NPath complexity of 18251, current threshold is 200 1060
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1060
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1060
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 1067
LocalVariableCouldBeFinal Local variable 'equalities' could be declared final 1067
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 1069
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 1082
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1094
AssignmentInOperand Avoid assignment to postDel in operand 1097
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 1100
CompareObjectsWithEquals Use equals() to compare object references. 1125
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1131
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1137
AssignmentInOperand Avoid assignment to postDel in operand 1140
EmptyControlStatement Empty while statement 11561158
CompareObjectsWithEquals Use equals() to compare object references. 1156
AssignmentInOperand Avoid assignment to postDel in operand 1159
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1165
NcssCount The method 'diffCleanupMerge(LinkedList<Diff>)' has a NCSS line count of 108. 1178
CognitiveComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cognitive complexity of 75, current threshold is 15 1178
CyclomaticComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cyclomatic complexity of 30. 1178
NPathComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has an NPath complexity of 434400, current threshold is 200 1178
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1178
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1178
LocalVariableCouldBeFinal Local variable 'textDelete' could be declared final 1184
LocalVariableCouldBeFinal Local variable 'textInsert' could be declared final 1185
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 11901272
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 1190
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1194
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1199
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 1202
LocalVariableCouldBeFinal Local variable 'bothTypes' could be declared final 1204
AssignmentInOperand Avoid assignment to countDelete in operand 1207
AssignmentInOperand Avoid assignment to countInsert in operand 1211
CommentSize Comment is too large: Line too long 1222
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 12261227
LocalVariableCouldBeFinal Local variable 'substringIns' could be declared final 1229
LocalVariableCouldBeFinal Local variable 'substringDel' could be declared final 1232
LocalVariableCouldBeFinal Local variable 'substringIns' could be declared final 1241
LocalVariableCouldBeFinal Local variable 'substringDel' could be declared final 1244
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1252
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1273
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1289
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 1294
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 1295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1309
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1317
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1323
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1339
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 1339
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1345
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1346
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1350
LawOfDemeter Call to `getOperation` on foreign value `lastDiff` (degree 1) 1362
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1364
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1375
LocalVariableCouldBeFinal Local variable 'html' could be declared final 1376
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 39 characters appended. 1376
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1377
LocalVariableCouldBeFinal Local variable 'text' could be declared final 1378
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1380
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1402
LocalVariableCouldBeFinal Local variable 'text' could be declared final 1403
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1404
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1405
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1417
LocalVariableCouldBeFinal Local variable 'text' could be declared final 1418
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1419
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1420
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1433
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1437
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1438
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1465
LocalVariableCouldBeFinal Local variable 'text' could be declared final 1467
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1468
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1469
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1471
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1472
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1478
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 1478
CognitiveComplexity The method 'diffFromDelta(String, String)' has a cognitive complexity of 22, current threshold is 15 1498
CyclomaticComplexity The method 'diffFromDelta(String, String)' has a cyclomatic complexity of 18. 1498
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 1498
MethodArgumentCouldBeFinal Parameter 'delta' is not assigned and could be declared final 1498
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 1500
LocalVariableCouldBeFinal Local variable 'tokens' could be declared final 1502
LocalVariableCouldBeFinal Local variable 'token' could be declared final 1504
ShortVariable Avoid variables with short names like n 1528
ShortVariable Avoid variables with short names like p1 1541
LocalVariableCouldBeFinal Local variable 'p1' could be declared final 1541
ShortVariable Avoid variables with short names like p2 1543
LocalVariableCouldBeFinal Local variable 'p2' could be declared final 1543
AvoidLiteralsInIfCondition Avoid using literals such as '=' in if statements 1550
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 1580
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1580
MethodArgumentCouldBeFinal Parameter 'valueLoc' is not assigned and could be declared final 1580
LocalVariableCouldBeFinal Local variable 'loc' could be declared final 1586
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1589
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1596
CognitiveComplexity The method 'matchBitap(String, String, int)' has a cognitive complexity of 36, current threshold is 15 1611
CyclomaticComplexity The method 'matchBitap(String, String, int)' has a cyclomatic complexity of 14. 1611
NPathComplexity The method 'matchBitap(String, String, int)' has an NPath complexity of 453, current threshold is 200 1611
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 1611
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1611
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 1611
ShortVariable Avoid variables with short names like s 1614
LocalVariableCouldBeFinal Local variable 's' could be declared final 1614
LocalVariableCouldBeFinal Local variable 'matchmask' could be declared final 1632
LocalVariableCouldBeFinal Local variable 'finish' could be declared final 1659
ShortVariable Avoid variables with short names like rd 1661
LocalVariableCouldBeFinal Local variable 'rd' could be declared final 1661
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1661
LocalVariableCouldBeFinal Local variable 'score' could be declared final 1682
ShortVariable Avoid variables with short names like e 1716
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 1716
ShortVariable Avoid variables with short names like x 1716
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 1716
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 1716
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1716
LocalVariableCouldBeFinal Local variable 'accuracy' could be declared final 1717
LocalVariableCouldBeFinal Local variable 'proximity' could be declared final 1718
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 1727
ShortVariable Avoid variables with short names like s 1728
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1728
LocalVariableCouldBeFinal Local variable 's' could be declared final 1728
LocalVariableCouldBeFinal Local variable 'charPattern' could be declared final 1729
LocalVariableCouldBeFinal Local variable 'c' could be declared final 1730
ShortVariable Avoid variables with short names like i 1733
LocalVariableCouldBeFinal Local variable 'c' could be declared final 1734
MethodArgumentCouldBeFinal Parameter 'patch' is not assigned and could be declared final 1750
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 1750
LocalVariableCouldBeFinal Local variable 'prefix' could be declared final 1770
LocalVariableCouldBeFinal Local variable 'suffix' could be declared final 1776
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 1797
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 1797
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1802
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 1802
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 1803
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1816
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1816
LocalVariableCouldBeFinal Local variable 'text1' could be declared final 1821
CognitiveComplexity The method 'patchMake(String, Deque<Diff>)' has a cognitive complexity of 22, current threshold is 15 1832
CyclomaticComplexity The method 'patchMake(String, Deque<Diff>)' has a cyclomatic complexity of 19. 1832
NPathComplexity The method 'patchMake(String, Deque<Diff>)' has an NPath complexity of 341, current threshold is 200 1832
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 1832
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 1832
LocalVariableCouldBeFinal Local variable 'patches' could be declared final 1838
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1840
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1851
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1852
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1858
CompareObjectsWithEquals Use equals() to compare object references. 1874
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1889
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1901
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 1904
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1922
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 1922
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1923
LocalVariableCouldBeFinal Local variable 'patchesCopy' could be declared final 1923
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 1924
LocalVariableCouldBeFinal Local variable 'patchCopy' could be declared final 1925
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1925
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 1926
LocalVariableCouldBeFinal Local variable 'diffCopy' could be declared final 1927
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 1927
CognitiveComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cognitive complexity of 55, current threshold is 15 1947
CyclomaticComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cyclomatic complexity of 17. 1947
NPathComplexity The method 'patchApply(LinkedList<Patch>, String)' has an NPath complexity of 207, current threshold is 200 1947
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1947
MethodArgumentCouldBeFinal Parameter 'valuePatches' is not assigned and could be declared final 1947
MethodArgumentCouldBeFinal Parameter 'valueText' is not assigned and could be declared final 1947
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1950
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 1954
LocalVariableCouldBeFinal Local variable 'patches' could be declared final 1954
LocalVariableCouldBeFinal Local variable 'nullPadding' could be declared final 1956
ShortVariable Avoid variables with short names like x 1960
LocalVariableCouldBeFinal Local variable 'results' could be declared final 1966
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 1967
LocalVariableCouldBeFinal Local variable 'expectedLoc' could be declared final 1969
LocalVariableCouldBeFinal Local variable 'text1' could be declared final 1970
LocalVariableCouldBeFinal Local variable 'text2' could be declared final 2001
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 2017
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 2026
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2027
LocalVariableCouldBeFinal Local variable 'index2' could be declared final 2028
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2029
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2033
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 2040
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 2061
LocalVariableCouldBeFinal Local variable 'paddingLength' could be declared final 2063
LocalVariableCouldBeFinal Local variable 'nullPadding' could be declared final 2064
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 2070
LawOfDemeter Call to `getOperation` on foreign value `diffs.getFirst()` (degree 1) 2078
LocalVariableCouldBeFinal Local variable 'firstDiff' could be declared final 2087
LocalVariableCouldBeFinal Local variable 'extraLength' could be declared final 2088
LawOfDemeter Call to `getOperation` on foreign value `diffs.getLast()` (degree 1) 2100
LocalVariableCouldBeFinal Local variable 'lastDiff' could be declared final 2107
LocalVariableCouldBeFinal Local variable 'extraLength' could be declared final 2108
NcssCount The method 'patchSplitMax(List<Patch>)' has a NCSS line count of 73. 2123
CognitiveComplexity The method 'patchSplitMax(List<Patch>)' has a cognitive complexity of 55, current threshold is 15 2123
CyclomaticComplexity The method 'patchSplitMax(List<Patch>)' has a cyclomatic complexity of 22. 2123
NPathComplexity The method 'patchSplitMax(List<Patch>)' has an NPath complexity of 2570, current threshold is 200 2123
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 2123
LocalVariableCouldBeFinal Local variable 'patchSize' could be declared final 2125
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 2134
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2139
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 2150
LawOfDemeter Call to `getOperation` on foreign value `bigpatch.getDiffs().getFirst()` (degree 1) 2160
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getFirst()` (degree 1) 2170
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getLast()` (degree 1) 2214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 2225
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 2234
LocalVariableCouldBeFinal Local variable 'text' could be declared final 2235
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 2236
NcssCount The method 'patchFromText(String)' has a NCSS line count of 64. 2248
CognitiveComplexity The method 'patchFromText(String)' has a cognitive complexity of 27, current threshold is 15 2248
CyclomaticComplexity The method 'patchFromText(String)' has a cyclomatic complexity of 18. 2248
MethodArgumentCouldBeFinal Parameter 'textline' is not assigned and could be declared final 2248
LocalVariableCouldBeFinal Local variable 'patches' could be declared final 2250
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 2252
LocalVariableCouldBeFinal Local variable 'textList' could be declared final 2254
LocalVariableCouldBeFinal Local variable 'text' could be declared final 2255
LocalVariableCouldBeFinal Local variable 'patchHeader' could be declared final 2257
ShortVariable Avoid variables with short names like m 2258
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 2268
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 2274
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 2285
AvoidLiteralsInIfCondition Avoid using literals such as '-' in if statements 2315
AvoidLiteralsInIfCondition Avoid using literals such as '+' in if statements 2318
AvoidLiteralsInIfCondition Avoid using literals such as ' ' in if statements 2321
AvoidLiteralsInIfCondition Avoid using literals such as '@' in if statements 2324

model - com/jsql/model/injection/strategy/blind/patch/Patch.java

Rule Violation Line
DataClass The class 'Patch' is suspected to be a Data Class (WOC=27.273%, NOPA=0, NOAM=8, WMC=20) 10
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 12
LocalVariableCouldBeFinal Local variable 'coords1' could be declared final 33
LocalVariableCouldBeFinal Local variable 'coords2' could be declared final 34
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 38
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 46
LocalVariableCouldBeFinal Local variable 'text' could be declared final 52
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 57
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 58
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 70
CommentSize Comment is too large: Too many lines 7688
MethodArgumentCouldBeFinal Parameter 'str' is not assigned and could be declared final 89
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 100
MethodArgumentCouldBeFinal Parameter 'start1' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'start2' is not assigned and could be declared final 116
MethodArgumentCouldBeFinal Parameter 'length1' is not assigned and could be declared final 124
LinguisticNaming Linguistics Antipattern - The setter 'setLength2' should not return any type except void linguistically 132
MethodArgumentCouldBeFinal Parameter 'length2' is not assigned and could be declared final 132

model - com/jsql/model/injection/vendor/MediatorVendor.java

Rule Violation Line
DataClass The class 'MediatorVendor' is suspected to be a Data Class (WOC=7.143%, NOPA=0, NOAM=26, WMC=33) 26
CommentSize Comment is too large: Line too long 40
ShortVariable Avoid variables with short names like h2 50
LongVariable Avoid excessively long variable names like vendorsForFingerprint 66
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 70
LocalVariableCouldBeFinal Local variable 'access' could be declared final 73
LocalVariableCouldBeFinal Local variable 'altibase' could be declared final 74
LocalVariableCouldBeFinal Local variable 'ctreeace' could be declared final 75
LocalVariableCouldBeFinal Local variable 'exasol' could be declared final 76
LocalVariableCouldBeFinal Local variable 'frontbase' could be declared final 77
LocalVariableCouldBeFinal Local variable 'hana' could be declared final 78
LocalVariableCouldBeFinal Local variable 'ingres' could be declared final 79
LocalVariableCouldBeFinal Local variable 'iris' could be declared final 80
LocalVariableCouldBeFinal Local variable 'maxdb' could be declared final 81
LocalVariableCouldBeFinal Local variable 'netezza' could be declared final 82
LocalVariableCouldBeFinal Local variable 'nuodb' could be declared final 83
LocalVariableCouldBeFinal Local variable 'presto' could be declared final 84
LocalVariableCouldBeFinal Local variable 'teradata' could be declared final 85
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 104
LocalVariableCouldBeFinal Local variable 'resultSqlite' could be declared final 105
UseExplicitTypes Use Explicit Types 105
LocalVariableCouldBeFinal Local variable 'columnNameAndType' could be declared final 113
CommentSize Comment is too large: Line too long 117
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 126
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 126
CompareObjectsWithEquals Use equals() to compare object references. 152
ConfusingTernary Avoid if (x != y) ..; else ..; 157190
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 157
CompareObjectsWithEquals Use equals() to compare object references. 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 158
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 163
LongVariable Avoid excessively long variable names like insertionCharacter 167
LocalVariableCouldBeFinal Local variable 'insertionCharacter' could be declared final 167
UseExplicitTypes Use Explicit Types 167
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 168
LocalVariableCouldBeFinal Local variable 'mediatorVendor' could be declared final 170
UseExplicitTypes Use Explicit Types 170
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 170
LongVariable Avoid excessively long variable names like vendorsWithoutAuto 171
LocalVariableCouldBeFinal Local variable 'vendorsWithoutAuto' could be declared final 171
LawOfDemeter Call to `filter` on foreign value `mediatorVendor.getVendors().stream()` (degree 2) 171173
LawOfDemeter Call to `getVendors` on foreign value `mediatorVendor` (degree 2) 171
LawOfDemeter Call to `stream` on foreign value `mediatorVendor.getVendors()` (degree 2) 171172
LawOfDemeter Call to `toArray` on foreign value `mediatorVendor.getVendors().stream().filter(v -> v != mediatorVendor.getAuto())` (degree 2) 171174
CompareObjectsWithEquals Use equals() to compare object references. 173
LocalVariableCouldBeFinal Local variable 'vendorTest' could be declared final 177
LawOfDemeter Call to `instance` on foreign value `vendorTest` (degree 2) 178
LocalVariableCouldBeFinal Local variable 'urlGitHub' could be declared final 192
UseExplicitTypes Use Explicit Types 192
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 192
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 198
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 206
UseExplicitTypes Use Explicit Types 206
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 208
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 209
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 217
UseExplicitTypes Use Explicit Types 218
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 220
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 225
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 234
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 234
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 237
LongVariable Avoid excessively long variable names like requestDatabaseIdentified 241
LocalVariableCouldBeFinal Local variable 'requestDatabaseIdentified' could be declared final 241
UseExplicitTypes Use Explicit Types 241
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 288
MethodArgumentCouldBeFinal Parameter 'vendorByUser' is not assigned and could be declared final 296

model - com/jsql/model/injection/vendor/model/AbstractVendor.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 1150

model - com/jsql/model/injection/vendor/model/Vendor.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'instanceVendor' is not assigned and could be declared final 9
LawOfDemeter Call to `getModelYaml` on foreign value `instanceVendor` (degree 1) 10
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 18

model - com/jsql/model/injection/vendor/model/VendorYaml.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 28616
CommentSize Comment is too large: Line too long 46
LongVariable Avoid excessively long variable names like SEPARATOR_CELL_SQL 48
LongVariable Avoid excessively long variable names like SEPARATOR_CELL_HEX 49
CommentSize Comment is too large: Line too long 54
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 106
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 108
UseExplicitTypes Use Explicit Types 108
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 110
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 119
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 129
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 136
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 144
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 147
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 154
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 164
LocalVariableCouldBeFinal Local variable 'databaseUtf8' could be declared final 169
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 179
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 186
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 189
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 196
LocalVariableCouldBeFinal Local variable 'databaseUtf8' could be declared final 201
LocalVariableCouldBeFinal Local variable 'tableUtf8' could be declared final 202
MethodArgumentCouldBeFinal Parameter 'namesColumns' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 212
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 217
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 226
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 229
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 238
LocalVariableCouldBeFinal Local variable 'matcherSqlField' could be declared final 243
UseExplicitTypes Use Explicit Types 243
LocalVariableCouldBeFinal Local variable 'namesColumnUtf8' could be declared final 252
UseExplicitTypes Use Explicit Types 252
UseExplicitTypes Use Explicit Types 253
UseExplicitTypes Use Explicit Types 258
UseExplicitTypes Use Explicit Types 261
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 278
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 278
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 279
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 287
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 288
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 302
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 302
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 302
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 302
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 303
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 321
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 321
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 322
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 323
LocalVariableCouldBeFinal Local variable 'countSleepTimeStrategy' could be declared final 323
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 323
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 324
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 334
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 334
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 334
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 334
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 335
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 336
LocalVariableCouldBeFinal Local variable 'countSleepTimeStrategy' could be declared final 336
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 336
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 337
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 353
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 354
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 355360
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 365
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 365
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 365
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 375
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 375
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 375
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 385
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 385
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 385
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 393
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 404
LocalVariableCouldBeFinal Local variable 'indexZeroToFind' could be declared final 405
UseExplicitTypes Use Explicit Types 405
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'indexMethodError' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 416
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 435
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 435
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 435
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 440
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 445
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 445
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 445
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 445
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 446
LocalVariableCouldBeFinal Local variable 'result' could be declared final 447
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 452
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 462
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 462
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 462
MethodArgumentCouldBeFinal Parameter 'indexes' is not assigned and could be declared final 475
LocalVariableCouldBeFinal Local variable 'regexIndexes' could be declared final 476
LongVariable Avoid excessively long variable names like regexVisibleIndexesToFind 477
LocalVariableCouldBeFinal Local variable 'regexVisibleIndexesToFind' could be declared final 477
MethodArgumentCouldBeFinal Parameter 'nbFields' is not assigned and could be declared final 489
LocalVariableCouldBeFinal Local variable 'fields' could be declared final 491
UseExplicitTypes Use Explicit Types 492
LocalVariableCouldBeFinal Local variable 'field' could be declared final 494
MethodArgumentCouldBeFinal Parameter 'limitSqlResult' is not assigned and could be declared final 513
UseExplicitTypes Use Explicit Types 514
MethodArgumentCouldBeFinal Parameter 'sqlRequest' is not assigned and could be declared final 537
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 558
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 604
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 605

model - com/jsql/model/injection/vendor/model/yaml/Binary.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Binary' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 8
MethodArgumentCouldBeFinal Parameter 'test' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'blind' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'time' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'modeAnd' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'modeOr' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'modeStack' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'multibit' is not assigned and could be declared final 70

model - com/jsql/model/injection/vendor/model/yaml/Configuration.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Configuration' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 8
MethodArgumentCouldBeFinal Parameter 'slidingWindow' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'limit' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'failsafe' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'calibrator' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'limitBoundary' is not assigned and could be declared final 54
MethodArgumentCouldBeFinal Parameter 'endingComment' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'fingerprint' is not assigned and could be declared final 70

model - com/jsql/model/injection/vendor/model/yaml/Error.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
MethodArgumentCouldBeFinal Parameter 'method' is not assigned and could be declared final 16

model - com/jsql/model/injection/vendor/model/yaml/Fields.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Fields' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 8
MethodArgumentCouldBeFinal Parameter 'field' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'concat' is not assigned and could be declared final 25

model - com/jsql/model/injection/vendor/model/yaml/Fingerprint.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 12
AtLeastOneConstructor Each class should declare at least one constructor 12
DataClass The class 'Fingerprint' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) 12
LongVariable Avoid excessively long variable names like orderByErrorMessage 15
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 22
LongVariable Avoid excessively long variable names like orderByErrorMessage 30
MethodArgumentCouldBeFinal Parameter 'orderByErrorMessage' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'vendorSpecific' is not assigned and could be declared final 46

model - com/jsql/model/injection/vendor/model/yaml/Method.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Method' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 34

model - com/jsql/model/injection/vendor/model/yaml/ModelYaml.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'ModelYaml' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'resource' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 34

model - com/jsql/model/injection/vendor/model/yaml/Resource.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Resource' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 8
MethodArgumentCouldBeFinal Parameter 'info' is not assigned and could be declared final 20
MethodArgumentCouldBeFinal Parameter 'schema' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'zip' is not assigned and could be declared final 36
MethodArgumentCouldBeFinal Parameter 'dios' is not assigned and could be declared final 44
MethodArgumentCouldBeFinal Parameter 'exploit' is not assigned and could be declared final 52

model - com/jsql/model/injection/vendor/model/yaml/Row.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Row' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 8
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'fields' is not assigned and could be declared final 25

model - com/jsql/model/injection/vendor/model/yaml/Schema.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Schema' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 8
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 35
MethodArgumentCouldBeFinal Parameter 'row' is not assigned and could be declared final 43

model - com/jsql/model/injection/vendor/model/yaml/Strategy.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Strategy' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 8
MethodArgumentCouldBeFinal Parameter 'configuration' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'union' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'binary' is not assigned and could be declared final 37
MethodArgumentCouldBeFinal Parameter 'error' is not assigned and could be declared final 45
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'dns' is not assigned and could be declared final 61

model - com/jsql/model/injection/vendor/model/yaml/Test.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 11
AtLeastOneConstructor Each class should declare at least one constructor 11
DataClass The class 'Test' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=20, WMC=24) 11
TestClassWithoutTestCases The class 'Test' might be a test class, but it contains no test cases. 11
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 66
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'init' is not assigned and could be declared final 90
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 98
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 114
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 122
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 130
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 138
MethodArgumentCouldBeFinal Parameter 'bin' is not assigned and could be declared final 146

model - com/jsql/model/injection/vendor/model/yaml/Union.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Union' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 8
MethodArgumentCouldBeFinal Parameter 'indices' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'orderBy' is not assigned and could be declared final 34

model - com/jsql/model/injection/vendor/model/yaml/Write.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
AtLeastOneConstructor Each class should declare at least one constructor 8
DataClass The class 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 8
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 25

model - com/jsql/model/suspendable/AbstractSuspendable.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 19
RedundantFieldInitializer Avoid using redundant field initializer for 'isPaused' 24
AvoidFieldNameMatchingMethodName Field isPaused has the same name as a method 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 28
CommentSize Comment is too large: Line too long 39
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 43
CommentSize Comment is too large: Line too long 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 50
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 90

model - com/jsql/model/suspendable/SuspendableGetCharInsertion.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 48
LongVariable Avoid excessively long variable names like characterInsertionByUser 49
LocalVariableCouldBeFinal Local variable 'characterInsertionByUser' could be declared final 49
CloseResource Ensure that resources like this ExecutorService object are closed after use 51
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 51
LongVariable Avoid excessively long variable names like taskCompletionService 52
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 52
LongVariable Avoid excessively long variable names like charFromBooleanMatch 54
LocalVariableCouldBeFinal Local variable 'charFromBooleanMatch' could be declared final 54
UseExplicitTypes Use Explicit Types 54
LongVariable Avoid excessively long variable names like charactersInsertion 55
LocalVariableCouldBeFinal Local variable 'charactersInsertion' could be declared final 55
LocalVariableCouldBeFinal Local variable 'mediatorVendor' could be declared final 57
UseExplicitTypes Use Explicit Types 57
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 68
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 70
LongVariable Avoid excessively long variable names like vendorsOrderByMatch 72
LocalVariableCouldBeFinal Local variable 'vendorsOrderByMatch' could be declared final 72
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 76
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 77
UseExplicitTypes Use Explicit Types 77
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 79
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 79
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 79
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 80
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 96
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 103
LongVariable Avoid excessively long variable names like vendorsOrderByMatch 103
MethodArgumentCouldBeFinal Parameter 'vendorsOrderByMatch' is not assigned and could be declared final 103
CompareObjectsWithEquals Use equals() to compare object references. 106
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 1) 106
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 109
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 120
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 120
CompareObjectsWithEquals Use equals() to compare object references. 123
LawOfDemeter Call to `getAuto` on foreign value `mediatorVendor` (degree 1) 123
LongVariable Avoid excessively long variable names like optionalOrderByErrorMatch 128
LocalVariableCouldBeFinal Local variable 'optionalOrderByErrorMatch' could be declared final 128
LongVariable Avoid excessively long variable names like taskCompletionService 150
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 150
LongVariable Avoid excessively long variable names like charFromBooleanMatch 150
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 150
LocalVariableCouldBeFinal Local variable 'prefixValues' could be declared final 151
LocalVariableCouldBeFinal Local variable 'prefixQuotes' could be declared final 155
LocalVariableCouldBeFinal Local variable 'prefixParentheses' could be declared final 162
LongVariable Avoid excessively long variable names like charactersInsertion 163
LocalVariableCouldBeFinal Local variable 'charactersInsertion' could be declared final 163
LocalVariableCouldBeFinal Local variable 'prefixValue' could be declared final 165
LocalVariableCouldBeFinal Local variable 'prefixQuote' could be declared final 166
LocalVariableCouldBeFinal Local variable 'prefixParenthesis' could be declared final 167
LongVariable Avoid excessively long variable names like characterInsertion 172
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 172
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 174181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 177
LongVariable Avoid excessively long variable names like charFromBooleanMatch 188
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 188
LongVariable Avoid excessively long variable names like charactersInsertion 189
MethodArgumentCouldBeFinal Parameter 'charactersInsertion' is not assigned and could be declared final 189
MethodArgumentCouldBeFinal Parameter 'prefixValue' is not assigned and could be declared final 190
MethodArgumentCouldBeFinal Parameter 'prefixQuote' is not assigned and could be declared final 191
MethodArgumentCouldBeFinal Parameter 'prefixParenthesis' is not assigned and could be declared final 192
LongVariable Avoid excessively long variable names like characterInsertion 194
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 194
LongVariable Avoid excessively long variable names like injectionCharInsertion 198
LocalVariableCouldBeFinal Local variable 'injectionCharInsertion' could be declared final 198
UseExplicitTypes Use Explicit Types 198
LongVariable Avoid excessively long variable names like characterInsertionByUser 217
MethodArgumentCouldBeFinal Parameter 'characterInsertionByUser' is not assigned and could be declared final 217
LongVariable Avoid excessively long variable names like characterInsertionDetected 217
MethodArgumentCouldBeFinal Parameter 'characterInsertionDetected' is not assigned and could be declared final 217
LongVariable Avoid excessively long variable names like characterInsertionDetectedFixed 218
LongVariable Avoid excessively long variable names like logCharacterInsertion 221
LocalVariableCouldBeFinal Local variable 'logCharacterInsertion' could be declared final 221
ConfusingTernary Avoid if (x != y) ..; else ..; 227247
LongVariable Avoid excessively long variable names like characterInsertionByUserFormat 228
LocalVariableCouldBeFinal Local variable 'characterInsertionByUserFormat' could be declared final 228
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 232

model - com/jsql/model/suspendable/SuspendableGetIndexes.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 27
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 10. 32
CloseResource Ensure that resources like this ExecutorService object are closed after use 34
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 34
LongVariable Avoid excessively long variable names like taskCompletionService 35
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 35
LocalVariableCouldBeFinal Local variable 'countUnionIndex' could be declared final 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 41
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 4954
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 50
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 64
LocalVariableCouldBeFinal Local variable 'regexAllIndexes' could be declared final 67
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 71
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 74
LongVariable Avoid excessively long variable names like regexIndexesExceptFirst 75
LocalVariableCouldBeFinal Local variable 'regexIndexesExceptFirst' could be declared final 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 92

model - com/jsql/model/suspendable/SuspendableGetRows.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 3142
GodClass Possible God Class (WMC=57, ATFD=27, TCC=0.833%) 43
TooManyMethods This class has too many methods, consider refactoring it. 43423
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 47
CognitiveComplexity The method 'run(Object[])' has a cognitive complexity of 19, current threshold is 15 52
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 12. 52
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 52
LocalVariableCouldBeFinal Local variable 'initialSqlQuery' could be declared final 54
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 55
LocalVariableCouldBeFinal Local variable 'isMultipleRows' could be declared final 56
LocalVariableCouldBeFinal Local variable 'countRowsToFind' could be declared final 57
LocalVariableCouldBeFinal Local variable 'elementDatabase' could be declared final 58
LongVariable Avoid excessively long variable names like metadataInjectionProcess 59
LocalVariableCouldBeFinal Local variable 'metadataInjectionProcess' could be declared final 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 63
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 67
LongVariable Avoid excessively long variable names like slidingWindowAllRows 71
LocalVariableCouldBeFinal Local variable 'slidingWindowAllRows' could be declared final 71
UseExplicitTypes Use Explicit Types 71
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 72
LocalVariableCouldBeFinal Local variable 'slidingWindowCurrentRow' could be declared final 72
UseExplicitTypes Use Explicit Types 72
UseExplicitTypes Use Explicit Types 75
LongVariable Avoid excessively long variable names like charPositionInCurrentRow 76
UseExplicitTypes Use Explicit Types 76
UseExplicitTypes Use Explicit Types 77
LocalVariableCouldBeFinal Local variable 'regexLeadFound' could be declared final 86
LongVariable Avoid excessively long variable names like regexTrailOnlyFound 87
LocalVariableCouldBeFinal Local variable 'regexTrailOnlyFound' could be declared final 87
LocalVariableCouldBeFinal Local variable 'countChunkRows' could be declared final 116
CommentSize Comment is too large: Line too long 141
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 151
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 155
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 158
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 166
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 166
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 172176
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 181
MethodArgumentCouldBeFinal Parameter 'countAllRows' is not assigned and could be declared final 181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 182
LongVariable Avoid excessively long variable names like slidingWindowAllRows 185
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 185
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 185
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 185
CommentSize Comment is too large: Line too long 186
LongVariable Avoid excessively long variable names like regexAtLeastOneRow 187
LocalVariableCouldBeFinal Local variable 'regexAtLeastOneRow' could be declared final 187
UseExplicitTypes Use Explicit Types 187
LongVariable Avoid excessively long variable names like regexRowIncomplete 198
LocalVariableCouldBeFinal Local variable 'regexRowIncomplete' could be declared final 198
UseExplicitTypes Use Explicit Types 198
CommentSize Comment is too large: Line too long 205
LocalVariableCouldBeFinal Local variable 'allLine' could be declared final 208
UseExplicitTypes Use Explicit Types 208
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 221
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 226
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 226
LocalVariableCouldBeFinal Local variable 'currentRow' could be declared final 229
UseExplicitTypes Use Explicit Types 229
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 238
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 238
LongVariable Avoid excessively long variable names like regexAtLeastOneRow 239
LocalVariableCouldBeFinal Local variable 'regexAtLeastOneRow' could be declared final 239
UseExplicitTypes Use Explicit Types 239
UseExplicitTypes Use Explicit Types 249
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 256
ShortVariable Avoid variables with short names like e 256
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 256
LocalVariableCouldBeFinal Local variable 'request' could be declared final 260
UseExplicitTypes Use Explicit Types 260
LocalVariableCouldBeFinal Local variable 'messageError' could be declared final 265
UseExplicitTypes Use Explicit Types 265
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 48, but has at least 65 characters appended. 265
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 275
LocalVariableCouldBeFinal Local variable 'request' could be declared final 276
UseExplicitTypes Use Explicit Types 276
MethodArgumentCouldBeFinal Parameter 'loop' is not assigned and could be declared final 292
MethodArgumentCouldBeFinal Parameter 'previousChunk' is not assigned and could be declared final 293
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 294
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 295
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 295
LongVariable Avoid excessively long variable names like slidingWindowAllRows 296
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 296
AvoidLiteralsInIfCondition Avoid using literals such as 20 in if statements 301
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 312
LongVariable Avoid excessively long variable names like sourcePageUnicodeDecoded 313
LocalVariableCouldBeFinal Local variable 'sourcePageUnicodeDecoded' could be declared final 313
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 328
MethodArgumentCouldBeFinal Parameter 'performanceLength' is not assigned and could be declared final 328
LongVariable Avoid excessively long variable names like regexAtLeastOneRow 329
LocalVariableCouldBeFinal Local variable 'regexAtLeastOneRow' could be declared final 329
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 343
LongVariable Avoid excessively long variable names like slidingWindowAllRows 344
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 344
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 345
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 345
LongVariable Avoid excessively long variable names like slidingWindowAllRows 358
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 358
LocalVariableCouldBeFinal Local variable 'allRowsLimit' could be declared final 362
UseExplicitTypes Use Explicit Types 362
MethodArgumentCouldBeFinal Parameter 'numberToFind' is not assigned and could be declared final 379
MethodArgumentCouldBeFinal Parameter 'countProgress' is not assigned and could be declared final 379
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 379
LocalVariableCouldBeFinal Local variable 'request' could be declared final 381
UseExplicitTypes Use Explicit Types 381
MethodArgumentCouldBeFinal Parameter 'rows' is not assigned and could be declared final 388
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 390
UseExplicitTypes Use Explicit Types 390
UseExplicitTypes Use Explicit Types 404
LocalVariableCouldBeFinal Local variable 'listValues' could be declared final 405
LocalVariableCouldBeFinal Local variable 'values' could be declared final 410
LocalVariableCouldBeFinal Local variable 'instances' could be declared final 411
UseExplicitTypes Use Explicit Types 411
LocalVariableCouldBeFinal Local variable 'cellValue' could be declared final 416

model - com/jsql/model/suspendable/SuspendableGetVendor.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 24
LocalVariableCouldBeFinal Local variable 'isVendorFound' could be declared final 32
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream().filter(vendor -> vendor != this.injectionModel.getMediatorVendor().getAuto())` (degree 2) 3338
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream()` (degree 2) 3335
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 33
LawOfDemeter Call to `getVendorsForFingerprint` on foreign value `this.injectionModel.getMediatorVendor()` (degree 2) 33
LawOfDemeter Call to `stream` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint()` (degree 2) 3334
CompareObjectsWithEquals Use equals() to compare object references. 35
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 35
LongVariable Avoid excessively long variable names like vendorSpecificWithOperator 43
LocalVariableCouldBeFinal Local variable 'vendorSpecificWithOperator' could be declared final 43
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 43
LongVariable Avoid excessively long variable names like injectionCharInsertion 48
LocalVariableCouldBeFinal Local variable 'injectionCharInsertion' could be declared final 48
UseExplicitTypes Use Explicit Types 48
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 55
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 58
UseExplicitTypes Use Explicit Types 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 60
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 61
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 62
ExceptionAsFlowControl Exception thrown at line 51 is caught in this block. 6668

model - com/jsql/model/suspendable/callable/CallablePageSource.java

Rule Violation Line
DataClass The class 'CallablePageSource' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=7) 14
LongVariable Avoid excessively long variable names like metadataInjectionProcess 21
LongVariable Avoid excessively long variable names like characterInsertion 31
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 38
LongVariable Avoid excessively long variable names like metadataInjectionProcess 38
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'nbIndex' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 49
LongVariable Avoid excessively long variable names like characterInsertion 50
MethodArgumentCouldBeFinal Parameter 'characterInsertion' is not assigned and could be declared final 50
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 51
LongVariable Avoid excessively long variable names like metadataInjectionProcess 52
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 52

model - com/jsql/model/suspendable/callable/ThreadFactoryCallable.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 9
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 14
MethodArgumentCouldBeFinal Parameter 'runnable' is not assigned and could be declared final 14
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 15

model - com/jsql/util/AnsiColorUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 29

model - com/jsql/util/AuthenticationUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 18
RedundantFieldInitializer Avoid using redundant field initializer for 'isAuthentication' 25
LongVariable Avoid excessively long variable names like usernameAuthentication 30
LongVariable Avoid excessively long variable names like passwordAuthentication 35
RedundantFieldInitializer Avoid using redundant field initializer for 'isKerberos' 40
AvoidFieldNameMatchingMethodName Field isKerberos has the same name as a method 40
CommentSize Comment is too large: Too many lines 5261
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 62
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 63
LongVariable Avoid excessively long variable names like usernameAuthentication 64
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 64
LongVariable Avoid excessively long variable names like passwordAuthentication 65
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 66
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 68
LocalVariableCouldBeFinal Local variable 'isRestartRequired' could be declared final 70
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 76
LongVariable Avoid excessively long variable names like usernameAuthentication 76
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 76
LongVariable Avoid excessively long variable names like passwordAuthentication 76
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 76
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 77
UseExplicitTypes Use Explicit Types 77
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 87
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 87
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 87
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 89
UseExplicitTypes Use Explicit Types 89
LocalVariableCouldBeFinal Local variable 'isRestartRequired' could be declared final 96
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 123
UseExplicitTypes Use Explicit Types 123
LongVariable Avoid excessively long variable names like usernameAuthentication 205
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 205
LongVariable Avoid excessively long variable names like passwordAuthentication 210
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 210

model - com/jsql/util/CertificateUtil.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'sslContext' 23
CommentSize Comment is too large: Line too long 29
LocalVariableCouldBeFinal Local variable 'trustAllCerts' could be declared final 30
UseExplicitTypes Use Explicit Types 30

model - com/jsql/util/ConnectionUtil.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1318
GodClass Possible God Class (WMC=49, ATFD=80, TCC=11.688%) 39
LongVariable Avoid excessively long variable names like randomForUserAgent 47
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 51
LocalVariableCouldBeFinal Local variable 'httpClientBuilder' could be declared final 56
UseExplicitTypes Use Explicit Types 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 67
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 70
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 76
MethodArgumentCouldBeFinal Parameter 'httpResponse' is not assigned and could be declared final 84
LocalVariableCouldBeFinal Local variable 'sortedMap' could be declared final 85
LocalVariableCouldBeFinal Local variable 'responseCodeHttp' could be declared final 86
MethodArgumentCouldBeFinal Parameter 'httpHeaders' is not assigned and could be declared final 91
LocalVariableCouldBeFinal Local variable 'unsortedMap' could be declared final 92
LocalVariableCouldBeFinal Local variable 'queryString' could be declared final 113
UseExplicitTypes Use Explicit Types 113
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 113
UseExplicitTypes Use Explicit Types 114
LongVariable Avoid excessively long variable names like contentTypeRequest 120
UseExplicitTypes Use Explicit Types 122
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 122
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 124
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 128
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 133
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 147
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 148
LocalVariableCouldBeFinal Local variable 'header' could be declared final 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 157
CyclomaticComplexity The method 'testConnection()' has a cyclomatic complexity of 11. 160
CommentSize Comment is too large: Line too long 161
LawOfDemeter Call to `getCookieStore` on foreign value `this.getCookieManager()` (degree 1) 163
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 168
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 170
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 174
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 182
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 192
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 196
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 200
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 200
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 200
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 204
MethodArgumentCouldBeFinal Parameter 'lineFeed' is not assigned and could be declared final 204
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 204
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 204
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 205
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 205
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 211
UseExplicitTypes Use Explicit Types 211
LocalVariableCouldBeFinal Local variable 'httpHeaders' could be declared final 216
LocalVariableCouldBeFinal Local variable 'response' could be declared final 218
LocalVariableCouldBeFinal Local variable 'response' could be declared final 222
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 236
LocalVariableCouldBeFinal Local variable 'request' could be declared final 240
UseExplicitTypes Use Explicit Types 240
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 249
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 250
LocalVariableCouldBeFinal Local variable 'agents' could be declared final 251
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 251
LocalVariableCouldBeFinal Local variable 'listAgents' could be declared final 252
LocalVariableCouldBeFinal Local variable 'randomElement' could be declared final 255
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 263
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 268
MethodArgumentCouldBeFinal Parameter 'urlByUser' is not assigned and could be declared final 280
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 288
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 296
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 304
CommentSize Comment is too large: Line too long 309
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 312

model - com/jsql/util/CookiesUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 20
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 24
ConfusingTernary Avoid if (x != y) ..; else ..; 2532
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 26
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 31
LocalVariableCouldBeFinal Local variable 'rawHeader' could be declared final 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 34
LocalVariableCouldBeFinal Local variable 'cookies' could be declared final 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 36
LocalVariableCouldBeFinal Local variable 'cookie' could be declared final 51
LocalVariableCouldBeFinal Local variable 'keyValue' could be declared final 52
LongVariable Avoid excessively long variable names like headerCookieWithStar 53
LocalVariableCouldBeFinal Local variable 'headerCookieWithStar' could be declared final 53
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 55
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 66

model - com/jsql/util/CsrfUtil.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenCsrf' 18
LongVariable Avoid excessively long variable names like SET_COOKIE_RESPONSE 20
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'headers' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 35
LocalVariableCouldBeFinal Local variable 'tags' could be declared final 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 55
LocalVariableCouldBeFinal Local variable 'optionalTokenCsrf' could be declared final 60
LocalVariableCouldBeFinal Local variable 'tokenCsrfFound' could be declared final 73
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 81
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 82
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 96
LongVariable Avoid excessively long variable names like optionalCookieCsrf 97
LocalVariableCouldBeFinal Local variable 'cookieValues' could be declared final 102
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 104
LocalVariableCouldBeFinal Local variable 'cookieEntry' could be declared final 106
LocalVariableCouldBeFinal Local variable 'cookieCsrf' could be declared final 116
LocalVariableCouldBeFinal Local variable 'headerCsrf' could be declared final 123
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 128
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 129
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 148
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 154
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 158164
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 175
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 182
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 185
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 187
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 192
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 196
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 197
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 199
MethodArgumentCouldBeFinal Parameter 'tokenCsrf' is not assigned and could be declared final 217

model - com/jsql/util/DigestUtil.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenDigest' 23
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 31
LocalVariableCouldBeFinal Local variable 'digestParts' could be declared final 36
LocalVariableCouldBeFinal Local variable 'cookieValues' could be declared final 41
LocalVariableCouldBeFinal Local variable 'cookieEntry' could be declared final 43
LocalVariableCouldBeFinal Local variable 'realm' could be declared final 53
LocalVariableCouldBeFinal Local variable 'qop' could be declared final 54
LocalVariableCouldBeFinal Local variable 'nonce' could be declared final 55
LocalVariableCouldBeFinal Local variable 'username' could be declared final 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 58
LocalVariableCouldBeFinal Local variable 'password' could be declared final 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 59
ShortVariable Avoid variables with short names like nc 60
LocalVariableCouldBeFinal Local variable 'nc' could be declared final 60
LocalVariableCouldBeFinal Local variable 'cnonce' could be declared final 61
LocalVariableCouldBeFinal Local variable 'url' could be declared final 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 63
LocalVariableCouldBeFinal Local variable 'path' could be declared final 64
LocalVariableCouldBeFinal Local variable 'ha1' could be declared final 66
LocalVariableCouldBeFinal Local variable 'ha2' could be declared final 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 70
LocalVariableCouldBeFinal Local variable 'response' could be declared final 72
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 86
MethodArgumentCouldBeFinal Parameter 'tokenDigest' is not assigned and could be declared final 97

model - com/jsql/util/ExceptionUtil.java

Rule Violation Line
LongVariable Avoid excessively long variable names like exceptionsMd5Cached 28
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 30
AtLeastOneConstructor Each class should declare at least one constructor 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 41
MethodArgumentCouldBeFinal Parameter 'thread' is not assigned and could be declared final 41
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 62
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 69
UseExplicitTypes Use Explicit Types 69
LocalVariableCouldBeFinal Local variable 'stackTrace' could be declared final 71
LocalVariableCouldBeFinal Local variable 'passwordString' could be declared final 72
UseExplicitTypes Use Explicit Types 72
LocalVariableCouldBeFinal Local variable 'passwordByte' could be declared final 74
LocalVariableCouldBeFinal Local variable 'encodedPassword' could be declared final 77
LocalVariableCouldBeFinal Local variable 'md5Exception' could be declared final 78
UseExplicitTypes Use Explicit Types 78
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 98
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 105

model - com/jsql/util/FormUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 27
LocalVariableCouldBeFinal Local variable 'elementsForm' could be declared final 28
UseExplicitTypes Use Explicit Types 28
LocalVariableCouldBeFinal Local variable 'result' could be declared final 33
UseExplicitTypes Use Explicit Types 33
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 34
LocalVariableCouldBeFinal Local variable 'mapForms' could be declared final 34
LocalVariableCouldBeFinal Local variable 'form' could be declared final 36
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 37
LocalVariableCouldBeFinal Local variable 'input' could be declared final 45
ConfusingTernary Avoid if (x != y) ..; else ..; 5862
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 58
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 65
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 65
MethodArgumentCouldBeFinal Parameter 'mapForms' is not assigned and could be declared final 65
LocalVariableCouldBeFinal Local variable 'form' could be declared final 73
LocalVariableCouldBeFinal Local variable 'input' could be declared final 74
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 76
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 84
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 96
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 96
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 96
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 96
AvoidLiteralsInIfCondition Avoid using literals such as 200 in if statements 103

model - com/jsql/util/GitUtil.java

Rule Violation Line
ShortVariable Avoid variables with short names like NO 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 47
LongVariable Avoid excessively long variable names like displayUpdateMessage 55
MethodArgumentCouldBeFinal Parameter 'displayUpdateMessage' is not assigned and could be declared final 55
LocalVariableCouldBeFinal Local variable 'versionGit' could be declared final 60
UseExplicitTypes Use Explicit Types 60
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 61
MethodArgumentCouldBeFinal Parameter 'threadName' is not assigned and could be declared final 78
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 78
LocalVariableCouldBeFinal Local variable 'screenSize' could be declared final 79
LawOfDemeter Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) 79
LocalVariableCouldBeFinal Local variable 'width' could be declared final 80
LocalVariableCouldBeFinal Local variable 'height' could be declared final 81
LocalVariableCouldBeFinal Local variable 'osMetadata' could be declared final 83
UseExplicitTypes Use Explicit Types 83
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 87
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 110
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 116
LocalVariableCouldBeFinal Local variable 'exceptionText' could be declared final 120
UseExplicitTypes Use Explicit Types 120
UseExplicitTypes Use Explicit Types 121
CommentSize Comment is too large: Line too long 129
CommentSize Comment is too large: Line too long 131
MethodArgumentCouldBeFinal Parameter 'reportBody' is not assigned and could be declared final 134
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 134
MethodArgumentCouldBeFinal Parameter 'reportTitle' is not assigned and could be declared final 134
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 135
LocalVariableCouldBeFinal Local variable 'token' could be declared final 139
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 142
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 148
UseExplicitTypes Use Explicit Types 148
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 149
LocalVariableCouldBeFinal Local variable 'response' could be declared final 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 161
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 169
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 173
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 173
LongVariable Avoid excessively long variable names like jsonObjectResponse 176
LocalVariableCouldBeFinal Local variable 'jsonObjectResponse' could be declared final 176
UseExplicitTypes Use Explicit Types 176
LocalVariableCouldBeFinal Local variable 'urlIssue' could be declared final 177
UseExplicitTypes Use Explicit Types 177
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 180
PreserveStackTrace Thrown exception does not preserve the stack trace of exception 'e' on all code paths 181
CommentSize Comment is too large: Line too long 187
LocalVariableCouldBeFinal Local variable 'news' could be declared final 192
UseExplicitTypes Use Explicit Types 192
UseExplicitTypes Use Explicit Types 193
LocalVariableCouldBeFinal Local variable 'json' could be declared final 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 209
CommentSize Comment is too large: Line too long 213

model - com/jsql/util/HeaderUtil.java

Rule Violation Line
LongVariable Avoid excessively long variable names like CONTENT_TYPE_REQUEST 32
LongVariable Avoid excessively long variable names like WWW_AUTHENTICATE_RESPONSE 33
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 39
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 49
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 49
LocalVariableCouldBeFinal Local variable 'keyHeader' could be declared final 50
LocalVariableCouldBeFinal Local variable 'cookies' could be declared final 55
CommentSize Comment is too large: Line too long 61
LongVariable Avoid excessively long variable names like httpRequestBuilder 85
MethodArgumentCouldBeFinal Parameter 'httpRequestBuilder' is not assigned and could be declared final 85
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 85
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 86
UseExplicitTypes Use Explicit Types 86
LocalVariableCouldBeFinal Local variable 'httpResponse' could be declared final 87
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 87
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 91
LocalVariableCouldBeFinal Local variable 'cookies' could be declared final 93
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 93
LocalVariableCouldBeFinal Local variable 'responseCode' could be declared final 98
UseExplicitTypes Use Explicit Types 98
LongVariable Avoid excessively long variable names like mapResponseHeaders 99
LocalVariableCouldBeFinal Local variable 'mapResponseHeaders' could be declared final 99
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 105
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 107
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 107
LocalVariableCouldBeFinal Local variable 'sizeHeaders' could be declared final 109
LocalVariableCouldBeFinal Local variable 'size' could be declared final 115
LocalVariableCouldBeFinal Local variable 'decimalFormat' could be declared final 116
UseExplicitTypes Use Explicit Types 116
LocalVariableCouldBeFinal Local variable 'request' could be declared final 128
UseExplicitTypes Use Explicit Types 128
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 136
AvoidLiteralsInIfCondition Avoid using literals such as 400 in if statements 137
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 138
CognitiveComplexity The method 'checkResponse(String, Map<String, String>)' has a cognitive complexity of 18, current threshold is 15 146
CyclomaticComplexity The method 'checkResponse(String, Map<String, String>)' has a cyclomatic complexity of 11. 146
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 146
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 146
ConfusingTernary Avoid if (x != y) ..; else ..; 181185
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 181
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 195
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 195
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 214
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 214

model - com/jsql/util/I18nUtil.java

Rule Violation Line
CommentSize Comment is too large: Line too long 12
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 42
CommentSize Comment is too large: Line too long 47
LocalVariableCouldBeFinal Local variable 'path' could be declared final 51
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 51
LocalVariableCouldBeFinal Local variable 'languageHost' could be declared final 53
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 69

model - com/jsql/util/JsonUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'param' is not assigned and could be declared final 29
LongVariable Avoid excessively long variable names like exceptionJSONObject 33
LongVariable Avoid excessively long variable names like exceptionJSONArray 36
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 43
LocalVariableCouldBeFinal Local variable 'attributesXPath' could be declared final 44
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 53
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 53
LocalVariableCouldBeFinal Local variable 'jsonArrayEntity' could be declared final 54
UseExplicitTypes Use Explicit Types 54
UseExplicitTypes Use Explicit Types 55
LocalVariableCouldBeFinal Local variable 'value' could be declared final 56
LocalVariableCouldBeFinal Local variable 'xpath' could be declared final 57
CommentSize Comment is too large: Line too long 59
LocalVariableCouldBeFinal Local variable 'stringValue' could be declared final 63
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 63
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 75
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 75
LocalVariableCouldBeFinal Local variable 'jsonObjectEntity' could be declared final 76
UseExplicitTypes Use Explicit Types 76
LocalVariableCouldBeFinal Local variable 'keys' could be declared final 77
LocalVariableCouldBeFinal Local variable 'key' could be declared final 79
LocalVariableCouldBeFinal Local variable 'value' could be declared final 80
UseExplicitTypes Use Explicit Types 80
LocalVariableCouldBeFinal Local variable 'xpath' could be declared final 81
CommentSize Comment is too large: Line too long 83
LocalVariableCouldBeFinal Local variable 'stringValue' could be declared final 88
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 88
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 100
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 100
UseExplicitTypes Use Explicit Types 101
LocalVariableCouldBeFinal Local variable 'jsonEntity' could be declared final 107
LocalVariableCouldBeFinal Local variable 'attributesJson' could be declared final 110
LocalVariableCouldBeFinal Local variable 'parentXPath' could be declared final 113
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 131

model - com/jsql/util/LogLevelUtil.java

Rule Violation Line
DataClass The class 'LogLevelUtil' is suspected to be a Data Class (WOC=0.000%, NOPA=9, NOAM=0, WMC=1) 7

model - com/jsql/util/MultipartUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 22
ConfusingTernary Avoid if (x != y) ..; else ..; 2327
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 26
LocalVariableCouldBeFinal Local variable 'rawHeader' could be declared final 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 29
LocalVariableCouldBeFinal Local variable 'rawRequest' could be declared final 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 30
LocalVariableCouldBeFinal Local variable 'matcherBoundary' could be declared final 32
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 34
LocalVariableCouldBeFinal Local variable 'boundary' could be declared final 37
LongVariable Avoid excessively long variable names like matcherFormDataParameters 39
LocalVariableCouldBeFinal Local variable 'matcherFormDataParameters' could be declared final 39
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 45
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 51
LongVariable Avoid excessively long variable names like matcherFormDataParameters 51
MethodArgumentCouldBeFinal Parameter 'matcherFormDataParameters' is not assigned and could be declared final 51
LocalVariableCouldBeFinal Local variable 'nameParameter' could be declared final 52
LocalVariableCouldBeFinal Local variable 'valueParameter' could be declared final 53
LongVariable Avoid excessively long variable names like rawRequestWithStar 55
LocalVariableCouldBeFinal Local variable 'rawRequestWithStar' could be declared final 55
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 70
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 70

model - com/jsql/util/ParameterUtil.java

Rule Violation Line
GodClass Possible God Class (WMC=83, ATFD=81, TCC=16.190%) 25
CyclomaticComplexity The class 'ParameterUtil' has a total cyclomatic complexity of 83 (highest 13). 25
TooManyMethods This class has too many methods, consider refactoring it. 25412
LongVariable Avoid excessively long variable names like isMultipartRequest 47
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultipartRequest' 47
AvoidFieldNameMatchingMethodName Field isMultipartRequest has the same name as a method 47
LocalVariableCouldBeFinal Local variable 'allowedTokenChars' could be declared final 54
LocalVariableCouldBeFinal Local variable 'c' could be declared final 59
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 66
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 75
CyclomaticComplexity The method 'controlInput(String, String, String, AbstractMethodInjection, String, boolean)' has a cyclomatic complexity of 13. 75
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 77
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 78
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 79
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 80
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 81
ConfusingTernary Avoid if (x != y) ..; else ..; 8994
LocalVariableCouldBeFinal Local variable 'port' could be declared final 97
AvoidLiteralsInIfCondition Avoid using literals such as 65535 in if statements 98
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 98
LocalVariableCouldBeFinal Local variable 'authority' could be declared final 101
LocalVariableCouldBeFinal Local variable 'authorityPunycode' could be declared final 105
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 115
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 121
ExceptionAsFlowControl Exception thrown at line 103 is caught in this block. 123130
ExceptionAsFlowControl Exception thrown at line 87 is caught in this block. 123130
ExceptionAsFlowControl Exception thrown at line 93 is caught in this block. 123130
ExceptionAsFlowControl Exception thrown at line 99 is caught in this block. 123130
LocalVariableCouldBeFinal Local variable 'request' could be declared final 127
UseExplicitTypes Use Explicit Types 127
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 145
MethodArgumentCouldBeFinal Parameter 'token' is not assigned and could be declared final 153
ShortVariable Avoid variables with short names like c 155
LocalVariableCouldBeFinal Local variable 'c' could be declared final 155
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 157
LocalVariableCouldBeFinal Local variable 'matcherBoundary' could be declared final 177
LocalVariableCouldBeFinal Local variable 'boundary' could be declared final 179
ConfusingTernary Avoid if (x != y) ..; else ..; 180186
UseExplicitTypes Use Explicit Types 192
CyclomaticComplexity The method 'checkStarMatchMethod()' has a cyclomatic complexity of 13. 215
LocalVariableCouldBeFinal Local variable 'methodInjection' could be declared final 216
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 216
LongVariable Avoid excessively long variable names like isCheckingAllParam 217
LocalVariableCouldBeFinal Local variable 'isCheckingAllParam' could be declared final 217
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 217
CompareObjectsWithEquals Use equals() to compare object references. 221
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 221
CompareObjectsWithEquals Use equals() to compare object references. 227
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 227
CompareObjectsWithEquals Use equals() to compare object references. 233
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 233
CyclomaticComplexity The method 'checkMethodNotEmpty()' has a cyclomatic complexity of 12. 240
LocalVariableCouldBeFinal Local variable 'methodInjection' could be declared final 241
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 241
LongVariable Avoid excessively long variable names like isCheckingAllParam 242
LocalVariableCouldBeFinal Local variable 'isCheckingAllParam' could be declared final 242
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 242
CompareObjectsWithEquals Use equals() to compare object references. 245
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 245
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 248
CompareObjectsWithEquals Use equals() to compare object references. 252
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 252
CompareObjectsWithEquals Use equals() to compare object references. 257
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 257
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 264
LongVariable Avoid excessively long variable names like characterInsertionByUser 265
LocalVariableCouldBeFinal Local variable 'characterInsertionByUser' could be declared final 265
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 275
LocalVariableCouldBeFinal Local variable 'url' could be declared final 277
UseExplicitTypes Use Explicit Types 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 286
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 287
LocalVariableCouldBeFinal Local variable 'regexQueryString' could be declared final 291
UseExplicitTypes Use Explicit Types 291
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 296
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 309
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 331
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 350
CompareObjectsWithEquals Use equals() to compare object references. 350
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 350

model - com/jsql/util/PreferencesUtil.java

Rule Violation Line
CyclomaticComplexity The class 'PreferencesUtil' has a total cyclomatic complexity of 136 (highest 3). 22
ExcessivePublicCount This class has a bunch of public methods and attributes 22
TooManyMethods This class has too many methods, consider refactoring it. 22897
TooManyFields Too many fields 22897
AvoidFieldNameMatchingMethodName Field isCheckingUpdate has the same name as a method 35
AvoidFieldNameMatchingMethodName Field isShowNews has the same name as a method 36
AvoidFieldNameMatchingMethodName Field isReportingBugs has the same name as a method 39
RedundantFieldInitializer Avoid using redundant field initializer for 'is4K' 41
AvoidFieldNameMatchingMethodName Field is4K has the same name as a method 41
LongVariable Avoid excessively long variable names like isFollowingRedirection 43
RedundantFieldInitializer Avoid using redundant field initializer for 'isFollowingRedirection' 43
AvoidFieldNameMatchingMethodName Field isFollowingRedirection has the same name as a method 43
RedundantFieldInitializer Avoid using redundant field initializer for 'isHttp2Disabled' 44
AvoidFieldNameMatchingMethodName Field isHttp2Disabled has the same name as a method 44
LongVariable Avoid excessively long variable names like isNotInjectingMetadata 46
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotInjectingMetadata' 46
AvoidFieldNameMatchingMethodName Field isNotInjectingMetadata has the same name as a method 46
LongVariable Avoid excessively long variable names like isNotSearchingCharInsertion 47
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotSearchingCharInsertion' 47
AvoidFieldNameMatchingMethodName Field isNotSearchingCharInsertion has the same name as a method 47
LongVariable Avoid excessively long variable names like isNotShowingVulnReport 48
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotShowingVulnReport' 48
AvoidFieldNameMatchingMethodName Field isNotShowingVulnReport has the same name as a method 48
LongVariable Avoid excessively long variable names like isCheckingAllParam 50
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllParam' 50
AvoidFieldNameMatchingMethodName Field isCheckingAllParam has the same name as a method 50
LongVariable Avoid excessively long variable names like isCheckingAllURLParam 51
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllURLParam' 51
AvoidFieldNameMatchingMethodName Field isCheckingAllURLParam has the same name as a method 51
LongVariable Avoid excessively long variable names like isCheckingAllRequestParam 52
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllRequestParam' 52
AvoidFieldNameMatchingMethodName Field isCheckingAllRequestParam has the same name as a method 52
LongVariable Avoid excessively long variable names like isCheckingAllHeaderParam 53
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllHeaderParam' 53
AvoidFieldNameMatchingMethodName Field isCheckingAllHeaderParam has the same name as a method 53
LongVariable Avoid excessively long variable names like isCheckingAllBase64Param 54
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllBase64Param' 54
AvoidFieldNameMatchingMethodName Field isCheckingAllBase64Param has the same name as a method 54
LongVariable Avoid excessively long variable names like isCheckingAllJsonParam 55
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllJsonParam' 55
AvoidFieldNameMatchingMethodName Field isCheckingAllJsonParam has the same name as a method 55
LongVariable Avoid excessively long variable names like isCheckingAllCookieParam 56
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllCookieParam' 56
AvoidFieldNameMatchingMethodName Field isCheckingAllCookieParam has the same name as a method 56
LongVariable Avoid excessively long variable names like isCheckingAllSoapParam 57
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllSoapParam' 57
AvoidFieldNameMatchingMethodName Field isCheckingAllSoapParam has the same name as a method 57
LongVariable Avoid excessively long variable names like isPerfIndexDisabled 59
RedundantFieldInitializer Avoid using redundant field initializer for 'isPerfIndexDisabled' 59
AvoidFieldNameMatchingMethodName Field isPerfIndexDisabled has the same name as a method 59
RedundantFieldInitializer Avoid using redundant field initializer for 'isDefaultStrategy' 60
AvoidFieldNameMatchingMethodName Field isDefaultStrategy has the same name as a method 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isZipStrategy' 61
AvoidFieldNameMatchingMethodName Field isZipStrategy has the same name as a method 61
RedundantFieldInitializer Avoid using redundant field initializer for 'isDiosStrategy' 62
AvoidFieldNameMatchingMethodName Field isDiosStrategy has the same name as a method 62
LongVariable Avoid excessively long variable names like isUrlEncodingDisabled 63
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlEncodingDisabled' 63
AvoidFieldNameMatchingMethodName Field isUrlEncodingDisabled has the same name as a method 63
LongVariable Avoid excessively long variable names like isUrlRandomSuffixDisabled 64
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlRandomSuffixDisabled' 64
AvoidFieldNameMatchingMethodName Field isUrlRandomSuffixDisabled has the same name as a method 64
RedundantFieldInitializer Avoid using redundant field initializer for 'isParsingForm' 66
AvoidFieldNameMatchingMethodName Field isParsingForm has the same name as a method 66
LongVariable Avoid excessively long variable names like isNotTestingConnection 67
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotTestingConnection' 67
AvoidFieldNameMatchingMethodName Field isNotTestingConnection has the same name as a method 67
LongVariable Avoid excessively long variable names like isNotProcessingCookies 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotProcessingCookies' 68
AvoidFieldNameMatchingMethodName Field isNotProcessingCookies has the same name as a method 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isProcessingCsrf' 69
AvoidFieldNameMatchingMethodName Field isProcessingCsrf has the same name as a method 69
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingBase64' 71
AvoidFieldNameMatchingMethodName Field isTamperingBase64 has the same name as a method 71
LongVariable Avoid excessively long variable names like isTamperingFunctionComment 72
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingFunctionComment' 72
AvoidFieldNameMatchingMethodName Field isTamperingFunctionComment has the same name as a method 72
LongVariable Avoid excessively long variable names like isTamperingVersionComment 73
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingVersionComment' 73
AvoidFieldNameMatchingMethodName Field isTamperingVersionComment has the same name as a method 73
LongVariable Avoid excessively long variable names like isTamperingEqualToLike 74
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEqualToLike' 74
AvoidFieldNameMatchingMethodName Field isTamperingEqualToLike has the same name as a method 74
LongVariable Avoid excessively long variable names like isTamperingRandomCase 75
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingRandomCase' 75
AvoidFieldNameMatchingMethodName Field isTamperingRandomCase has the same name as a method 75
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEval' 76
AvoidFieldNameMatchingMethodName Field isTamperingEval has the same name as a method 76
LongVariable Avoid excessively long variable names like isTamperingSpaceToMultilineComment 77
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToMultilineComment' 77
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToMultilineComment has the same name as a method 77
LongVariable Avoid excessively long variable names like isTamperingSpaceToDashComment 78
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToDashComment' 78
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToDashComment has the same name as a method 78
LongVariable Avoid excessively long variable names like isTamperingSpaceToSharpComment 79
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToSharpComment' 79
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToSharpComment has the same name as a method 79
AvoidFieldNameMatchingMethodName Field csrfUserTag has the same name as a method 81
AvoidFieldNameMatchingMethodName Field csrfUserTagOutput has the same name as a method 82
RedundantFieldInitializer Avoid using redundant field initializer for 'isCsrfUserTag' 83
AvoidFieldNameMatchingMethodName Field isCsrfUserTag has the same name as a method 83
AvoidFieldNameMatchingMethodName Field isLimitingThreads has the same name as a method 84
LongVariable Avoid excessively long variable names like countLimitingThreads 85
AvoidFieldNameMatchingMethodName Field countLimitingThreads has the same name as a method 85
LongVariable Avoid excessively long variable names like isConnectionTimeout 86
RedundantFieldInitializer Avoid using redundant field initializer for 'isConnectionTimeout' 86
AvoidFieldNameMatchingMethodName Field isConnectionTimeout has the same name as a method 86
LongVariable Avoid excessively long variable names like countConnectionTimeout 87
AvoidFieldNameMatchingMethodName Field countConnectionTimeout has the same name as a method 87
LongVariable Avoid excessively long variable names like isUnicodeDecodeDisabled 88
RedundantFieldInitializer Avoid using redundant field initializer for 'isUnicodeDecodeDisabled' 88
AvoidFieldNameMatchingMethodName Field isUnicodeDecodeDisabled has the same name as a method 88
LongVariable Avoid excessively long variable names like isUrlDecodeDisabled 89
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeDisabled' 89
AvoidFieldNameMatchingMethodName Field isUrlDecodeDisabled has the same name as a method 89
LongVariable Avoid excessively long variable names like isStrategyTimeDisabled 91
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyTimeDisabled' 91
AvoidFieldNameMatchingMethodName Field isStrategyTimeDisabled has the same name as a method 91
LongVariable Avoid excessively long variable names like isStrategyBlindBinDisabled 92
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBinDisabled' 92
AvoidFieldNameMatchingMethodName Field isStrategyBlindBinDisabled has the same name as a method 92
LongVariable Avoid excessively long variable names like isStrategyBlindBitDisabled 93
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBitDisabled' 93
AvoidFieldNameMatchingMethodName Field isStrategyBlindBitDisabled has the same name as a method 93
LongVariable Avoid excessively long variable names like isStrategyMultibitDisabled 94
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyMultibitDisabled' 94
AvoidFieldNameMatchingMethodName Field isStrategyMultibitDisabled has the same name as a method 94
LongVariable Avoid excessively long variable names like isStrategyDnsDisabled 95
AvoidFieldNameMatchingMethodName Field isStrategyDnsDisabled has the same name as a method 95
LongVariable Avoid excessively long variable names like isStrategyStackDisabled 96
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyStackDisabled' 96
AvoidFieldNameMatchingMethodName Field isStrategyStackDisabled has the same name as a method 96
LongVariable Avoid excessively long variable names like isStrategyErrorDisabled 97
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyErrorDisabled' 97
AvoidFieldNameMatchingMethodName Field isStrategyErrorDisabled has the same name as a method 97
LongVariable Avoid excessively long variable names like isStrategyUnionDisabled 98
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyUnionDisabled' 98
AvoidFieldNameMatchingMethodName Field isStrategyUnionDisabled has the same name as a method 98
LongVariable Avoid excessively long variable names like isLimitingUnionIndex 100
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingUnionIndex' 100
AvoidFieldNameMatchingMethodName Field isLimitingUnionIndex has the same name as a method 100
AvoidFieldNameMatchingMethodName Field countUnionIndex has the same name as a method 101
LongVariable Avoid excessively long variable names like isLimitingSleepTimeStrategy 102
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingSleepTimeStrategy' 102
AvoidFieldNameMatchingMethodName Field isLimitingSleepTimeStrategy has the same name as a method 102
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 103
AvoidFieldNameMatchingMethodName Field countSleepTimeStrategy has the same name as a method 103
RedundantFieldInitializer Avoid using redundant field initializer for 'isUserAgentRandom' 107
AvoidFieldNameMatchingMethodName Field isUserAgentRandom has the same name as a method 107
LongVariable Avoid excessively long variable names like isUrlDecodeNetworkTab 108
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeNetworkTab' 108
AvoidFieldNameMatchingMethodName Field isUrlDecodeNetworkTab has the same name as a method 108
LongVariable Avoid excessively long variable names like commandsReverseYaml 114
LocalVariableCouldBeFinal Local variable 'loaderOptions' could be declared final 118
UseExplicitTypes Use Explicit Types 118
LongVariable Avoid excessively long variable names like commandsReverseYaml 128
MethodArgumentCouldBeFinal Parameter 'commandsReverseYaml' is not assigned and could be declared final 128
LongVariable Avoid excessively long variable names like commandsReverseMap 129
LocalVariableCouldBeFinal Local variable 'commandsReverseMap' could be declared final 129
NcssCount The method 'loadSavedPreferences()' has a NCSS line count of 65. 143
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 146
NcssCount The method 'persist()' has a NCSS line count of 64. 228
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 230
UseExplicitTypes Use Explicit Types 230
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 308
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 310
MethodArgumentCouldBeFinal Parameter 'isCheckingUpdate' is not assigned and could be declared final 584
MethodArgumentCouldBeFinal Parameter 'isShowNews' is not assigned and could be declared final 589
MethodArgumentCouldBeFinal Parameter 'isReportingBugs' is not assigned and could be declared final 593
MethodArgumentCouldBeFinal Parameter 'is4K' is not assigned and could be declared final 598
LongVariable Avoid excessively long variable names like isFollowingRedirection 603
MethodArgumentCouldBeFinal Parameter 'isFollowingRedirection' is not assigned and could be declared final 603
MethodArgumentCouldBeFinal Parameter 'isHttp2Disabled' is not assigned and could be declared final 608
LongVariable Avoid excessively long variable names like isUnicodeDecodeDisabled 613
MethodArgumentCouldBeFinal Parameter 'isUnicodeDecodeDisabled' is not assigned and could be declared final 613
LongVariable Avoid excessively long variable names like isUrlDecodeDisabled 618
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeDisabled' is not assigned and could be declared final 618
LongVariable Avoid excessively long variable names like isNotInjectingMetadata 623
MethodArgumentCouldBeFinal Parameter 'isNotInjectingMetadata' is not assigned and could be declared final 623
LongVariable Avoid excessively long variable names like isNotSearchingCharInsertion 628
MethodArgumentCouldBeFinal Parameter 'isNotSearchingCharInsertion' is not assigned and could be declared final 628
LongVariable Avoid excessively long variable names like isNotShowingVulnReport 633
MethodArgumentCouldBeFinal Parameter 'isNotShowingVulnReport' is not assigned and could be declared final 633
LongVariable Avoid excessively long variable names like isCheckingAllParam 638
MethodArgumentCouldBeFinal Parameter 'isCheckingAllParam' is not assigned and could be declared final 638
LongVariable Avoid excessively long variable names like isCheckingAllURLParam 643
MethodArgumentCouldBeFinal Parameter 'isCheckingAllURLParam' is not assigned and could be declared final 643
LongVariable Avoid excessively long variable names like isCheckingAllRequestParam 648
MethodArgumentCouldBeFinal Parameter 'isCheckingAllRequestParam' is not assigned and could be declared final 648
LongVariable Avoid excessively long variable names like isCheckingAllHeaderParam 653
MethodArgumentCouldBeFinal Parameter 'isCheckingAllHeaderParam' is not assigned and could be declared final 653
LongVariable Avoid excessively long variable names like isCheckingAllBase64Param 658
MethodArgumentCouldBeFinal Parameter 'isCheckingAllBase64Param' is not assigned and could be declared final 658
LongVariable Avoid excessively long variable names like isCheckingAllJSONParam 663
MethodArgumentCouldBeFinal Parameter 'isCheckingAllJSONParam' is not assigned and could be declared final 663
LongVariable Avoid excessively long variable names like isCheckingAllCookieParam 668
MethodArgumentCouldBeFinal Parameter 'isCheckingAllCookieParam' is not assigned and could be declared final 668
LongVariable Avoid excessively long variable names like isCheckingAllSOAPParam 673
MethodArgumentCouldBeFinal Parameter 'isCheckingAllSOAPParam' is not assigned and could be declared final 673
MethodArgumentCouldBeFinal Parameter 'isParsingForm' is not assigned and could be declared final 678
LongVariable Avoid excessively long variable names like isNotTestingConnection 683
MethodArgumentCouldBeFinal Parameter 'isNotTestingConnection' is not assigned and could be declared final 683
LongVariable Avoid excessively long variable names like isNotProcessingCookies 688
MethodArgumentCouldBeFinal Parameter 'isNotProcessingCookies' is not assigned and could be declared final 688
MethodArgumentCouldBeFinal Parameter 'isProcessingCsrf' is not assigned and could be declared final 693
MethodArgumentCouldBeFinal Parameter 'isTamperingBase64' is not assigned and could be declared final 698
LongVariable Avoid excessively long variable names like isTamperingFunctionComment 703
MethodArgumentCouldBeFinal Parameter 'isTamperingFunctionComment' is not assigned and could be declared final 703
LongVariable Avoid excessively long variable names like isTamperingVersionComment 708
MethodArgumentCouldBeFinal Parameter 'isTamperingVersionComment' is not assigned and could be declared final 708
LongVariable Avoid excessively long variable names like isTamperingEqualToLike 713
MethodArgumentCouldBeFinal Parameter 'isTamperingEqualToLike' is not assigned and could be declared final 713
LongVariable Avoid excessively long variable names like isTamperingRandomCase 718
MethodArgumentCouldBeFinal Parameter 'isTamperingRandomCase' is not assigned and could be declared final 718
MethodArgumentCouldBeFinal Parameter 'isTamperingEval' is not assigned and could be declared final 723
LongVariable Avoid excessively long variable names like isTamperingSpaceToMultilineComment 728
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToMultilineComment' is not assigned and could be declared final 728
LongVariable Avoid excessively long variable names like isTamperingSpaceToDashComment 733
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToDashComment' is not assigned and could be declared final 733
LongVariable Avoid excessively long variable names like isTamperingSpaceToSharpComment 738
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToSharpComment' is not assigned and could be declared final 738
MethodArgumentCouldBeFinal Parameter 'csrfUserTag' is not assigned and could be declared final 743
MethodArgumentCouldBeFinal Parameter 'csrfUserTagOutput' is not assigned and could be declared final 748
MethodArgumentCouldBeFinal Parameter 'isCsrfUserTag' is not assigned and could be declared final 753
MethodArgumentCouldBeFinal Parameter 'isLimitingThreads' is not assigned and could be declared final 758
LongVariable Avoid excessively long variable names like isConnectionTimeout 763
MethodArgumentCouldBeFinal Parameter 'isConnectionTimeout' is not assigned and could be declared final 763
LongVariable Avoid excessively long variable names like isLimitingSleepTimeStrategy 768
MethodArgumentCouldBeFinal Parameter 'isLimitingSleepTimeStrategy' is not assigned and could be declared final 768
LongVariable Avoid excessively long variable names like countLimitingThreads 773
MethodArgumentCouldBeFinal Parameter 'countLimitingThreads' is not assigned and could be declared final 773
LongVariable Avoid excessively long variable names like countConnectionTimeout 778
MethodArgumentCouldBeFinal Parameter 'countConnectionTimeout' is not assigned and could be declared final 778
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 783
MethodArgumentCouldBeFinal Parameter 'countSleepTimeStrategy' is not assigned and could be declared final 783
MethodArgumentCouldBeFinal Parameter 'isZipStrategy' is not assigned and could be declared final 788
MethodArgumentCouldBeFinal Parameter 'isDefaultStrategy' is not assigned and could be declared final 793
MethodArgumentCouldBeFinal Parameter 'isDiosStrategy' is not assigned and could be declared final 798
LongVariable Avoid excessively long variable names like isPerfIndexDisabled 803
MethodArgumentCouldBeFinal Parameter 'isPerfIndexDisabled' is not assigned and could be declared final 803
LongVariable Avoid excessively long variable names like isUrlEncodingDisabled 808
MethodArgumentCouldBeFinal Parameter 'isUrlEncodingDisabled' is not assigned and could be declared final 808
LongVariable Avoid excessively long variable names like isUrlRandomSuffixDisabled 813
MethodArgumentCouldBeFinal Parameter 'isUrlRandomSuffixDisabled' is not assigned and could be declared final 813
LongVariable Avoid excessively long variable names like isLimitingUnionIndex 818
MethodArgumentCouldBeFinal Parameter 'isLimitingUnionIndex' is not assigned and could be declared final 818
MethodArgumentCouldBeFinal Parameter 'countUnionIndex' is not assigned and could be declared final 823
MethodArgumentCouldBeFinal Parameter 'dnsDomain' is not assigned and could be declared final 828
MethodArgumentCouldBeFinal Parameter 'dnsPort' is not assigned and could be declared final 833
LongVariable Avoid excessively long variable names like isStrategyTimeDisabled 838
MethodArgumentCouldBeFinal Parameter 'isStrategyTimeDisabled' is not assigned and could be declared final 838
LongVariable Avoid excessively long variable names like isStrategyBlindBitDisabled 843
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBitDisabled' is not assigned and could be declared final 843
LongVariable Avoid excessively long variable names like isStrategyBlindBinDisabled 848
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBinDisabled' is not assigned and could be declared final 848
LongVariable Avoid excessively long variable names like isStrategyMultibitDisabled 853
MethodArgumentCouldBeFinal Parameter 'isStrategyMultibitDisabled' is not assigned and could be declared final 853
LongVariable Avoid excessively long variable names like isStrategyStackDisabled 858
MethodArgumentCouldBeFinal Parameter 'isStrategyStackDisabled' is not assigned and could be declared final 858
LongVariable Avoid excessively long variable names like isStrategyDnsDisabled 863
MethodArgumentCouldBeFinal Parameter 'isStrategyDnsDisabled' is not assigned and could be declared final 863
LongVariable Avoid excessively long variable names like isStrategyErrorDisabled 868
MethodArgumentCouldBeFinal Parameter 'isStrategyErrorDisabled' is not assigned and could be declared final 868
LongVariable Avoid excessively long variable names like isStrategyUnionDisabled 873
MethodArgumentCouldBeFinal Parameter 'isStrategyUnionDisabled' is not assigned and could be declared final 873
MethodArgumentCouldBeFinal Parameter 'themeFlatLafName' is not assigned and could be declared final 878
LongVariable Avoid excessively long variable names like isUrlDecodeNetworkTab 883
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeNetworkTab' is not assigned and could be declared final 883
MethodArgumentCouldBeFinal Parameter 'languageTag' is not assigned and could be declared final 888
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 893

model - com/jsql/util/PropertiesUtil.java

Rule Violation Line
LocalVariableCouldBeFinal Local variable 'filename' could be declared final 29
UseExplicitTypes Use Explicit Types 29
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 30
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 41
LocalVariableCouldBeFinal Local variable 'countJvm' could be declared final 42
UseExplicitTypes Use Explicit Types 43
LocalVariableCouldBeFinal Local variable 'countGui' could be declared final 44
UseExplicitTypes Use Explicit Types 45
LocalVariableCouldBeFinal Local variable 'propertiesRoot' could be declared final 46
UseExplicitTypes Use Explicit Types 46
LocalVariableCouldBeFinal Local variable 'bundleUser' could be declared final 49
UseExplicitTypes Use Explicit Types 49
LiteralsFirstInComparisons Position literals first in String comparisons 60
LocalVariableCouldBeFinal Local variable 'propertiesJvm' could be declared final 61
UseExplicitTypes Use Explicit Types 61
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 81
LocalVariableCouldBeFinal Local variable 'properties' could be declared final 82
UseExplicitTypes Use Explicit Types 82
LocalVariableCouldBeFinal Local variable 'uri' could be declared final 84
UseExplicitTypes Use Explicit Types 84
LocalVariableCouldBeFinal Local variable 'path' could be declared final 85
UseExplicitTypes Use Explicit Types 85
LocalVariableCouldBeFinal Local variable 'root' could be declared final 86
LocalVariableCouldBeFinal Local variable 'rootI18n' could be declared final 87
UseExplicitTypes Use Explicit Types 87
LocalVariableCouldBeFinal Local variable 'rootI18nFixed' could be declared final 88
MethodArgumentCouldBeFinal Parameter 'property' is not assigned and could be declared final 102

model - com/jsql/util/ProxyUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 17
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttp' 36
AvoidFieldNameMatchingMethodName Field isUsingProxyHttp has the same name as a method 36
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttps' 37
AvoidFieldNameMatchingMethodName Field isUsingProxyHttps has the same name as a method 37
LongVariable Avoid excessively long variable names like PROPERTIES_HTTP_PROXY_HOST 39
LongVariable Avoid excessively long variable names like PROPERTIES_HTTP_PROXY_PORT 40
LongVariable Avoid excessively long variable names like PROPERTIES_HTTPS_PROXY_HOST 41
LongVariable Avoid excessively long variable names like PROPERTIES_HTTPS_PROXY_PORT 42
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 50
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 51
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 52
LocalVariableCouldBeFinal Local variable 'prefs' could be declared final 64
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 95
UseExplicitTypes Use Explicit Types 95
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 102
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 105
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 126
UseExplicitTypes Use Explicit Types 127
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 145
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 145
UseExplicitTypes Use Explicit Types 146
CloseResource Ensure that resources like this Socket object are closed after use 148
LocalVariableCouldBeFinal Local variable 'socket' could be declared final 148
UseExplicitTypes Use Explicit Types 148
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 151
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 158
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 170
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 170
ShortVariable Avoid variables with short names like e 170
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 170
LocalVariableCouldBeFinal Local variable 'message' could be declared final 172
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 193
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 201
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 209
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 217
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 225
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 233

model - com/jsql/util/SoapUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 31
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 35
ConfusingTernary Avoid if (x != y) ..; else ..; 3640
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 39
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 43
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 44
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 47
UseExplicitTypes Use Explicit Types 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 47
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 49
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 50
MethodArgumentCouldBeFinal Parameter 'xmlStr' is not assigned and could be declared final 57
LocalVariableCouldBeFinal Local variable 'factory' could be declared final 58
UseExplicitTypes Use Explicit Types 58
LocalVariableCouldBeFinal Local variable 'builder' could be declared final 63
UseExplicitTypes Use Explicit Types 63
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 67
LocalVariableCouldBeFinal Local variable 'nodeList' could be declared final 68
UseExplicitTypes Use Explicit Types 68
UseExplicitTypes Use Explicit Types 69
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 70
UseExplicitTypes Use Explicit Types 70
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 73
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 79
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 89
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 90
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 108
LocalVariableCouldBeFinal Local variable 'nodeList' could be declared final 109
UseExplicitTypes Use Explicit Types 109
UseExplicitTypes Use Explicit Types 110
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 111
UseExplicitTypes Use Explicit Types 111
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 124
LongVariable Avoid excessively long variable names like transformerFactory 125
LocalVariableCouldBeFinal Local variable 'transformerFactory' could be declared final 125
UseExplicitTypes Use Explicit Types 125
LocalVariableCouldBeFinal Local variable 'transformer' could be declared final 131
UseExplicitTypes Use Explicit Types 131
LocalVariableCouldBeFinal Local variable 'writer' could be declared final 132
UseExplicitTypes Use Explicit Types 132
EmptyCatchBlock Avoid empty catch blocks 135137

model - com/jsql/util/StringUtil.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
GodClass Possible God Class (WMC=60, ATFD=15, TCC=0.135%) 39
TooManyMethods This class has too many methods, consider refactoring it. 39374
LongVariable Avoid excessively long variable names like DECIMAL_HTML_ENCODER 44
LongVariable Avoid excessively long variable names like INFORMATION_SCHEMA 47
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'radix' is not assigned and could be declared final 60
ShortVariable Avoid variables with short names like c 66
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 66
MethodArgumentCouldBeFinal Parameter 'buff' is not assigned and could be declared final 66
CommentSize Comment is too large: Line too long 79
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 83
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 92
LocalVariableCouldBeFinal Local variable 'buff' could be declared final 93
UseExplicitTypes Use Explicit Types 93
UseExplicitTypes Use Explicit Types 94
AvoidLiteralsInIfCondition Avoid using literals such as 128 in if statements 95
MethodArgumentCouldBeFinal Parameter 'hex' is not assigned and could be declared final 109
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 110
UseExplicitTypes Use Explicit Types 110
UseExplicitTypes Use Explicit Types 111
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 119
LocalVariableCouldBeFinal Local variable 'detector' could be declared final 122
UseExplicitTypes Use Explicit Types 122
LocalVariableCouldBeFinal Local variable 'encoding' could be declared final 125
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 131
LocalVariableCouldBeFinal Local variable 'detector' could be declared final 138
UseExplicitTypes Use Explicit Types 138
ShortVariable Avoid variables with short names like s 154
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 154
LocalVariableCouldBeFinal Local variable 'base32' could be declared final 155
UseExplicitTypes Use Explicit Types 155
ShortVariable Avoid variables with short names like s 159
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 159
LocalVariableCouldBeFinal Local variable 'base32' could be declared final 160
UseExplicitTypes Use Explicit Types 160
ShortVariable Avoid variables with short names like s 164
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 164
ShortVariable Avoid variables with short names like s 168
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 168
ShortVariable Avoid variables with short names like s 172
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 172
LocalVariableCouldBeFinal Local variable 'base16' could be declared final 173
UseExplicitTypes Use Explicit Types 173
ShortVariable Avoid variables with short names like s 177
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 177
LocalVariableCouldBeFinal Local variable 'base16' could be declared final 178
UseExplicitTypes Use Explicit Types 178
ShortVariable Avoid variables with short names like s 182
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 182
ShortVariable Avoid variables with short names like s 186
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 186
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 190
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 194
LocalVariableCouldBeFinal Local variable 'hex' could be declared final 195
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 199
LocalVariableCouldBeFinal Local variable 'zip' could be declared final 200
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 204
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 208
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 209
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 212
LongVariable Avoid excessively long variable names like decompressedBArray 213
LocalVariableCouldBeFinal Local variable 'decompressedBArray' could be declared final 213
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 217
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 221
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 225
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 229
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 233
CommentSize Comment is too large: Line too long 243
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 246
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 266
ShortVariable Avoid variables with short names like os 267
LocalVariableCouldBeFinal Local variable 'os' could be declared final 267
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 269
MethodArgumentCouldBeFinal Parameter 'compressedTxt' is not assigned and could be declared final 274
ShortVariable Avoid variables with short names like os 275
LocalVariableCouldBeFinal Local variable 'os' could be declared final 275
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 282
LocalVariableCouldBeFinal Local variable 'firstDigit' could be declared final 283
LocalVariableCouldBeFinal Local variable 'secondDigit' could be declared final 284
MethodArgumentCouldBeFinal Parameter 'hexChar' is not assigned and could be declared final 288
LocalVariableCouldBeFinal Local variable 'digit' could be declared final 289
MethodArgumentCouldBeFinal Parameter 'num' is not assigned and could be declared final 296
LocalVariableCouldBeFinal Local variable 'hexDigits' could be declared final 297
MethodArgumentCouldBeFinal Parameter 'byteArray' is not assigned and could be declared final 303
LocalVariableCouldBeFinal Local variable 'hexStringBuffer' could be declared final 304
LocalVariableCouldBeFinal Local variable 'b' could be declared final 305
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 311
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 312
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 315
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 322
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 326
MethodArgumentCouldBeFinal Parameter 'plaintext' is not assigned and could be declared final 330
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 330
LocalVariableCouldBeFinal Local variable 'ciphertext' could be declared final 331
UseExplicitTypes Use Explicit Types 331
UseExplicitTypes Use Explicit Types 332
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 338
LocalVariableCouldBeFinal Local variable 'hexString' could be declared final 339
LocalVariableCouldBeFinal Local variable 'b' could be declared final 340
LocalVariableCouldBeFinal Local variable 'chunkSize' could be declared final 343
LocalVariableCouldBeFinal Local variable 'chunks' could be declared final 344
LocalVariableCouldBeFinal Local variable 'endIndex' could be declared final 346
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 352
LocalVariableCouldBeFinal Local variable 'content' could be declared final 353
UseExplicitTypes Use Explicit Types 353
UseExplicitTypes Use Explicit Types 355
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 355
UseExplicitTypes Use Explicit Types 356
UseExplicitTypes Use Explicit Types 357
AssignmentInOperand Avoid assignment to line in operand 360
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 361
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 369
LocalVariableCouldBeFinal Local variable 'fileDataUncloaked' could be declared final 370
UseUnderscoresInNumericLiterals Number 353837730 should separate every third digit with an underscore 370

model - com/jsql/util/TamperingUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 14
TooManyMethods This class has too many methods, consider refactoring it. 14276
RedundantFieldInitializer Avoid using redundant field initializer for 'isBase64' 21
RedundantFieldInitializer Avoid using redundant field initializer for 'isVersionComment' 22
RedundantFieldInitializer Avoid using redundant field initializer for 'isFunctionComment' 23
RedundantFieldInitializer Avoid using redundant field initializer for 'isEqualToLike' 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isRandomCase' 25
RedundantFieldInitializer Avoid using redundant field initializer for 'isHexToChar' 26
RedundantFieldInitializer Avoid using redundant field initializer for 'isStringToChar' 27
RedundantFieldInitializer Avoid using redundant field initializer for 'isQuoteToUtf8' 28
RedundantFieldInitializer Avoid using redundant field initializer for 'isCharToEncoding' 29
RedundantFieldInitializer Avoid using redundant field initializer for 'isEval' 30
LongVariable Avoid excessively long variable names like isSpaceToMultilineComment 31
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToMultilineComment' 31
LongVariable Avoid excessively long variable names like isSpaceToDashComment 32
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToDashComment' 32
LongVariable Avoid excessively long variable names like isSpaceToSharpComment 33
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToSharpComment' 33
RedundantFieldInitializer Avoid using redundant field initializer for 'customTamper' 35
LongVariable Avoid excessively long variable names like SCRIPT_ENGINE_MANAGER 37
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 39
MethodArgumentCouldBeFinal Parameter 'jsTampering' is not assigned and could be declared final 39
LocalVariableCouldBeFinal Local variable 'nashornEngine' could be declared final 46
LocalVariableCouldBeFinal Local variable 'nashornInvocable' could be declared final 49
UseExplicitTypes Use Explicit Types 49
ExceptionAsFlowControl Exception thrown at line 43 is caught in this block. 5259
MethodArgumentCouldBeFinal Parameter 'sqlQueryDefault' is not assigned and could be declared final 71
LocalVariableCouldBeFinal Local variable 'lead' could be declared final 72
LocalVariableCouldBeFinal Local variable 'trail' could be declared final 74
CommentSize Comment is too large: Line too long 76
LongVariable Avoid excessively long variable names like regexToMatchTamperTags 77
LocalVariableCouldBeFinal Local variable 'regexToMatchTamperTags' could be declared final 77
LocalVariableCouldBeFinal Local variable 'matcherSql' could be declared final 78
UseExplicitTypes Use Explicit Types 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 85
LongVariable Avoid excessively long variable names like regexToRemoveTamperTags 101
LocalVariableCouldBeFinal Local variable 'regexToRemoveTamperTags' could be declared final 101
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 106
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'shouldApply' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'tamperingType' is not assigned and could be declared final 126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 128
MethodArgumentCouldBeFinal Parameter 'customTamper' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 212
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 217
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 222
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 227
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 232
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 237
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 242
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 247
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 252
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 257
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 262
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 267
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 272

model - com/jsql/util/ThreadUtil.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 30
CommentSize Comment is too large: Line too long 41
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 56
CommentSize Comment is too large: Line too long 62
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 67
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 76
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 89
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 90
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 90
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 92
LocalVariableCouldBeFinal Local variable 'countThreads' could be declared final 93
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 93
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. 96
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 101
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 101
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 108
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 109
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 110
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 114

model - com/jsql/util/UserAgentUtil.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 9
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 20

model - com/jsql/util/bruter/ActionCoder.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 58
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 64
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 70
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 76
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 82
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 88
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 94
LongVariable Avoid excessively long variable names like ENCODE_TO_BASE64_ZIP 98
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 100
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 112
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 118
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 124
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 130
LongVariable Avoid excessively long variable names like ENCODE_TO_HTML_DECIMAL 134
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 142
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 148
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 154
LongVariable Avoid excessively long variable names like DECODE_FROM_HEX_ZIP 158
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 160
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE64_ZIP 164
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 166
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE64 170
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 172
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE32 176
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 178
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE58 182
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 184
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE16 188
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 190
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 196
LongVariable Avoid excessively long variable names like DECODE_FROM_UNICODE 200
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 202
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 220
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 223
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'isEmptyPossible' is not assigned and could be declared final 226
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 246

model - com/jsql/util/bruter/Base58.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 30
LocalVariableCouldBeFinal Local variable 'copyInput' could be declared final 33
UseExplicitTypes Use Explicit Types 35
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 40
UseExplicitTypes Use Explicit Types 40
ShortVariable Avoid variables with short names like j 41
LocalVariableCouldBeFinal Local variable 'mod' could be declared final 44
AssignmentInOperand Avoid assignment to j in operand 48
AssignmentInOperand Avoid assignment to zeroCount in operand 55
AssignmentInOperand Avoid assignment to j in operand 56
LocalVariableCouldBeFinal Local variable 'output' could be declared final 58
CyclomaticComplexity The method 'decode(String)' has a cyclomatic complexity of 13. 62
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 65
LocalVariableCouldBeFinal Local variable 'input58' could be declared final 67
UseExplicitTypes Use Explicit Types 67
UseExplicitTypes Use Explicit Types 69
ShortVariable Avoid variables with short names like c 70
LocalVariableCouldBeFinal Local variable 'c' could be declared final 70
UseExplicitTypes Use Explicit Types 70
UseExplicitTypes Use Explicit Types 82
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 88
UseExplicitTypes Use Explicit Types 88
ShortVariable Avoid variables with short names like j 89
LocalVariableCouldBeFinal Local variable 'mod' could be declared final 93
AssignmentInOperand Avoid assignment to j in operand 97
MethodArgumentCouldBeFinal Parameter 'number' is not assigned and could be declared final 106
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 106
UseExplicitTypes Use Explicit Types 107
LocalVariableCouldBeFinal Local variable 'digit256' could be declared final 109
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 110
MethodArgumentCouldBeFinal Parameter 'number58' is not assigned and could be declared final 117
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 117
UseExplicitTypes Use Explicit Types 118
LocalVariableCouldBeFinal Local variable 'digit58' could be declared final 120
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 121
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 128
MethodArgumentCouldBeFinal Parameter 'from' is not assigned and could be declared final 128
ShortVariable Avoid variables with short names like to 128
MethodArgumentCouldBeFinal Parameter 'to' is not assigned and could be declared final 128
LocalVariableCouldBeFinal Local variable 'range' could be declared final 129
UseExplicitTypes Use Explicit Types 129

model - com/jsql/util/bruter/Bruter.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 11
RedundantFieldInitializer Avoid using redundant field initializer for 'found' 18
RedundantFieldInitializer Avoid using redundant field initializer for 'done' 34
UseExplicitTypes Use Explicit Types 49
UseExplicitTypes Use Explicit Types 55
UseExplicitTypes Use Explicit Types 61
LocalVariableCouldBeFinal Local variable 'c' could be declared final 67
ShortVariable Avoid variables with short names like s 72
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 72
LocalVariableCouldBeFinal Local variable 'arrayChars' could be declared final 73
LocalVariableCouldBeFinal Local variable 'arrayChar' could be declared final 74
ShortVariable Avoid variables with short names like i 80
LocalVariableCouldBeFinal Local variable 'i' could be declared final 80
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 83
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 85
LocalVariableCouldBeFinal Local variable 'timeTaken' could be declared final 91
UseExplicitTypes Use Explicit Types 94
UseExplicitTypes Use Explicit Types 96
LocalVariableCouldBeFinal Local variable 'days' could be declared final 98
UseExplicitTypes Use Explicit Types 98
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 118
MethodArgumentCouldBeFinal Parameter 'endtime' is not assigned and could be declared final 118
MethodArgumentCouldBeFinal Parameter 'maxLength' is not assigned and could be declared final 122
MethodArgumentCouldBeFinal Parameter 'minLength' is not assigned and could be declared final 126
MethodArgumentCouldBeFinal Parameter 'found' is not assigned and could be declared final 134
MethodArgumentCouldBeFinal Parameter 'done' is not assigned and could be declared final 142

model - com/jsql/util/bruter/Coder.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 30

model - com/jsql/util/bruter/Crc16Helper.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 520
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 27
LocalVariableCouldBeFinal Local variable 'table' could be declared final 28
UseExplicitTypes Use Explicit Types 28
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 62
UseExplicitTypes Use Explicit Types 63
LocalVariableCouldBeFinal Local variable 'b' could be declared final 64

model - com/jsql/util/bruter/Crc64Helper.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 111
CommentSize Comment is too large: Too many lines 1422
ShortVariable Avoid variables with short names like v 36
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 38
LocalVariableCouldBeFinal Local variable 'element' could be declared final 57

model - com/jsql/util/bruter/DigestMD4.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 2336
ShortVariable Avoid variables with short names like X 65
ShortVariable Avoid variables with short names like md 79
MethodArgumentCouldBeFinal Parameter 'md' is not assigned and could be declared final 79
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 94
ShortVariable Avoid variables with short names like b 126
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 126
ShortVariable Avoid variables with short names like i 128
LocalVariableCouldBeFinal Local variable 'i' could be declared final 128
CommentSize Comment is too large: Too many lines 137148
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'offset' is not assigned and could be declared final 150
MethodArgumentCouldBeFinal Parameter 'len' is not assigned and could be declared final 150
LocalVariableCouldBeFinal Local variable 'partLen' could be declared final 159
ShortVariable Avoid variables with short names like i 160
LocalVariableCouldBeFinal Local variable 'bufferNdx' could be declared final 191
LocalVariableCouldBeFinal Local variable 'padLen' could be declared final 192
LocalVariableCouldBeFinal Local variable 'tail' could be declared final 195
LocalVariableCouldBeFinal Local variable 'result' could be declared final 207
CommentSize Comment is too large: Too many lines 226234
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 235
AssignmentInOperand Avoid assignment to offset in operand 240
AssignmentInOperand Avoid assignment to offset in operand 241
AssignmentInOperand Avoid assignment to offset in operand 242
AssignmentInOperand Avoid assignment to offset in operand 243
ShortVariable Avoid variables with short names like A 246
ShortVariable Avoid variables with short names like B 247
ShortVariable Avoid variables with short names like C 248
ShortVariable Avoid variables with short names like D 249
ShortMethodName Avoid using short method names 310
ShortVariable Avoid variables with short names like a 310
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 310
ShortVariable Avoid variables with short names like b 310
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 310
ShortVariable Avoid variables with short names like c 310
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 310
ShortVariable Avoid variables with short names like d 310
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 310
ShortVariable Avoid variables with short names like x 310
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 310
ShortVariable Avoid variables with short names like s 310
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 310
ShortVariable Avoid variables with short names like t 311
LocalVariableCouldBeFinal Local variable 't' could be declared final 311
ShortMethodName Avoid using short method names 315
ShortVariable Avoid variables with short names like a 315
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 315
ShortVariable Avoid variables with short names like b 315
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 315
ShortVariable Avoid variables with short names like c 315
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 315
ShortVariable Avoid variables with short names like d 315
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 315
ShortVariable Avoid variables with short names like x 315
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 315
ShortVariable Avoid variables with short names like s 315
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 315
ShortVariable Avoid variables with short names like t 316
LocalVariableCouldBeFinal Local variable 't' could be declared final 316
ShortMethodName Avoid using short method names 320
ShortVariable Avoid variables with short names like a 320
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 320
ShortVariable Avoid variables with short names like b 320
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 320
ShortVariable Avoid variables with short names like c 320
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 320
ShortVariable Avoid variables with short names like d 320
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 320
ShortVariable Avoid variables with short names like x 320
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 320
ShortVariable Avoid variables with short names like s 320
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 320
ShortVariable Avoid variables with short names like t 321
LocalVariableCouldBeFinal Local variable 't' could be declared final 321

model - com/jsql/util/bruter/HashBruter.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 11
DataClass The class 'HashBruter' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=22) 11
CognitiveComplexity The method 'generateAllPossibleCombinations(String, int)' has a cognitive complexity of 15, current threshold is 15 38
CyclomaticComplexity The method 'generateAllPossibleCombinations(String, int)' has a cyclomatic complexity of 13. 38
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 38
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 38
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 41
LocalVariableCouldBeFinal Local variable 'element' could be declared final 58
MethodArgumentCouldBeFinal Parameter 'hash' is not assigned and could be declared final 72
MethodArgumentCouldBeFinal Parameter 'digestType' is not assigned and could be declared final 76

model - com/jsql/util/bruter/HashUtil.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 17
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 18
LocalVariableCouldBeFinal Local variable 'checksum' could be declared final 19
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 33
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 34
UseExplicitTypes Use Explicit Types 34
LocalVariableCouldBeFinal Local variable 'password' could be declared final 36
UseExplicitTypes Use Explicit Types 36
LocalVariableCouldBeFinal Local variable 'passwordBytes' could be declared final 38
LocalVariableCouldBeFinal Local variable 'hashSHA1' could be declared final 41
LocalVariableCouldBeFinal Local variable 'stringSHA1' could be declared final 42
UseExplicitTypes Use Explicit Types 42
LocalVariableCouldBeFinal Local variable 'passwordSHA1' could be declared final 44
UseExplicitTypes Use Explicit Types 44
LocalVariableCouldBeFinal Local variable 'passwordSHA1Bytes' could be declared final 45
LocalVariableCouldBeFinal Local variable 'hashSHA1SH1' could be declared final 48
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 52
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 53
LocalVariableCouldBeFinal Local variable 'checksum' could be declared final 55
LocalVariableCouldBeFinal Local variable 'lngChecksum' could be declared final 58
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 62
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 63
LocalVariableCouldBeFinal Local variable 'passwordString' could be declared final 65
UseExplicitTypes Use Explicit Types 65
LocalVariableCouldBeFinal Local variable 'passwordByte' could be declared final 66
LocalVariableCouldBeFinal Local variable 'encodedPassword' could be declared final 69
MethodArgumentCouldBeFinal Parameter 'nameMethod' is not assigned and could be declared final 73
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 73
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 74
UseExplicitTypes Use Explicit Types 74
LocalVariableCouldBeFinal Local variable 'passwordString' could be declared final 76
UseExplicitTypes Use Explicit Types 76
LocalVariableCouldBeFinal Local variable 'passwordByte' could be declared final 77
LocalVariableCouldBeFinal Local variable 'encodedPassword' could be declared final 80
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 89
LocalVariableCouldBeFinal Local variable 'buf' could be declared final 90
UseExplicitTypes Use Explicit Types 90
LocalVariableCouldBeFinal Local variable 'b' could be declared final 91
ShortVariable Avoid variables with short names like b 102
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 102
MethodArgumentCouldBeFinal Parameter 'buf' is not assigned and could be declared final 102
LocalVariableCouldBeFinal Local variable 'hexChars' could be declared final 103
UseExplicitTypes Use Explicit Types 103
LocalVariableCouldBeFinal Local variable 'high' could be declared final 104
LocalVariableCouldBeFinal Local variable 'low' could be declared final 105
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 106

model - com/jsql/util/reverse/ModelReverse.java

Rule Violation Line
DataClass The class 'ModelReverse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3
CommentDefaultAccessModifier Missing commented default access modifier on field 'name' 4
CommentDefaultAccessModifier Missing commented default access modifier on field 'command' 5
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 7
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 7
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 24

model - com/jsql/util/tampering/ModelYamlTampering.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 5
DataClass The class 'ModelYamlTampering' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 5
MethodArgumentCouldBeFinal Parameter 'tooltip' is not assigned and could be declared final 16
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 24
MethodArgumentCouldBeFinal Parameter 'group' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'javascript' is not assigned and could be declared final 40

model - com/jsql/util/tampering/TamperingType.java

Rule Violation Line
LongVariable Avoid excessively long variable names like COMMENT_TO_METHOD_SIGNATURE 12
LongVariable Avoid excessively long variable names like SPACE_TO_DASH_COMMENT 15
LongVariable Avoid excessively long variable names like SPACE_TO_MULTILINE_COMMENT 16
LongVariable Avoid excessively long variable names like SPACE_TO_SHARP_COMMENT 17
LongVariable Avoid excessively long variable names like VERSIONED_COMMENT_TO_METHOD_SIGNATURE 18
NonSerializableClass The field 'instanceModelYaml' of serializable class 'com.jsql.util.tampering.TamperingType' is of non-serializable type 'com.jsql.util.tampering.ModelYamlTampering'. 24
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 26
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 27
UseExplicitTypes Use Explicit Types 27
UseExplicitTypes Use Explicit Types 28
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 28

model - com/jsql/view/interaction/InteractionCommand.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/interaction/SubscriberInteraction.java

Rule Violation Line
LongVariable Avoid excessively long variable names like packageInteraction 19
LongVariable Avoid excessively long variable names like packageInteraction 29
MethodArgumentCouldBeFinal Parameter 'packageInteraction' is not assigned and could be declared final 29
MethodArgumentCouldBeFinal Parameter 'subscription' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'request' is not assigned and could be declared final 40
LocalVariableCouldBeFinal Local variable 'nameThread' could be declared final 48
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 48
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 51
ShortVariable Avoid variables with short names like cl 53
LocalVariableCouldBeFinal Local variable 'cl' could be declared final 53
LawOfDemeter Call to `getMessage` on foreign value `request` (degree 1) 53
LocalVariableCouldBeFinal Local variable 'types' could be declared final 54
UseExplicitTypes Use Explicit Types 54
LocalVariableCouldBeFinal Local variable 'constructor' could be declared final 55
LongVariable Avoid excessively long variable names like interactionCommand 57
LocalVariableCouldBeFinal Local variable 'interactionCommand' could be declared final 57
UnnecessaryVarargsArrayCreation Unnecessary explicit array creation for varargs method call 58
ShortVariable Avoid variables with short names like e 78
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 78

model - com/jsql/view/terminal/SystemOutTerminal.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 16

model - com/jsql/view/terminal/interaction/AddColumns.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 37
LocalVariableCouldBeFinal Local variable 'column' could be declared final 44

model - com/jsql/view/terminal/interaction/AddDatabases.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 37
LocalVariableCouldBeFinal Local variable 'database' could be declared final 44

model - com/jsql/view/terminal/interaction/AddExploitWebTab.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/AddTables.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 37
LocalVariableCouldBeFinal Local variable 'table' could be declared final 44

model - com/jsql/view/terminal/interaction/CreateValuesTab.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 33
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 35

model - com/jsql/view/terminal/interaction/GetTerminalResult.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkBlindBinInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkBlindBinVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkBlindBitInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkBlindBitVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkDnsInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkDnsVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkErrorInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 33
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 4344

model - com/jsql/view/terminal/interaction/MarkErrorVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 33
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 4344

model - com/jsql/view/terminal/interaction/MarkFileSystemInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkFileSystemVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkMultibitVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkStackVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkTimeInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkTimeVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkUnionInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MarkUnionVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

model - com/jsql/view/terminal/interaction/MessageBinary.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 26

model - com/jsql/view/terminal/interaction/MessageHeader.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 34
LocalVariableCouldBeFinal Local variable 'params' could be declared final 35

view - com/jsql/MainApp.java

Rule Violation Line
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 33
LocalVariableCouldBeFinal Local variable 'nameTheme' could be declared final 35
UseExplicitTypes Use Explicit Types 35
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) 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 53
LocalVariableCouldBeFinal Local variable 'view' could be declared final 56
UseExplicitTypes Use Explicit Types 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 71

view - com/jsql/view/scan/ScanListTerminal.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

view - com/jsql/view/scan/interaction/DatabaseIdentified.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 29
LocalVariableCouldBeFinal Local variable 'params' could be declared final 30

view - com/jsql/view/scan/interaction/MarkBlindBinVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 35
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 35

view - com/jsql/view/scan/interaction/MarkBlindBitVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 35
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 35

view - com/jsql/view/scan/interaction/MarkDnsVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 36

view - com/jsql/view/scan/interaction/MarkErrorVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 36

view - com/jsql/view/scan/interaction/MarkStackVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 35
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 35

view - com/jsql/view/scan/interaction/MarkTimeVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 36

view - com/jsql/view/scan/interaction/MarkUnionVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 36

view - com/jsql/view/scan/interaction/SetVendor.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 29
LocalVariableCouldBeFinal Local variable 'params' could be declared final 30

view - com/jsql/view/swing/JFrameView.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'menubar' could be declared final 95
UseExplicitTypes Use Explicit Types 95
LocalVariableCouldBeFinal Local variable 'panelAddressBar' could be declared final 99
UseExplicitTypes Use Explicit Types 99
LocalVariableCouldBeFinal Local variable 'mainPanel' could be declared final 103
UseExplicitTypes Use Explicit Types 103
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 113
UseExplicitTypes Use Explicit Types 113
AssignmentInOperand Avoid assignments in operands 114
LocalVariableCouldBeFinal Local variable 'nsProportion' could be declared final 118
CommentSize Comment is too large: Line too long 122
ShortVariable Avoid variables with short names like e 130
LocalVariableCouldBeFinal Local variable 'nsDividerLocation' could be declared final 137
LocalVariableCouldBeFinal Local variable 'nsHeight' could be declared final 138
LocalVariableCouldBeFinal Local variable 'nsProportion' could be declared final 139
LongVariable Avoid excessively long variable names like nsLocationProportionCapped 140
LocalVariableCouldBeFinal Local variable 'nsLocationProportionCapped' could be declared final 140
CommentSize Comment is too large: Line too long 144
UseExplicitTypes Use Explicit Types 151
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_BINARY_LABEL" in if statements 152
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_CHUNK_LABEL" in if statements 154
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_NETWORK_LABEL" in if statements 156
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_JAVA_LABEL" in if statements 158
UseExplicitTypes Use Explicit Types 181
LocalVariableCouldBeFinal Local variable 'tabComponent' could be declared final 182
UseExplicitTypes Use Explicit Types 182
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 199
LocalVariableCouldBeFinal Local variable 'screenSize' could be declared final 207
LawOfDemeter Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) 207
LocalVariableCouldBeFinal Local variable 'width' could be declared final 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 209

view - com/jsql/view/swing/action/ActionCheckIp.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 16
ShortVariable Avoid variables with short names like e 21
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
LocalVariableCouldBeFinal Local variable 'addressIp' could be declared final 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 31

view - 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
ShortVariable Avoid variables with short names like e 14
MethodArgumentCouldBeFinal Parameter 'closeTabNumber' is not assigned and could be declared final 18
LongVariable Avoid excessively long variable names like splitPaneTopBottom 23
LocalVariableCouldBeFinal Local variable 'splitPaneTopBottom' could be declared final 23
UseExplicitTypes Use Explicit Types 23
LongVariable Avoid excessively long variable names like splitPaneLeftRight 24
LocalVariableCouldBeFinal Local variable 'splitPaneLeftRight' could be declared final 24
UseExplicitTypes Use Explicit Types 24
LocalVariableCouldBeFinal Local variable 'dividerLocation' could be declared final 25
LocalVariableCouldBeFinal Local variable 'label' could be declared final 27
UseExplicitTypes Use Explicit Types 27

view - com/jsql/view/swing/action/ActionNewWindow.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 33
CallSuperInConstructor It is a good practice to call super() in a constructor 52
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'commands' is not assigned and could be declared final 52
LocalVariableCouldBeFinal Local variable 'processBuilder' could be declared final 62
UseExplicitTypes Use Explicit Types 62

view - com/jsql/view/swing/action/ActionSaveTab.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 34
LongVariable Avoid excessively long variable names like replaceFileChooser 38
CallSuperInConstructor It is a good practice to call super() in a constructor 40
CommentSize Comment is too large: Line too long 44
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
ShortVariable Avoid variables with short names like e 59
LocalVariableCouldBeFinal Local variable 'componentResult' could be declared final 61
UseExplicitTypes Use Explicit Types 61
LocalVariableCouldBeFinal Local variable 'table' could be declared final 63
LocalVariableCouldBeFinal Local variable 'textarea' could be declared final 69
MethodArgumentCouldBeFinal Parameter 'textarea' is not assigned and could be declared final 74
LocalVariableCouldBeFinal Local variable 'stateSave' could be declared final 81
LongVariable Avoid excessively long variable names like folderSelectedFile 83
LocalVariableCouldBeFinal Local variable 'folderSelectedFile' could be declared final 83
UseExplicitTypes Use Explicit Types 83
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 84
MethodArgumentCouldBeFinal Parameter 'tableResults' is not assigned and could be declared final 96
LocalVariableCouldBeFinal Local variable 'fileSelected' could be declared final 97
UseExplicitTypes Use Explicit Types 97
UseExplicitTypes Use Explicit Types 99
LocalVariableCouldBeFinal Local variable 'tableModel' could be declared final 100
UseExplicitTypes Use Explicit Types 100
LawOfDemeter Call to `getModel` on foreign value `tableResults` (degree 1) 100
UseExplicitTypes Use Explicit Types 101
UseExplicitTypes Use Explicit Types 106
UseExplicitTypes Use Explicit Types 107
CommentSize Comment is too large: Line too long 108
UseExplicitTypes Use Explicit Types 112
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
LocalVariableCouldBeFinal Local variable 'fileSelected' could be declared final 132
UseExplicitTypes Use Explicit Types 132
UseExplicitTypes Use Explicit Types 134
UseExplicitTypes Use Explicit Types 135

view - 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
LongVariable Avoid excessively long variable names like wasAltGraphPressed 14
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
LongVariable Avoid excessively long variable names like shouldNotTakeFurtherAction 18
UseExplicitTypes Use Explicit Types 18
LocalVariableCouldBeFinal Local variable 'isAltDPressed' could be declared final 28
LocalVariableCouldBeFinal Local variable 'isAltReleased' could be declared final 31
LocalVariableCouldBeFinal Local variable 'isAltPressed' could be declared final 34
LongVariable Avoid excessively long variable names like wasAltPressedAlready 38
LocalVariableCouldBeFinal Local variable 'wasAltPressedAlready' could be declared final 38
LongVariable Avoid excessively long variable names like wasAltPressedAlready 62
MethodArgumentCouldBeFinal Parameter 'wasAltPressedAlready' is not assigned and could be declared final 62

view - com/jsql/view/swing/action/HotkeyUtil.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LongVariable Avoid excessively long variable names like STR_CTRL_SHIFT_TAB 31
LongVariable Avoid excessively long variable names like propertyChangeEvent 44
LocalVariableCouldBeFinal Local variable 'textField' could be declared final 47
MethodArgumentCouldBeFinal Parameter 'tabbedPane' is not assigned and could be declared final 58
LocalVariableCouldBeFinal Local variable 'ctrlTab' could be declared final 59
UseExplicitTypes Use Explicit Types 59
LocalVariableCouldBeFinal Local variable 'ctrlShiftTab' could be declared final 60
UseExplicitTypes Use Explicit Types 60
LocalVariableCouldBeFinal Local variable 'forwardKeys' could be declared final 63
LocalVariableCouldBeFinal Local variable 'backwardKeys' could be declared final 68
LocalVariableCouldBeFinal Local variable 'inputMap' could be declared final 73
UseExplicitTypes Use Explicit Types 73
MethodArgumentCouldBeFinal Parameter 'rootPane' is not assigned and could be declared final 81
LocalVariableCouldBeFinal Local variable 'closeTab' could be declared final 82
LocalVariableCouldBeFinal Local variable 'nextTab' could be declared final 83
ShortVariable Avoid variables with short names like e 85
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 87
LocalVariableCouldBeFinal Local variable 'previousTab' could be declared final 96
ShortVariable Avoid variables with short names like e 98
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 100
LocalVariableCouldBeFinal Local variable 'forwardKeys' could be declared final 110
LocalVariableCouldBeFinal Local variable 'backwardKeys' could be declared final 114
LocalVariableCouldBeFinal Local variable 'inputMap' could be declared final 118
UseExplicitTypes Use Explicit Types 118
LocalVariableCouldBeFinal Local variable 'actionMap' could be declared final 119
UseExplicitTypes Use Explicit Types 119
LocalVariableCouldBeFinal Local variable 'tabCount' could be declared final 130
UseExplicitTypes Use Explicit Types 132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 137142
ShortVariable Avoid variables with short names like e 139
CommentSize Comment is too large: Line too long 150
LongVariable Avoid excessively long variable names like propertyChangeEvent 156

view - 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
LocalVariableCouldBeFinal Local variable 'isCaretAtEnd' could be declared final 54
LawOfDemeter Call to `getDocument` on foreign value `this.getProxy()` (degree 1) 54
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 56
LocalVariableCouldBeFinal Local variable 'scrollBar' could be declared final 57
LocalVariableCouldBeFinal Local variable 'extent' could be declared final 58
LawOfDemeter Call to `getModel` on foreign value `scrollBar` (degree 1) 58
LocalVariableCouldBeFinal Local variable 'isScrollBarAtEnd' could be declared final 59
LocalVariableCouldBeFinal Local variable 'logMessage' could be declared final 61
UseExplicitTypes Use Explicit Types 61
LocalVariableCouldBeFinal Local variable 'logTimestamp' could be declared final 62
UseExplicitTypes Use Explicit Types 62
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
UseExplicitTypes Use Explicit Types 80
LocalVariableCouldBeFinal Local variable 'tabIndex' could be declared final 87
LocalVariableCouldBeFinal Local variable 'tabHeader' could be declared final 89
UseExplicitTypes Use Explicit Types 89
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 97

view - 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
LocalVariableCouldBeFinal Local variable 'layoutTextPane' could be declared final 51
UseExplicitTypes Use Explicit Types 51
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 56
LocalVariableCouldBeFinal Local variable 'messageLogEvent' could be declared final 62
UseExplicitTypes Use Explicit Types 62
LocalVariableCouldBeFinal Local variable 'level' could be declared final 66
UseExplicitTypes Use Explicit Types 66
LocalVariableCouldBeFinal Local variable 'message' could be declared final 71
MethodArgumentCouldBeFinal Parameter 'javaConsole' is not assigned and could be declared final 89
MethodArgumentCouldBeFinal Parameter 'consoleColored' is not assigned and could be declared final 96

view - com/jsql/view/swing/console/SimpleConsoleAdapter.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 10
LongVariable Avoid excessively long variable names like attributeTimestamp 12
MethodArgumentCouldBeFinal Parameter 'tabName' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 18

view - com/jsql/view/swing/dialog/DialogAbout.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 39
RedundantFieldInitializer Avoid using redundant field initializer for 'buttonClose' 46
LocalVariableCouldBeFinal Local variable 'escapeListener' could be declared final 57
LocalVariableCouldBeFinal Local variable 'dialogPane' could be declared final 66
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 67
LocalVariableCouldBeFinal Local variable 'labelIcon' could be declared final 69
UseExplicitTypes Use Explicit Types 69
MethodArgumentCouldBeFinal Parameter 'escapeListener' is not assigned and could be declared final 80
UseExplicitTypes Use Explicit Types 81
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 85
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 95
UseExplicitTypes Use Explicit Types 95
LocalVariableCouldBeFinal Local variable 'editorPane' could be declared final 105
UseExplicitTypes Use Explicit Types 105
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 109
UseExplicitTypes Use Explicit Types 110
UseExplicitTypes Use Explicit Types 111
LocalVariableCouldBeFinal Local variable 'result' could be declared final 114
UseExplicitTypes Use Explicit Types 114
AssignmentInOperand Avoid assignment to line in operand 116
LawOfDemeter Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) 121
ShortVariable Avoid variables with short names like e 129
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

view - com/jsql/view/swing/dialog/DialogTranslate.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LongVariable Avoid excessively long variable names like progressBarTranslation 49
LocalVariableCouldBeFinal Local variable 'escapeListener' could be declared final 60
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 67
LocalVariableCouldBeFinal Local variable 'contentPane' could be declared final 70
UseExplicitTypes Use Explicit Types 70
LocalVariableCouldBeFinal Local variable 'bundleInto' could be declared final 87
UseExplicitTypes Use Explicit Types 87
LocalVariableCouldBeFinal Local variable 'localeInto' could be declared final 88
UseExplicitTypes Use Explicit Types 88
CommentSize Comment is too large: Line too long 101
CommentSize Comment is too large: Line too long 103
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 124
UseExplicitTypes Use Explicit Types 124
LocalVariableCouldBeFinal Local variable 'clientDescription' could be declared final 145
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 150
ShortVariable Avoid variables with short names like e 172
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 172
LawOfDemeter Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) 180
LawOfDemeter Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) 181
LawOfDemeter Call to `getCaret` on foreign value `this.textToTranslate` (degree 1) 186
MethodArgumentCouldBeFinal Parameter 'textBeforeChange' is not assigned and could be declared final 201

view - com/jsql/view/swing/dialog/ReplaceFileChooser.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 21
LongVariable Avoid excessively long variable names like currentDirectoryPath 26
MethodArgumentCouldBeFinal Parameter 'currentDirectoryPath' is not assigned and could be declared final 26
LocalVariableCouldBeFinal Local variable 'file' could be declared final 35
UseExplicitTypes Use Explicit Types 35
LocalVariableCouldBeFinal Local variable 'result' could be declared final 37
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

view - com/jsql/view/swing/dialog/translate/Language.java

Rule Violation Line
ShortVariable Avoid variables with short names like AR 11
ShortVariable Avoid variables with short names like RU 12
ShortVariable Avoid variables with short names like ZH 13
ShortVariable Avoid variables with short names like TR 14
ShortVariable Avoid variables with short names like EN 15
ShortVariable Avoid variables with short names like FR 16
ShortVariable Avoid variables with short names like HI 17
ShortVariable Avoid variables with short names like CS 18
ShortVariable Avoid variables with short names like DE 19
ShortVariable Avoid variables with short names like NL 20
ShortVariable Avoid variables with short names like IN 21
ShortVariable Avoid variables with short names like IT 22
ShortVariable Avoid variables with short names like ES 23
ShortVariable Avoid variables with short names like PT 24
ShortVariable Avoid variables with short names like PL 25
ShortVariable Avoid variables with short names like KO 26
ShortVariable Avoid variables with short names like JA 27
ShortVariable Avoid variables with short names like RO 28
ShortVariable Avoid variables with short names like TA 29
ShortVariable Avoid variables with short names like SE 30
ShortVariable Avoid variables with short names like FI 31
ShortVariable Avoid variables with short names like OT 32
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
LocalVariableCouldBeFinal Local variable 'label' could be declared final 57
UseExplicitTypes Use Explicit Types 57

view - 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
LocalVariableCouldBeFinal Local variable 'keysEnum' could be declared final 9
LocalVariableCouldBeFinal Local variable 'keyList' could be declared final 10
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 21
LocalVariableCouldBeFinal Local variable 'treeMap' could be declared final 21
LocalVariableCouldBeFinal Local variable 'entrySet' could be declared final 22
LocalVariableCouldBeFinal Local variable 'entry' could be declared final 23

view - com/jsql/view/swing/dialog/translate/WorkerTranslateInto.java

Rule Violation Line
LongVariable Avoid excessively long variable names like propertiesLanguageToTranslate 29
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
LongVariable Avoid excessively long variable names like propertiesToTranslate 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
CallSuperInConstructor It is a good practice to call super() in a constructor 40
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
LocalVariableCouldBeFinal Local variable 'percentTranslated' could be declared final 76
LocalVariableCouldBeFinal Local variable 'bundleInto' could be declared final 79
UseExplicitTypes Use Explicit Types 79
LocalVariableCouldBeFinal Local variable 'localeInto' could be declared final 80
UseExplicitTypes Use Explicit Types 80
ShortVariable Avoid variables with short names like e 99
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 99
LocalVariableCouldBeFinal Local variable 'pageSourceRoot' could be declared final 109
LongVariable Avoid excessively long variable names like pageSourceRootFixed 112
LocalVariableCouldBeFinal Local variable 'pageSourceRootFixed' could be declared final 112
LocalVariableCouldBeFinal Local variable 'uri' could be declared final 115
UseExplicitTypes Use Explicit Types 115
LocalVariableCouldBeFinal Local variable 'path' could be declared final 116
UseExplicitTypes Use Explicit Types 116
LocalVariableCouldBeFinal Local variable 'root' could be declared final 117
LocalVariableCouldBeFinal Local variable 'rootI18n' could be declared final 118
UseExplicitTypes Use Explicit Types 118
LocalVariableCouldBeFinal Local variable 'rootI18nFixed' could be declared final 119
LongVariable Avoid excessively long variable names like pageSourceLanguage 128
LocalVariableCouldBeFinal Local variable 'pageSourceLanguage' could be declared final 128
LocalVariableCouldBeFinal Local variable 'uri' could be declared final 137
UseExplicitTypes Use Explicit Types 137
LocalVariableCouldBeFinal Local variable 'path' could be declared final 141
UseExplicitTypes Use Explicit Types 141
LocalVariableCouldBeFinal Local variable 'root' could be declared final 142
LocalVariableCouldBeFinal Local variable 'localeI18n' could be declared final 143
UseExplicitTypes Use Explicit Types 143
LocalVariableCouldBeFinal Local variable 'localeI18nFixed' could be declared final 144

view - com/jsql/view/swing/interaction/AddColumns.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 33

view - com/jsql/view/swing/interaction/AddDatabases.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 33

view - com/jsql/view/swing/interaction/AddTabExploitSql.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 32
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 32

view - com/jsql/view/swing/interaction/AddTabExploitUdfExtensionPostgres.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitUdfH2.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitUdfLibraryPostgres.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitUdfMysql.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitUdfOracle.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitUdfProgramPostgres.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitUdfSqlite.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitUdfWalPostgres.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 27
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 34

view - com/jsql/view/swing/interaction/AddTabExploitWeb.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 31
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 31

view - com/jsql/view/swing/interaction/AddTables.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 33

view - com/jsql/view/swing/interaction/CreateAdminPageTab.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 49
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 49
CommentSize Comment is too large: Line too long 66
UseExplicitTypes Use Explicit Types 86
LocalVariableCouldBeFinal Local variable 'itemCopyUrl' could be declared final 99
LocalVariableCouldBeFinal Local variable 'itemCopy' could be declared final 102
LocalVariableCouldBeFinal Local variable 'itemSelectAll' could be declared final 109
UseExplicitTypes Use Explicit Types 116
LocalVariableCouldBeFinal Local variable 'stringSelection' could be declared final 124
UseExplicitTypes Use Explicit Types 124
LocalVariableCouldBeFinal Local variable 'clipboard' could be declared final 125
UseExplicitTypes Use Explicit Types 125
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
UseExplicitTypes Use Explicit Types 166
LocalVariableCouldBeFinal Local variable 'header' could be declared final 179
UseExplicitTypes Use Explicit Types 179

view - com/jsql/view/swing/interaction/CreateAnalysisReport.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 25
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 25

view - com/jsql/view/swing/interaction/CreateFileTab.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 41
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 41

view - com/jsql/view/swing/interaction/CreateValuesTab.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 29
CallSuperInConstructor It is a good practice to call super() in a constructor 31
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 31

view - com/jsql/view/swing/interaction/EndIndeterminateProgress.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LongVariable Avoid excessively long variable names like dataElementDatabase 26
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 31

view - com/jsql/view/swing/interaction/EndPreparation.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

view - com/jsql/view/swing/interaction/EndProgress.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LongVariable Avoid excessively long variable names like dataElementDatabase 25
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 30

view - com/jsql/view/swing/interaction/GetTerminalResult.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 36
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 38
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 45

view - com/jsql/view/swing/interaction/MarkBlindBinInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkBlindBinStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkBlindBinVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkBlindBitInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkBlindBitStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkBlindBitVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkDnsInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkDnsStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkDnsVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkErrorInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 27
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 28

view - com/jsql/view/swing/interaction/MarkErrorStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

view - com/jsql/view/swing/interaction/MarkErrorVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 27
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 28

view - com/jsql/view/swing/interaction/MarkFileSystemInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

view - com/jsql/view/swing/interaction/MarkFileSystemVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

view - com/jsql/view/swing/interaction/MarkMultibitInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkMultibitStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkMultibitVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkStackInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkStackStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkStackVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkTimeInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkTimeStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkTimeVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkUnionInvulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkUnionStrategy.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MarkUnionVulnerable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 28

view - com/jsql/view/swing/interaction/MessageBinary.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 29

view - com/jsql/view/swing/interaction/MessageChunk.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 29

view - com/jsql/view/swing/interaction/MessageHeader.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 45
LocalVariableCouldBeFinal Local variable 'params' could be declared final 46
LocalVariableCouldBeFinal Local variable 'table' could be declared final 60
LocalVariableCouldBeFinal Local variable 'model' could be declared final 62
LawOfDemeter Call to `getModel` on foreign value `table` (degree 1) 62
LocalVariableCouldBeFinal Local variable 'rect' could be declared final 72
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 76

view - com/jsql/view/swing/interaction/SetVendor.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'params' could be declared final 29

view - com/jsql/view/swing/interaction/StartIndeterminateProgress.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LongVariable Avoid excessively long variable names like dataElementDatabase 26
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 31

view - com/jsql/view/swing/interaction/StartProgress.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LongVariable Avoid excessively long variable names like dataElementDatabase 25
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 30

view - com/jsql/view/swing/interaction/UpdateProgress.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LongVariable Avoid excessively long variable names like dataElementDatabase 25
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 35

view - com/jsql/view/swing/list/AbstractListTransfertHandler.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
ShortVariable Avoid variables with short names like c 46
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 51
LocalVariableCouldBeFinal Local variable 'list' could be declared final 52
LongVariable Avoid excessively long variable names like stringTransferable 54
LocalVariableCouldBeFinal Local variable 'stringTransferable' could be declared final 54
UseExplicitTypes Use Explicit Types 54
ShortVariable Avoid variables with short names like c 60
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 60
MethodArgumentCouldBeFinal Parameter 'action' is not assigned and could be declared final 60
LocalVariableCouldBeFinal Local variable 'list' could be declared final 62
LocalVariableCouldBeFinal Local variable 'model' could be declared final 63
LawOfDemeter Call to `getModel` on foreign value `list` (degree 1) 63
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 65
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
LocalVariableCouldBeFinal Local variable 'list' could be declared final 90
LawOfDemeter Call to `getComponent` on foreign value `support` (degree 1) 90
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 91
LawOfDemeter Call to `getModel` on foreign value `list` (degree 1) 91
LongVariable Avoid excessively long variable names like transferableFromClipboard 100
LocalVariableCouldBeFinal Local variable 'transferableFromClipboard' could be declared final 100
UseExplicitTypes Use Explicit Types 100
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
LocalVariableCouldBeFinal Local variable 'dropLocation' could be declared final 114
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 114
LocalVariableCouldBeFinal Local variable 'childIndex' could be declared final 115
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
LongVariable Avoid excessively long variable names like transferableFromClipboard 126
MethodArgumentCouldBeFinal Parameter 'transferableFromClipboard' is not assigned and could be declared final 126
LocalVariableCouldBeFinal Local variable 'clipboardText' could be declared final 128
LongVariable Avoid excessively long variable names like selectedIndexPaste 129
LocalVariableCouldBeFinal Local variable 'selectedIndexPaste' could be declared final 129
UseExplicitTypes Use Explicit Types 129
LocalVariableCouldBeFinal Local variable 'selectedIndexes' could be declared final 131
LongVariable Avoid excessively long variable names like selectedIndexesPasted 132
LocalVariableCouldBeFinal Local variable 'selectedIndexesPasted' could be declared final 132
UseExplicitTypes Use Explicit Types 132
ShortVariable Avoid variables with short names like i 133
UseExplicitTypes Use Explicit Types 133
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 135
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
LongVariable Avoid excessively long variable names like transferableFromClipboard 154
MethodArgumentCouldBeFinal Parameter 'transferableFromClipboard' is not assigned and could be declared final 154
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 156
UseExplicitTypes Use Explicit Types 156

view - 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) 3435
LawOfDemeter Call to `findAny` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream().filter(m -> m.name().equalsIgnoreCase(nameMethod))` (degree 2) 3436
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) 3437
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) 4344
LawOfDemeter Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(v -> v.toString().equals(vendor))` (degree 2) 4345
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) 4346
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

view - com/jsql/view/swing/list/DnDList.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 33
CallSuperInConstructor It is a good practice to call super() in a constructor 51
MethodArgumentCouldBeFinal Parameter 'newList' is not assigned and could be declared final 51
LocalVariableCouldBeFinal Local variable 'path' could be declared final 55
MethodArgumentCouldBeFinal Parameter 'keyEvent' is not assigned and could be declared final 81
LocalVariableCouldBeFinal Local variable 'listActionMap' could be declared final 90
UseExplicitTypes Use Explicit Types 90
ShortVariable Avoid variables with short names like e 93
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 93
LocalVariableCouldBeFinal Local variable 'selectedValues' could be declared final 98
LocalVariableCouldBeFinal Local variable 'siblings' could be declared final 99
LocalVariableCouldBeFinal Local variable 'value' could be declared final 100
LocalVariableCouldBeFinal Local variable 'valueIndex' could be declared final 101
LocalVariableCouldBeFinal Local variable 'sibling' could be declared final 111
LocalVariableCouldBeFinal Local variable 'selectedValues' could be declared final 135
LocalVariableCouldBeFinal Local variable 'itemSelected' could be declared final 136
LongVariable Avoid excessively long variable names like indexOfItemSelected 137
LocalVariableCouldBeFinal Local variable 'indexOfItemSelected' could be declared final 137
LocalVariableCouldBeFinal Local variable 'rectangle' could be declared final 147
UseExplicitTypes Use Explicit Types 147
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
LocalVariableCouldBeFinal Local variable 'fileToImport' could be declared final 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 191
LocalVariableCouldBeFinal Local variable 'options' could be declared final 195
UseExplicitTypes Use Explicit Types 195
LocalVariableCouldBeFinal Local variable 'answer' could be declared final 200
LongVariable Avoid excessively long variable names like startPositionFinal 219
LocalVariableCouldBeFinal Local variable 'startPositionFinal' could be declared final 219
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 223
LocalVariableCouldBeFinal Local variable 'file' could be declared final 225
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
UseExplicitTypes Use Explicit Types 249
UseExplicitTypes Use Explicit Types 250
AssignmentInOperand Avoid assignment to line in operand 253
AssignmentInOperand Avoid assignment to endPosition in operand 260
LocalVariableCouldBeFinal Local variable 'path' could be declared final 272
MethodArgumentCouldBeFinal Parameter 'endPosition' is not assigned and could be declared final 277
MethodArgumentCouldBeFinal Parameter 'line' is not assigned and could be declared final 277

view - com/jsql/view/swing/list/DnDListScan.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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

view - com/jsql/view/swing/list/ItemList.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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

view - com/jsql/view/swing/list/ItemListScan.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'newString' is not assigned and could be declared final 22
MethodArgumentCouldBeFinal Parameter 'json' is not assigned and could be declared final 27

view - com/jsql/view/swing/list/ListTransfertHandler.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 28
AtLeastOneConstructor Each class should declare at least one constructor 28
LongVariable Avoid excessively long variable names like stringTransferable 34
LocalVariableCouldBeFinal Local variable 'stringTransferable' could be declared final 34
UseExplicitTypes Use Explicit Types 34
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 35
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
LocalVariableCouldBeFinal Local variable 'dropLocation' could be declared final 43
UseExplicitTypes Use Explicit Types 43
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 43
LocalVariableCouldBeFinal Local variable 'childIndex' could be declared final 44
LongVariable Avoid excessively long variable names like listSelectedIndices 45
LocalVariableCouldBeFinal Local variable 'listSelectedIndices' could be declared final 45
LocalVariableCouldBeFinal Local variable 'selectedIndices' could be declared final 54
UseExplicitTypes Use Explicit Types 54
ShortVariable Avoid variables with short names like i 55
UseExplicitTypes Use Explicit Types 55
LocalVariableCouldBeFinal Local variable 'integer' could be declared final 56
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
LongVariable Avoid excessively long variable names like listSelectedIndices 63
MethodArgumentCouldBeFinal Parameter 'listSelectedIndices' is not assigned and could be declared final 63
LocalVariableCouldBeFinal Local variable 'importString' could be declared final 66
UseExplicitTypes Use Explicit Types 66
LawOfDemeter Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) 66
LawOfDemeter Call to `getTransferable` on foreign value `support` (degree 1) 66
LocalVariableCouldBeFinal Local variable 'value' could be declared final 67
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
LongVariable Avoid excessively long variable names like listSelectedIndices 78
MethodArgumentCouldBeFinal Parameter 'listSelectedIndices' is not assigned and could be declared final 78
LocalVariableCouldBeFinal Local variable 'value' could be declared final 80
LocalVariableCouldBeFinal Local variable 'newValue' could be declared final 82
UseExplicitTypes Use Explicit Types 82
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
LocalVariableCouldBeFinal Local variable 'selectedIndexes' could be declared final 92
LocalVariableCouldBeFinal Local variable 'line' could be declared final 93
LocalVariableCouldBeFinal Local variable 'newLine' could be declared final 95
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 96
UseExplicitTypes Use Explicit Types 96
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 96
AssignmentInOperand Avoid assignment to selectedIndexTo in operand 98

view - com/jsql/view/swing/list/ListTransfertHandlerScan.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'selectedIndexes' could be declared final 38
LocalVariableCouldBeFinal Local variable 'itemListScan' could be declared final 39
AssignmentInOperand Avoid assignment to selectedIndexTo in operand 41
LocalVariableCouldBeFinal Local variable 'jsons' could be declared final 48
LongVariable Avoid excessively long variable names like stringTransferable 49
LocalVariableCouldBeFinal Local variable 'stringTransferable' could be declared final 49
UseExplicitTypes Use Explicit Types 49
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 51
LocalVariableCouldBeFinal Local variable 'itemScanPath' could be declared final 52
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
LocalVariableCouldBeFinal Local variable 'dropLocation' could be declared final 64
UseExplicitTypes Use Explicit Types 64
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 64
LongVariable Avoid excessively long variable names like listSelectedIndices 67
LocalVariableCouldBeFinal Local variable 'listSelectedIndices' could be declared final 67
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 70
LocalVariableCouldBeFinal Local variable 'itemDrag' could be declared final 72
LocalVariableCouldBeFinal Local variable 'itemDrop' could be declared final 73
UseExplicitTypes Use Explicit Types 73
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 73
AssignmentInOperand Avoid assignment to indexDropLocation in operand 75
LocalVariableCouldBeFinal Local variable 'importString' could be declared final 80
UseExplicitTypes Use Explicit Types 80
LawOfDemeter Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) 80
LawOfDemeter Call to `getTransferable` on foreign value `support` (degree 1) 80
LocalVariableCouldBeFinal Local variable 'itemListScan' could be declared final 81
AssignmentInOperand Avoid assignment to indexDropLocation in operand 83
LocalVariableCouldBeFinal Local variable 'selectedIndices' could be declared final 90
UseExplicitTypes Use Explicit Types 90
ShortVariable Avoid variables with short names like i 91
UseExplicitTypes Use Explicit Types 91
LocalVariableCouldBeFinal Local variable 'integer' could be declared final 92
MethodArgumentCouldBeFinal Parameter 'clipboardText' is not assigned and could be declared final 99
LocalVariableCouldBeFinal Local variable 'itemsParsed' could be declared final 100
MethodArgumentCouldBeFinal Parameter 'clipboardText' is not assigned and could be declared final 109
MethodArgumentCouldBeFinal Parameter 'itemsParsed' is not assigned and could be declared final 109
LocalVariableCouldBeFinal Local variable 'itemsJsonArray' could be declared final 110
UseExplicitTypes Use Explicit Types 110
UseExplicitTypes Use Explicit Types 111
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 112
UseExplicitTypes Use Explicit Types 112
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
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 119
UseExplicitTypes Use Explicit Types 119
LocalVariableCouldBeFinal Local variable 'url' could be declared final 122
LocalVariableCouldBeFinal Local variable 'beanInjection' could be declared final 123
UseExplicitTypes Use Explicit Types 123
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 123
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 124
UseExplicitTypes Use Explicit Types 124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 124

view - com/jsql/view/swing/list/MenuActionExport.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'myList' is not assigned and could be declared final 43
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 49
LocalVariableCouldBeFinal Local variable 'file' could be declared final 52
UseExplicitTypes Use Explicit Types 52
LocalVariableCouldBeFinal Local variable 'replace' could be declared final 54
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
LocalVariableCouldBeFinal Local variable 'choice' could be declared final 81
UseExplicitTypes Use Explicit Types 87
UseExplicitTypes Use Explicit Types 88
LocalVariableCouldBeFinal Local variable 'len' could be declared final 90
LawOfDemeter Call to `getModel` on foreign value `this.myList` (degree 1) 90
UseExplicitTypes Use Explicit Types 91
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

view - com/jsql/view/swing/list/MenuActionNewValue.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'myList' is not assigned and could be declared final 46
LocalVariableCouldBeFinal Local variable 'panel' could be declared final 52
UseExplicitTypes Use Explicit Types 52
LocalVariableCouldBeFinal Local variable 'labelAddValue' could be declared final 54
UseExplicitTypes Use Explicit Types 54
ShortVariable Avoid variables with short names like e 64
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
UseExplicitTypes Use Explicit Types 97
LocalVariableCouldBeFinal Local variable 'firstIndex' could be declared final 98
MethodArgumentCouldBeFinal Parameter 'index' is not assigned and could be declared final 116
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 119
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
LocalVariableCouldBeFinal Local variable 'listParsedItems' could be declared final 132
LocalVariableCouldBeFinal Local variable 'item' could be declared final 134
LawOfDemeter Call to `getModel` on foreign value `this.myList` (degree 1) 135
AssignmentInOperand Avoid assignment to lastIndex in operand 135

view - com/jsql/view/swing/list/MouseAdapterMenuAction.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CallSuperInConstructor It is a good practice to call super() in a constructor 43
MethodArgumentCouldBeFinal Parameter 'dndList' is not assigned and could be declared final 43
LocalVariableCouldBeFinal Local variable 'list' could be declared final 54
LocalVariableCouldBeFinal Local variable 'popupMenuList' could be declared final 56
LocalVariableCouldBeFinal Local variable 'popupMenuList' could be declared final 81
UseExplicitTypes Use Explicit Types 81
LocalVariableCouldBeFinal Local variable 'isNonUbuntu' could be declared final 83
LocalVariableCouldBeFinal Local variable 'menuImport' could be declared final 85
LocalVariableCouldBeFinal Local variable 'menuExport' could be declared final 86
LocalVariableCouldBeFinal Local variable 'menuCut' could be declared final 87
LocalVariableCouldBeFinal Local variable 'menuCopy' could be declared final 88
LocalVariableCouldBeFinal Local variable 'menuPaste' could be declared final 89
LocalVariableCouldBeFinal Local variable 'menuDelete' could be declared final 90
LocalVariableCouldBeFinal Local variable 'menuNew' could be declared final 91
LongVariable Avoid excessively long variable names like menuRestoreDefault 92
LocalVariableCouldBeFinal Local variable 'menuRestoreDefault' could be declared final 92
LocalVariableCouldBeFinal Local variable 'menuSelectAll' could be declared final 93
UseExplicitTypes Use Explicit Types 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 121
UseExplicitTypes Use Explicit Types 128
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 133
LocalVariableCouldBeFinal Local variable 'action' could be declared final 145
UseExplicitTypes Use Explicit Types 145
LocalVariableCouldBeFinal Local variable 'action' could be declared final 154
UseExplicitTypes Use Explicit Types 154
LocalVariableCouldBeFinal Local variable 'action' could be declared final 163
UseExplicitTypes Use Explicit Types 163
LocalVariableCouldBeFinal Local variable 'start' could be declared final 175
UseExplicitTypes Use Explicit Types 175
LocalVariableCouldBeFinal Local variable 'end' could be declared final 176
LawOfDemeter Call to `getModel` on foreign value `this.dndList` (degree 1) 176
ShortVariable Avoid variables with short names like e 199
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 199
LocalVariableCouldBeFinal Local variable 'clickIndex' could be declared final 201
UseExplicitTypes Use Explicit Types 202
LocalVariableCouldBeFinal Local variable 'currentIndex' could be declared final 203
ShortVariable Avoid variables with short names like e 217
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 217

view - com/jsql/view/swing/manager/AbstractManagerList.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 42
CommentSize Comment is too large: Line too long 68
LongVariable Avoid excessively long variable names like labelI18nRunButton 70
LongVariable Avoid excessively long variable names like tooltipI18nRunButton 71
CallSuperInConstructor It is a good practice to call super() in a constructor 79
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
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 95
UseExplicitTypes Use Explicit Types 95
MethodArgumentCouldBeFinal Parameter 'nameFile' is not assigned and could be declared final 107
UseExplicitTypes Use Explicit Types 109
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 109
UseExplicitTypes Use Explicit Types 110
UseExplicitTypes Use Explicit Types 111
AssignmentInOperand Avoid assignment to line in operand 114
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 124
UseExplicitTypes Use Explicit Types 124
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 146
LocalVariableCouldBeFinal Local variable 'isFound' could be declared final 147
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 149
LawOfDemeter Call to `getModel` on foreign value `this.listPaths` (degree 1) 149
LocalVariableCouldBeFinal Local variable 'iterable' could be declared final 150
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 160
MethodArgumentCouldBeFinal Parameter 'tag' is not assigned and could be declared final 160
LocalVariableCouldBeFinal Local variable 'itemLabel' could be declared final 161
UseExplicitTypes Use Explicit Types 161
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 162
LawOfDemeter Call to `getModel` on foreign value `this.listPaths` (degree 1) 162
UseExplicitTypes Use Explicit Types 163
LocalVariableCouldBeFinal Local variable 'itemList' could be declared final 164
MethodArgumentCouldBeFinal Parameter 'isEnable' is not assigned and could be declared final 189
MethodArgumentCouldBeFinal Parameter 'icon' is not assigned and could be declared final 197

view - com/jsql/view/swing/manager/ManagerAdminPage.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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 ..; 5864
LocalVariableCouldBeFinal Local variable 'urlFinal' could be declared final 67
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

view - com/jsql/view/swing/manager/ManagerBruteForce.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LongVariable Avoid excessively long variable names like BRUTEFORCE_RUN_BUTTON_TOOLTIP 39
LongVariable Avoid excessively long variable names like BRUTEFORCE_HASH_TOOLTIP 40
LongVariable Avoid excessively long variable names like BRUTEFORCE_EXCLUDE_TOOLTIP 41
LongVariable Avoid excessively long variable names like lowerCaseCharacters 46
LongVariable Avoid excessively long variable names like upperCaseCharacters 47
LocalVariableCouldBeFinal Local variable 'panelOptions' could be declared final 67
LocalVariableCouldBeFinal Local variable 'placeholder' could be declared final 70
UseExplicitTypes Use Explicit Types 70
LocalVariableCouldBeFinal Local variable 'panelButton' could be declared final 77
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 82
UseExplicitTypes Use Explicit Types 82
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 85
UseExplicitTypes Use Explicit Types 85
MethodArgumentCouldBeFinal Parameter 'isVisible' is not assigned and could be declared final 110
LocalVariableCouldBeFinal Local variable 'options' could be declared final 116
UseExplicitTypes Use Explicit Types 116
LocalVariableCouldBeFinal Local variable 'firstLine' could be declared final 117
LocalVariableCouldBeFinal Local variable 'thirdLine' could be declared final 119
LongVariable Avoid excessively long variable names like secondAndThirdLine 121
UseExplicitTypes Use Explicit Types 121
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 131
UseExplicitTypes Use Explicit Types 131
LocalVariableCouldBeFinal Local variable 'placeholder' could be declared final 132
UseExplicitTypes Use Explicit Types 132
LocalVariableCouldBeFinal Local variable 'firstLine' could be declared final 144
UseExplicitTypes Use Explicit Types 144
UseExplicitTypes Use Explicit Types 150
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 165
UseExplicitTypes Use Explicit Types 165
LocalVariableCouldBeFinal Local variable 'thirdLine' could be declared final 182
UseExplicitTypes Use Explicit Types 182
UseExplicitTypes Use Explicit Types 185
LongVariable Avoid excessively long variable names like placeholderTooltip 186
LocalVariableCouldBeFinal Local variable 'placeholderTooltip' could be declared final 186
UseExplicitTypes Use Explicit Types 186
UseExplicitTypes Use Explicit Types 202
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
LocalVariableCouldBeFinal Local variable 'labelMin' could be declared final 224
UseExplicitTypes Use Explicit Types 224
LocalVariableCouldBeFinal Local variable 'labelMax' could be declared final 231
UseExplicitTypes Use Explicit Types 231

view - com/jsql/view/swing/manager/ManagerCoder.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
ShortVariable Avoid variables with short names like e 63
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 63
LocalVariableCouldBeFinal Local variable 'item' could be declared final 65
LocalVariableCouldBeFinal Local variable 'placeholderInput' could be declared final 79
UseExplicitTypes Use Explicit Types 79
LawOfDemeter Call to `getCaret` on foreign value `this.textInput` (degree 1) 82
LawOfDemeter Call to `getDocument` on foreign value `this.textInput` (degree 1) 85
LocalVariableCouldBeFinal Local variable 'topMixed' could be declared final 92
LocalVariableCouldBeFinal Local variable 'placeholderResult' could be declared final 94
UseExplicitTypes Use Explicit Types 94
LocalVariableCouldBeFinal Local variable 'bottom' could be declared final 101
UseExplicitTypes Use Explicit Types 101
LocalVariableCouldBeFinal Local variable 'divider' could be declared final 104
UseExplicitTypes Use Explicit Types 104
LocalVariableCouldBeFinal Local variable 'comboMenubar' could be declared final 112
UseExplicitTypes Use Explicit Types 112
LocalVariableCouldBeFinal Local variable 'topMixed' could be declared final 113
UseExplicitTypes Use Explicit Types 113
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 120
LocalVariableCouldBeFinal Local variable 'mapMenus' could be declared final 120
LocalVariableCouldBeFinal Local variable 'menuHtml' could be declared final 129
UseExplicitTypes Use Explicit Types 129
LongVariable Avoid excessively long variable names like menuEncodeHtmlDecimal 134
LocalVariableCouldBeFinal Local variable 'menuEncodeHtmlDecimal' could be declared final 134
UseExplicitTypes Use Explicit Types 134
LocalVariableCouldBeFinal Local variable 'menuEncode' could be declared final 140
UseExplicitTypes Use Explicit Types 140
LocalVariableCouldBeFinal Local variable 'menuDecode' could be declared final 145
UseExplicitTypes Use Explicit Types 145
AvoidDuplicateLiterals The String literal "Hash" appears 5 times in this file; the first occurrence is on line 156 156
LocalVariableCouldBeFinal Local variable 'menuEncode' could be declared final 160
UseExplicitTypes Use Explicit Types 160
LocalVariableCouldBeFinal Local variable 'popupMenu' could be declared final 167
LocalVariableCouldBeFinal Local variable 'menu' could be declared final 168
LocalVariableCouldBeFinal Local variable 'labelMenu' could be declared final 172
ShortVariable Avoid variables with short names like e 179
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 179
UseExplicitTypes Use Explicit Types 182

view - com/jsql/view/swing/manager/ManagerDatabase.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 39
LocalVariableCouldBeFinal Local variable 'nodeModelEmpty' could be declared final 52
LocalVariableCouldBeFinal Local variable 'root' could be declared final 53
UseExplicitTypes Use Explicit Types 53
LawOfDemeter Call to `getSelectionModel` on foreign value `this.tree` (degree 1) 66
LawOfDemeter Call to `getModel` on foreign value `this.tree` (degree 1) 67
ShortVariable Avoid variables with short names like e 75
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 75
LocalVariableCouldBeFinal Local variable 'treeNode' could be declared final 77
LawOfDemeter Call to `getLastSelectedPathComponent` on foreign value `ManagerDatabase.this.tree` (degree 1) 77
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 79
LawOfDemeter Call to `getUserObject` on foreign value `treeNode` (degree 1) 79
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 8082
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 92
LocalVariableCouldBeFinal Local variable 'selRow' could be declared final 93
LocalVariableCouldBeFinal Local variable 'selPath' could be declared final 94
AtLeastOneConstructor Each class should declare at least one constructor 111
MethodArgumentCouldBeFinal Parameter 'treeModelEvent' is not assigned and could be declared final 113

view - com/jsql/view/swing/manager/ManagerExploit.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 46
LongVariable Avoid excessively long variable names like comboBoxExploitTypes 61
LongVariable Avoid excessively long variable names like comboBoxExploitModes 69
LocalVariableCouldBeFinal Local variable 'tooltipShellUrl' could be declared final 81
UseExplicitTypes Use Explicit Types 81
LocalVariableCouldBeFinal Local variable 'placeholderResult' could be declared final 82
UseExplicitTypes Use Explicit Types 82
LocalVariableCouldBeFinal Local variable 'southPanel' could be declared final 97
UseExplicitTypes Use Explicit Types 97
LocalVariableCouldBeFinal Local variable 'userPassPanel' could be declared final 103
UseExplicitTypes Use Explicit Types 103
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 104
UseExplicitTypes Use Explicit Types 104
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 114
UseExplicitTypes Use Explicit Types 114
LocalVariableCouldBeFinal Local variable 'labelUsing' could be declared final 145
UseExplicitTypes Use Explicit Types 145
LocalVariableCouldBeFinal Local variable 'selectedItem' could be declared final 198
LocalVariableCouldBeFinal Local variable 'selectedItem' could be declared final 216
LongVariable Avoid excessively long variable names like comboBoxExploitTypes 230
LongVariable Avoid excessively long variable names like comboBoxExploitTypes 232
MethodArgumentCouldBeFinal Parameter 'comboBoxExploitTypes' is not assigned and could be declared final 232
LocalVariableCouldBeFinal Local variable 'modelSelectItem' could be declared final 238
UseExplicitTypes Use Explicit Types 238
LawOfDemeter Call to `getSelectedItem` on foreign value `this.comboBoxExploitTypes` (degree 1) 238
LocalVariableCouldBeFinal Local variable 'labelSelectItem' could be declared final 239
UseExplicitTypes Use Explicit Types 239
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
LocalVariableCouldBeFinal Local variable 'urlShell' could be declared final 266
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 268
LocalVariableCouldBeFinal Local variable 'fileToUpload' could be declared final 270
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 ..; 304310
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
LocalVariableCouldBeFinal Local variable 'filechooser' could be declared final 355
UseExplicitTypes Use Explicit Types 355
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 355
LocalVariableCouldBeFinal Local variable 'returnVal' could be declared final 357
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
LocalVariableCouldBeFinal Local variable 'exploitMethod' could be declared final 365
UseExplicitTypes Use Explicit Types 365
LocalVariableCouldBeFinal Local variable 'modelItemType' could be declared final 378
UseExplicitTypes Use Explicit Types 378
LocalVariableCouldBeFinal Local variable 'keyLabel' could be declared final 379
UseExplicitTypes Use Explicit Types 379
LocalVariableCouldBeFinal Local variable 'vendor' could be declared final 380
UseExplicitTypes Use Explicit Types 380
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
LocalVariableCouldBeFinal Local variable 'login' could be declared final 422
LocalVariableCouldBeFinal Local variable 'pass' could be declared final 423
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

view - com/jsql/view/swing/manager/ManagerFile.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 32
AtLeastOneConstructor Each class should declare at least one constructor 48
ShortVariable Avoid variables with short names like e 50
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
LocalVariableCouldBeFinal Local variable 'filePaths' could be declared final 80
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

view - com/jsql/view/swing/manager/ManagerScan.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'label' could be declared final 62
LocalVariableCouldBeFinal Local variable 'itemList' could be declared final 63
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 73
LocalVariableCouldBeFinal Local variable 'beanInjection' could be declared final 81
UseExplicitTypes Use Explicit Types 81
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
LocalVariableCouldBeFinal Local variable 'requestType' could be declared final 86
LocalVariableCouldBeFinal Local variable 'method' could be declared final 93
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
LocalVariableCouldBeFinal Local variable 'jsonScan' could be declared final 106
UseExplicitTypes Use Explicit Types 106
UseExplicitTypes Use Explicit Types 108
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 108
UseExplicitTypes Use Explicit Types 109
UseExplicitTypes Use Explicit Types 110
AssignmentInOperand Avoid assignment to line in operand 113
LocalVariableCouldBeFinal Local variable 'jsonArrayScan' could be declared final 116
UseExplicitTypes Use Explicit Types 116
UseExplicitTypes Use Explicit Types 117
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 127
UseExplicitTypes Use Explicit Types 127
AtLeastOneConstructor Each class should declare at least one constructor 140
ShortVariable Avoid variables with short names like e 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 147
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 153
LawOfDemeter Call to `getModel` on foreign value `ManagerScan.this.listPaths` (degree 1) 153
UseExplicitTypes Use Explicit Types 154
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
LongVariable Avoid excessively long variable names like requestUnsubscribe 188
LocalVariableCouldBeFinal Local variable 'requestUnsubscribe' could be declared final 188
UseExplicitTypes Use Explicit Types 188
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 194
LocalVariableCouldBeFinal Local variable 'urlItemList' could be declared final 196
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 199
LocalVariableCouldBeFinal Local variable 'urlItemListScan' could be declared final 204
UseExplicitTypes Use Explicit Types 204
LawOfDemeter Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) 205
LocalVariableCouldBeFinal Local variable 'optionalVendor' could be declared final 207
LawOfDemeter Call to `filter` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream()` (degree 2) 207209
LawOfDemeter Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(vendor -> vendor.toString().equalsIgnoreCase(urlItemListScan.getBeanInjection().getVendor()))` (degree 2) 207210
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) 207208
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

view - com/jsql/view/swing/manager/util/ActionBruteForce.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
UseExplicitTypes Use Explicit Types 84
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
LocalVariableCouldBeFinal Local variable 'selectionStart' could be declared final 100
LocalVariableCouldBeFinal Local variable 'selectionEnd' could be declared final 101
LocalVariableCouldBeFinal Local variable 'remainingDuration' could be declared final 134
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
LocalVariableCouldBeFinal Local variable 'textPane' could be declared final 207
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

view - com/jsql/view/swing/manager/util/CoderListener.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'nameMethod' could be declared final 53
LocalVariableCouldBeFinal Local variable 'textInput' could be declared final 55
ExceptionAsFlowControl Exception thrown at line 62 is caught in this block. 6673

view - 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
LocalVariableCouldBeFinal Local variable 'exploitMethods' could be declared final 19
UseExplicitTypes Use Explicit Types 19

view - 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
LocalVariableCouldBeFinal Local variable 'exploitMethods' could be declared final 16
UseExplicitTypes Use Explicit Types 16

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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
ShortVariable Avoid variables with short names like e 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

view - 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
ShortVariable Avoid variables with short names like e 17
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 18

view - 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

view - com/jsql/view/swing/menubar/AppMenubar.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 11393
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 54
TooManyMethods This class has too many methods, consider refactoring it. 54393
CallSuperInConstructor It is a good practice to call super() in a constructor 73
LocalVariableCouldBeFinal Local variable 'menuFile' could be declared final 83
UseExplicitTypes Use Explicit Types 83
LocalVariableCouldBeFinal Local variable 'itemSave' could be declared final 87
LocalVariableCouldBeFinal Local variable 'itemExit' could be declared final 90
LocalVariableCouldBeFinal Local variable 'menuEdit' could be declared final 103
UseExplicitTypes Use Explicit Types 103
LocalVariableCouldBeFinal Local variable 'itemCopy' could be declared final 107
LocalVariableCouldBeFinal Local variable 'itemSelectAll' could be declared final 118
LocalVariableCouldBeFinal Local variable 'menuCommunity' could be declared final 138
UseExplicitTypes Use Explicit Types 138
LongVariable Avoid excessively long variable names like menuI18nContribution 143
LocalVariableCouldBeFinal Local variable 'menuI18nContribution' could be declared final 143
LocalVariableCouldBeFinal Local variable 'itemReportIssue' could be declared final 146
LongVariable Avoid excessively long variable names like menuI18nContribution 156
LocalVariableCouldBeFinal Local variable 'menuI18nContribution' could be declared final 156
UseExplicitTypes Use Explicit Types 156
UseExplicitTypes Use Explicit Types 159
LocalVariableCouldBeFinal Local variable 'itemIntoOther' could be declared final 166
UseExplicitTypes Use Explicit Types 166
LongVariable Avoid excessively long variable names like modelItemTranslate 170
LongVariable Avoid excessively long variable names like modelItemTranslate 172
LocalVariableCouldBeFinal Local variable 'itemReportIssue' could be declared final 182
LocalVariableCouldBeFinal Local variable 'panel' could be declared final 187
UseExplicitTypes Use Explicit Types 187
ShortVariable Avoid variables with short names like e 210
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 210
LocalVariableCouldBeFinal Local variable 'result' could be declared final 216
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 231
LocalVariableCouldBeFinal Local variable 'menuHelp' could be declared final 239
UseExplicitTypes Use Explicit Types 239
LocalVariableCouldBeFinal Local variable 'itemHelp' could be declared final 244
LocalVariableCouldBeFinal Local variable 'itemUpdate' could be declared final 248
UseExplicitTypes Use Explicit Types 253
MethodArgumentCouldBeFinal Parameter 'theme' is not assigned and could be declared final 269
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 287
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 290
MethodArgumentCouldBeFinal Parameter 'oldLocale' is not assigned and could be declared final 294
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 294
MethodArgumentCouldBeFinal Parameter 'isStartup' is not assigned and could be declared final 294
LawOfDemeter Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) 296
MethodArgumentCouldBeFinal Parameter 'oldLocale' is not assigned and could be declared final 299
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 299
MethodArgumentCouldBeFinal Parameter 'isStartup' is not assigned and could be declared final 299
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 327
MethodArgumentCouldBeFinal Parameter 'oldLocale' is not assigned and could be declared final 332
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 332
MethodArgumentCouldBeFinal Parameter 'isStartup' is not assigned and could be declared final 332
LongVariable Avoid excessively long variable names like componentOrientation 333
LocalVariableCouldBeFinal Local variable 'componentOrientation' could be declared final 333
UseExplicitTypes Use Explicit Types 333
LongVariable Avoid excessively long variable names like splitPaneLeftRight 338
LocalVariableCouldBeFinal Local variable 'splitPaneLeftRight' could be declared final 338
LocalVariableCouldBeFinal Local variable 'componentLeft' could be declared final 339
UseExplicitTypes Use Explicit Types 339
LocalVariableCouldBeFinal Local variable 'componentRight' could be declared final 340
UseExplicitTypes Use Explicit Types 340
LocalVariableCouldBeFinal Local variable 'header' could be declared final 374
LocalVariableCouldBeFinal Local variable 'columnModel' could be declared final 375
LawOfDemeter Call to `getColumnModel` on foreign value `header` (degree 1) 375
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 376
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 377
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 378
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 379

view - 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
LocalVariableCouldBeFinal Local variable 'itemNewWindows' could be declared final 50
LocalVariableCouldBeFinal Local variable 'menuAppearance' could be declared final 54
UseExplicitTypes Use Explicit Types 54
LocalVariableCouldBeFinal Local variable 'itemNewWindows4k' could be declared final 58
LocalVariableCouldBeFinal Local variable 'groupRadio' could be declared final 63
UseExplicitTypes Use Explicit Types 63
LocalVariableCouldBeFinal Local variable 'menuThemes' could be declared final 64
UseExplicitTypes Use Explicit Types 64
LocalVariableCouldBeFinal Local variable 'item' could be declared final 77
ShortVariable Avoid variables with short names like e 80
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 86
LocalVariableCouldBeFinal Local variable 'accelerator' could be declared final 102
LocalVariableCouldBeFinal Local variable 'tabPosition' could be declared final 103
LocalVariableCouldBeFinal Local variable 'menuItem' could be declared final 105
UseExplicitTypes Use Explicit Types 105
UseExplicitTypes Use Explicit Types 115
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 117
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
LocalVariableCouldBeFinal Local variable 'menuPanel' could be declared final 126
UseExplicitTypes Use Explicit Types 126
LocalVariableCouldBeFinal Local variable 'menuItem' could be declared final 157
UseExplicitTypes Use Explicit Types 157
ShortVariable Avoid variables with short names like e 163
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 163
LocalVariableCouldBeFinal Local variable 'itemSqlEngine' could be declared final 188
UseExplicitTypes Use Explicit Types 188
LocalVariableCouldBeFinal Local variable 'titleTabSqlEngine' could be declared final 194
UseExplicitTypes Use Explicit Types 194
UseExplicitTypes Use Explicit Types 197
LocalVariableCouldBeFinal Local variable 'panelSqlEngine' could be declared final 206
UseExplicitTypes Use Explicit Types 206
LocalVariableCouldBeFinal Local variable 'header' could be declared final 211
UseExplicitTypes Use Explicit Types 211
LocalVariableCouldBeFinal Local variable 'itemPreferences' could be declared final 223
LongVariable Avoid excessively long variable names like titleTabPreferences 228
LocalVariableCouldBeFinal Local variable 'titleTabPreferences' could be declared final 228
UseExplicitTypes Use Explicit Types 228
UseExplicitTypes Use Explicit Types 231
LocalVariableCouldBeFinal Local variable 'panelPreferences' could be declared final 240
UseExplicitTypes Use Explicit Types 240
LocalVariableCouldBeFinal Local variable 'header' could be declared final 245
UseExplicitTypes Use Explicit Types 245
LocalVariableCouldBeFinal Local variable 'menuTranslation' could be declared final 258
UseExplicitTypes Use Explicit Types 258
LongVariable Avoid excessively long variable names like groupRadioLanguage 263
LocalVariableCouldBeFinal Local variable 'groupRadioLanguage' could be declared final 263
UseExplicitTypes Use Explicit Types 263
LongVariable Avoid excessively long variable names like atomicIsAnySelected 264
LocalVariableCouldBeFinal Local variable 'atomicIsAnySelected' could be declared final 264
UseExplicitTypes Use Explicit Types 264
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 278
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 300

view - 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
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 21

view - 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

view - com/jsql/view/swing/panel/PanelAddressBar.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 47
LongVariable Avoid excessively long variable names like atomicTextFieldAddress 51
LongVariable Avoid excessively long variable names like atomicTextFieldRequest 52
LongVariable Avoid excessively long variable names like atomicTextFieldHeader 53
LongVariable Avoid excessively long variable names like atomicRadioRequest 55
LongVariable Avoid excessively long variable names like KEY_ADDRESS_BAR_PLACEHOLDER 59
LawOfDemeter Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) 63
LongVariable Avoid excessively long variable names like panelTrailingAddress 66
LongVariable Avoid excessively long variable names like isAdvanceActivated 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isAdvanceActivated' 68
AvoidFieldNameMatchingMethodName Field isAdvanceActivated has the same name as a method 68
CallSuperInConstructor It is a good practice to call super() in a constructor 70
LocalVariableCouldBeFinal Local variable 'buttonGroup' could be declared final 71
UseExplicitTypes Use Explicit Types 71
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
LocalVariableCouldBeFinal Local variable 'i18nTooltip' could be declared final 105
UseExplicitTypes Use Explicit Types 105
LocalVariableCouldBeFinal Local variable 'tooltipTextfield' could be declared final 106
UseExplicitTypes Use Explicit Types 106
CompareObjectsWithEquals Use equals() to compare object references. 109
LocalVariableCouldBeFinal Local variable 'i18nRadio' could be declared final 121
UseExplicitTypes Use Explicit Types 121
LocalVariableCouldBeFinal Local variable 'tooltipRadio' could be declared final 122
UseExplicitTypes Use Explicit Types 122
CompareObjectsWithEquals Use equals() to compare object references. 133
CompareObjectsWithEquals Use equals() to compare object references. 137
LocalVariableCouldBeFinal Local variable 'panelTextFields' could be declared final 170
UseExplicitTypes Use Explicit Types 170
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 171
UseExplicitTypes Use Explicit Types 171
UseExplicitTypes Use Explicit Types 176
UseExplicitTypes Use Explicit Types 177
LocalVariableCouldBeFinal Local variable 'method' could be declared final 179
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 180
LocalVariableCouldBeFinal Local variable 'tooltipPanel' could be declared final 190
UseExplicitTypes Use Explicit Types 190
LocalVariableCouldBeFinal Local variable 'panelCustomMethod' could be declared final 191
UseExplicitTypes Use Explicit Types 191
LocalVariableCouldBeFinal Local variable 'colorBackground' could be declared final 198
LongVariable Avoid excessively long variable names like colorSelectionBackground 199
LocalVariableCouldBeFinal Local variable 'colorSelectionBackground' could be declared final 199
UseExplicitTypes Use Explicit Types 202
ShortVariable Avoid variables with short names like e 221
LawOfDemeter Call to `getDocument` on foreign value `inputCustomMethod` (degree 1) 225
LongVariable Avoid excessively long variable names like tooltipCustomMethod 233
LocalVariableCouldBeFinal Local variable 'tooltipCustomMethod' could be declared final 233
UseExplicitTypes Use Explicit Types 233
LongVariable Avoid excessively long variable names like mouseAdapterSetBackground 239
LocalVariableCouldBeFinal Local variable 'mouseAdapterSetBackground' could be declared final 239
ShortVariable Avoid variables with short names like e 241
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 241
ShortVariable Avoid variables with short names like e 247
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 247
ShortVariable Avoid variables with short names like e 264
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 264
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 294
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 294
MethodArgumentCouldBeFinal Parameter 'inputCustomMethod' is not assigned and could be declared final 349
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 361
UseExplicitTypes Use Explicit Types 361
LocalVariableCouldBeFinal Local variable 'advancedButton' could be declared final 362
UseExplicitTypes Use Explicit Types 362
ShortVariable Avoid variables with short names like e 373
LocalVariableCouldBeFinal Local variable 'isVisible' could be declared final 374
LawOfDemeter Call to `getIcon` on foreign value `advancedButton` (degree 1) 374
CompareObjectsWithEquals Use equals() to compare object references. 374
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) 374
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.ARROW_UP` (degree 1) 382
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) 382
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 391

view - com/jsql/view/swing/panel/PanelConsoles.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 45
TooManyMethods This class has too many methods, consider refactoring it. 45349
LongVariable Avoid excessively long variable names like CONSOLE_JAVA_TOOLTIP 49
LongVariable Avoid excessively long variable names like CONSOLE_CHUNK_TOOLTIP 50
LongVariable Avoid excessively long variable names like CONSOLE_BINARY_TOOLTIP 51
LongVariable Avoid excessively long variable names like CONSOLE_MAIN_TOOLTIP 52
LongVariable Avoid excessively long variable names like tabbedPaneNetworkTab 75
RedundantFieldInitializer Avoid using redundant field initializer for 'dividerLocation' 79
CallSuperInConstructor It is a good practice to call super() in a constructor 84
LocalVariableCouldBeFinal Local variable 'expandPanel' could be declared final 95
LocalVariableCouldBeFinal Local variable 'panelTable' could be declared final 111
LocalVariableCouldBeFinal Local variable 'proxyChunk' could be declared final 117
UseExplicitTypes Use Explicit Types 117
LocalVariableCouldBeFinal Local variable 'proxyBinary' could be declared final 123
UseExplicitTypes Use Explicit Types 123
LocalVariableCouldBeFinal Local variable 'consoleTextPane' could be declared final 129
UseExplicitTypes Use Explicit Types 129
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 142
UseExplicitTypes Use Explicit Types 142
ShortVariable Avoid variables with short names like e 158
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 158
LocalVariableCouldBeFinal Local variable 'tabIndex' could be declared final 159
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 166
LocalVariableCouldBeFinal Local variable 'currentTabHeader' could be declared final 168
UseExplicitTypes Use Explicit Types 168
LocalVariableCouldBeFinal Local variable 'labelShowSouth' could be declared final 178
UseExplicitTypes Use Explicit Types 178
ShortVariable Avoid variables with short names like e 182
ShortVariable Avoid variables with short names like e 190
LocalVariableCouldBeFinal Local variable 'panelExpander' could be declared final 195
UseExplicitTypes Use Explicit Types 195
LawOfDemeter Call to `getModel` on foreign value `this.networkTable` (degree 1) 212
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 213
LocalVariableCouldBeFinal Local variable 'positionFromChunk' could be declared final 237
UseExplicitTypes Use Explicit Types 237
ConfusingTernary Avoid if (x != y) ..; else ..; 237
LocalVariableCouldBeFinal Local variable 'positionFromJava' could be declared final 251
UseExplicitTypes Use Explicit Types 251
ConfusingTernary Avoid if (x != y) ..; else ..; 251
MethodArgumentCouldBeFinal Parameter 'keyLabel' is not assigned and could be declared final 274
MethodArgumentCouldBeFinal Parameter 'keyTooltip' is not assigned and could be declared final 274
MethodArgumentCouldBeFinal Parameter 'icon' is not assigned and could be declared final 274
MethodArgumentCouldBeFinal Parameter 'manager' is not assigned and could be declared final 274
MethodArgumentCouldBeFinal Parameter 'position' is not assigned and could be declared final 274
LocalVariableCouldBeFinal Local variable 'refJToolTipI18n' could be declared final 275
UseExplicitTypes Use Explicit Types 275
LocalVariableCouldBeFinal Local variable 'labelTab' could be declared final 277
UseExplicitTypes Use Explicit Types 277
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 307
LawOfDemeter Call to `getDocument` on foreign value `this.chunkTextArea` (degree 1) 310
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 311
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 318
LawOfDemeter Call to `getDocument` on foreign value `this.binaryTextArea` (degree 1) 321
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 322
MethodArgumentCouldBeFinal Parameter 'location' is not assigned and could be declared final 334

view - 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
LongVariable Avoid excessively long variable names like actionListenerSave 17
LongVariable Avoid excessively long variable names like panelAuthentication 24
CallSuperInConstructor It is a good practice to call super() in a constructor 45
LocalVariableCouldBeFinal Local variable 'cards' could be declared final 49
UseExplicitTypes Use Explicit Types 49
LocalVariableCouldBeFinal Local variable 'categories' could be declared final 52
MethodArgumentCouldBeFinal Parameter 'cards' is not assigned and could be declared final 69
LocalVariableCouldBeFinal Local variable 'categories' could be declared final 70
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 76
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
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 87
UseExplicitTypes Use Explicit Types 87

view - com/jsql/view/swing/panel/address/ActionEnterAddressBar.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'panelAddressBar' is not assigned and could be declared final 10
ShortVariable Avoid variables with short names like e 15

view - com/jsql/view/swing/panel/address/ActionStart.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'panelAddressBar' is not assigned and could be declared final 21
ShortVariable Avoid variables with short names like e 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 60

view - com/jsql/view/swing/panel/address/ButtonStart.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 26
LongVariable Avoid excessively long variable names like BUTTON_START_TOOLTIP 27
CallSuperInConstructor It is a good practice to call super() in a constructor 53

view - 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

view - com/jsql/view/swing/panel/address/PanelTrailingAddress.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 26
LongVariable Avoid excessively long variable names like itemRadioStrategyError 30
LongVariable Avoid excessively long variable names like popupMenuStrategies 35
LongVariable Avoid excessively long variable names like I18N_TOOLTIP_STRATEGY 39
CallSuperInConstructor It is a good practice to call super() in a constructor 51
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
LocalVariableCouldBeFinal Local variable 'nameStrategy' could be declared final 59
UseExplicitTypes Use Explicit Types 59
LawOfDemeter Call to `getName` on foreign value `strategy` (degree 2) 59
LocalVariableCouldBeFinal Local variable 'itemRadioStrategy' could be declared final 60
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
LocalVariableCouldBeFinal Local variable 'atomicTooltip' could be declared final 66
UseExplicitTypes Use Explicit Types 66
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 6668
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 6668
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 6979
LawOfDemeter Call to `toString` on foreign value `strategy` (degree 2) 69
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 7276
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
LocalVariableCouldBeFinal Local variable 'groupVendor' could be declared final 102
UseExplicitTypes Use Explicit Types 102
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
LocalVariableCouldBeFinal Local variable 'itemRadioVendor' could be declared final 104
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
LocalVariableCouldBeFinal Local variable 'dimension' could be declared final 115
UseExplicitTypes Use Explicit Types 115
ShortVariable Avoid variables with short names like e 122
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 122
ShortVariable Avoid variables with short names like e 133
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 133
UseExplicitTypes Use Explicit Types 135
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
LocalVariableCouldBeFinal Local variable 'iterable' could be declared final 167
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 173
UseExplicitTypes Use Explicit Types 176
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
LocalVariableCouldBeFinal Local variable 'methodError' could be declared final 181
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
LocalVariableCouldBeFinal Local variable 'itemRadioError' could be declared final 182
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 182
LocalVariableCouldBeFinal Local variable 'indexErrorFinal' could be declared final 187
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
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 214
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 214
UseExplicitTypes Use Explicit Types 220
UnusedAssignment The initializer for variable 'isNotNull' is never used (overwritten on line 225) 220
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 236
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 236
LocalVariableCouldBeFinal Local variable 'indexError' could be declared final 238
LocalVariableCouldBeFinal Local variable 'nameError' could be declared final 239
LawOfDemeter Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) 239
LongVariable Avoid excessively long variable names like jRadioButtonMenuItem 244
LocalVariableCouldBeFinal Local variable 'nameError' could be declared final 251
UseExplicitTypes Use Explicit Types 251
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 251
MethodArgumentCouldBeFinal Parameter 'indexMethodError' is not assigned and could be declared final 259
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 260
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 260
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 277

view - com/jsql/view/swing/panel/consoles/CenterRenderer.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
CallSuperInConstructor It is a good practice to call super() in a constructor 7

view - 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
LongVariable Avoid excessively long variable names like objectCallableBoolean 15
LocalVariableCouldBeFinal Local variable 'objectCallableBoolean' could be declared final 15
LocalVariableCouldBeFinal Local variable 'callableBoolean' could be declared final 18
LocalVariableCouldBeFinal Local variable 'charText' could be declared final 19
LocalVariableCouldBeFinal Local variable 'label' could be declared final 25
LocalVariableCouldBeFinal Local variable 'callableBoolean' could be declared final 29
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

view - com/jsql/view/swing/panel/consoles/NetworkTable.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 21
LongVariable Avoid excessively long variable names like tabbedPaneNetworkTab 28
MethodArgumentCouldBeFinal Parameter 'tabbedPaneNetworkTab' is not assigned and could be declared final 28
ShortVariable Avoid variables with short names like e 40
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 40
LocalVariableCouldBeFinal Local variable 'point' could be declared final 45
UseExplicitTypes Use Explicit Types 45
LocalVariableCouldBeFinal Local variable 'rowNumber' could be declared final 48
UseExplicitTypes Use Explicit Types 48
LocalVariableCouldBeFinal Local variable 'colNumber' could be declared final 49
UseExplicitTypes Use Explicit Types 49
LocalVariableCouldBeFinal Local variable 'modelRow' could be declared final 52
LocalVariableCouldBeFinal Local variable 'modelColumn' could be declared final 53
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
LongVariable Avoid excessively long variable names like centerHorizontalAlignment 81
LocalVariableCouldBeFinal Local variable 'centerHorizontalAlignment' could be declared final 81
LocalVariableCouldBeFinal Local variable 'forward' could be declared final 89
LocalVariableCouldBeFinal Local variable 'backward' could be declared final 93
LocalVariableCouldBeFinal Local variable 'httpHeader' could be declared final 104
UseExplicitTypes Use Explicit Types 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 109
LocalVariableCouldBeFinal Local variable 'httpHeader' could be declared final 113
UseExplicitTypes Use Explicit Types 113
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 128

view - 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. 1215
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 50
CallSuperInConstructor It is a good practice to call super() in a constructor 52
LocalVariableCouldBeFinal Local variable 'panelDecode' could be declared final 54
UseExplicitTypes Use Explicit Types 54
CompareObjectsWithEquals Use equals() to compare object references. 76
LocalVariableCouldBeFinal Local variable 'label' could be declared final 80
UseExplicitTypes Use Explicit Types 80
LocalVariableCouldBeFinal Local variable 'caret' could be declared final 90
LawOfDemeter Call to `getCaret` on foreign value `this.textPanePreview` (degree 1) 106
LawOfDemeter Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) 110
LawOfDemeter Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) 111
MethodArgumentCouldBeFinal Parameter 'networkData' is not assigned and could be declared final 116
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 130
CommentSize Comment is too large: Line too long 136
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 160
MethodArgumentCouldBeFinal Parameter 'textArea' is not assigned and could be declared final 165
MethodArgumentCouldBeFinal Parameter 'httpData' is not assigned and could be declared final 165
LocalVariableCouldBeFinal Local variable 'decodedValue' could be declared final 169
MethodArgumentCouldBeFinal Parameter 'isSelected' is not assigned and could be declared final 175
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 175
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 178
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 194
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 194

view - 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
LocalVariableCouldBeFinal Local variable 'label' could be declared final 20

view - 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
LongVariable Avoid excessively long variable names like checkboxUseDigestAuthentication 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 15
LongVariable Avoid excessively long variable names like checkboxUseKerberos 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 16
LongVariable Avoid excessively long variable names like textDigestAuthenticationUsername 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 18
LongVariable Avoid excessively long variable names like textDigestAuthenticationPassword 19
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 19
LongVariable Avoid excessively long variable names like textKerberosLoginConf 20
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 20
LongVariable Avoid excessively long variable names like textKerberosKrb5Conf 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 21
CallSuperInConstructor It is a good practice to call super() in a constructor 26
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 26
LocalVariableCouldBeFinal Local variable 'panelUsername' could be declared final 35
UseExplicitTypes Use Explicit Types 35
LocalVariableCouldBeFinal Local variable 'panelPassword' could be declared final 41
UseExplicitTypes Use Explicit Types 41
LongVariable Avoid excessively long variable names like tooltipUseKerberos 48
LocalVariableCouldBeFinal Local variable 'tooltipUseKerberos' could be declared final 48
LocalVariableCouldBeFinal Local variable 'panelLoginConf' could be declared final 82
UseExplicitTypes Use Explicit Types 82
LocalVariableCouldBeFinal Local variable 'panelKrb5Conf' could be declared final 88
UseExplicitTypes Use Explicit Types 88
LongVariable Avoid excessively long variable names like documentListenerSave 100
LocalVariableCouldBeFinal Local variable 'documentListenerSave' could be declared final 100
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 103
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 115
UseExplicitTypes Use Explicit Types 115
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 118
UseExplicitTypes Use Explicit Types 118

view - com/jsql/view/swing/panel/preferences/PanelConnection.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 14
DataClass The class 'PanelConnection' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=12, WMC=17) 14
LongVariable Avoid excessively long variable names like checkboxIsFollowingRedirection 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 16
LongVariable Avoid excessively long variable names like checkboxIsHttp2Disabled 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 17
LongVariable Avoid excessively long variable names like checkboxIsNotTestingConnection 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 18
LongVariable Avoid excessively long variable names like checkboxIsNotProcessingCookies 19
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 19
LongVariable Avoid excessively long variable names like checkboxIsProcessingCsrf 20
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 20
LongVariable Avoid excessively long variable names like checkboxIsLimitingThreads 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 21
LongVariable Avoid excessively long variable names like checkboxIsConnectionTimeout 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 22
LongVariable Avoid excessively long variable names like checkboxIsUnicodeDecodeDisabled 23
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 23
LongVariable Avoid excessively long variable names like checkboxIsUrlDecodeDisabled 24
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 24
LongVariable Avoid excessively long variable names like spinnerLimitingThreads 26
LongVariable Avoid excessively long variable names like spinnerConnectionTimeout 27
LongVariable Avoid excessively long variable names like checkboxIsCsrfUserTag 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 29
LongVariable Avoid excessively long variable names like textfieldCustomCsrfInputToken 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 30
LongVariable Avoid excessively long variable names like textfieldCustomCsrfOutputToken 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 31
CallSuperInConstructor It is a good practice to call super() in a constructor 33
NcssCount The constructor 'PanelConnection(PanelPreferences)' has a NCSS line count of 74. 33
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 33
LongVariable Avoid excessively long variable names like panelConnectionTimeout 66
LocalVariableCouldBeFinal Local variable 'panelConnectionTimeout' could be declared final 66
UseExplicitTypes Use Explicit Types 66
LongVariable Avoid excessively long variable names like countConnectionTimeout 72
LocalVariableCouldBeFinal Local variable 'countConnectionTimeout' could be declared final 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 72
LongVariable Avoid excessively long variable names like spinnerConnectionModel 73
LocalVariableCouldBeFinal Local variable 'spinnerConnectionModel' could be declared final 73
UseExplicitTypes Use Explicit Types 73
LawOfDemeter Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) 81
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 81
LocalVariableCouldBeFinal Local variable 'panelThreadCount' could be declared final 83
UseExplicitTypes Use Explicit Types 83
LongVariable Avoid excessively long variable names like countLimitingThreads 89
LocalVariableCouldBeFinal Local variable 'countLimitingThreads' could be declared final 89
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 89
LongVariable Avoid excessively long variable names like spinnerNumberModel 90
LocalVariableCouldBeFinal Local variable 'spinnerNumberModel' could be declared final 90
UseExplicitTypes Use Explicit Types 90
LawOfDemeter Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) 98
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 98
LongVariable Avoid excessively long variable names like panelCsrfUserTagInput 105
LocalVariableCouldBeFinal Local variable 'panelCsrfUserTagInput' could be declared final 105
UseExplicitTypes Use Explicit Types 105
LongVariable Avoid excessively long variable names like panelCsrfUserTagOutput 111
LocalVariableCouldBeFinal Local variable 'panelCsrfUserTagOutput' could be declared final 111
UseExplicitTypes Use Explicit Types 111
LawOfDemeter Call to `getDocument` on foreign value `this.textfieldCustomCsrfInputToken` (degree 1) 117
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 120
LawOfDemeter Call to `getDocument` on foreign value `this.textfieldCustomCsrfOutputToken` (degree 1) 123
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 126
LongVariable Avoid excessively long variable names like actionListenerNotProcessingCookies 130
LocalVariableCouldBeFinal Local variable 'actionListenerNotProcessingCookies' could be declared final 130
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 135
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 169
UseExplicitTypes Use Explicit Types 169
LongVariable Avoid excessively long variable names like labelSessionManagement 170
LocalVariableCouldBeFinal Local variable 'labelSessionManagement' could be declared final 170
UseExplicitTypes Use Explicit Types 170
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 174
UseExplicitTypes Use Explicit Types 174

view - com/jsql/view/swing/panel/preferences/PanelExploit.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 16
CallSuperInConstructor It is a good practice to call super() in a constructor 22
LocalVariableCouldBeFinal Local variable 'preferencesUtil' could be declared final 26
UseExplicitTypes Use Explicit Types 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 26
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 27
UseExplicitTypes Use Explicit Types 27
LawOfDemeter Call to `getDocument` on foreign value `PanelExploit.textareaRevshells` (degree 1) 28
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 36
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 55
UseExplicitTypes Use Explicit Types 55
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 59
UseExplicitTypes Use Explicit Types 59

view - 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
LongVariable Avoid excessively long variable names like checkboxIsCheckingUpdate 14
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 14
LongVariable Avoid excessively long variable names like checkboxIsReportingBugs 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 16
CallSuperInConstructor It is a good practice to call super() in a constructor 18
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 18
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 29
UseExplicitTypes Use Explicit Types 29
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 32
UseExplicitTypes Use Explicit Types 32

view - 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
LongVariable Avoid excessively long variable names like checkboxIsNotShowingVulnReport 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 18
LongVariable Avoid excessively long variable names like checkboxIsNotSearchingCharInsertion 19
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 19
LongVariable Avoid excessively long variable names like checkboxIsNotInjectingMetadata 20
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 20
LongVariable Avoid excessively long variable names like checkboxIsParsingForm 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 21
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllParam 23
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 23
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllURLParam 24
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 24
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllRequestParam 25
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 25
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllHeaderParam 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 26
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllBase64Param 27
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 27
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllJSONParam 28
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 28
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllCookieParam 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 29
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllSOAPParam 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 30
LongVariable Avoid excessively long variable names like checkboxIsLimitingUnionIndex 32
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 32
LongVariable Avoid excessively long variable names like spinnerUnionIndexCount 33
LongVariable Avoid excessively long variable names like checkboxIsLimitingSleepTimeStrategy 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 34
LongVariable Avoid excessively long variable names like spinnerSleepTimeStrategyCount 35
LongVariable Avoid excessively long variable names like checkboxIsPerfIndexDisabled 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 37
LongVariable Avoid excessively long variable names like radioIsDefaultStrategy 38
LongVariable Avoid excessively long variable names like radioIsZipStrategy 39
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 39
LongVariable Avoid excessively long variable names like radioIsDiosStrategy 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 40
LongVariable Avoid excessively long variable names like checkboxIsUrlEncodingDisabled 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 41
LongVariable Avoid excessively long variable names like checkboxIsUrlRandomSuffixDisabled 42
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 42
LongVariable Avoid excessively long variable names like textfieldDnsDomain 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 45
CallSuperInConstructor It is a good practice to call super() in a constructor 47
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
LongVariable Avoid excessively long variable names like panelSleepTimeStrategy 86
LocalVariableCouldBeFinal Local variable 'panelSleepTimeStrategy' could be declared final 86
UseExplicitTypes Use Explicit Types 86
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 92
LocalVariableCouldBeFinal Local variable 'countSleepTimeStrategy' could be declared final 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 92
LongVariable Avoid excessively long variable names like spinnerSleepTimeStrategy 93
LocalVariableCouldBeFinal Local variable 'spinnerSleepTimeStrategy' could be declared final 93
UseExplicitTypes Use Explicit Types 93
LawOfDemeter Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) 101
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 101
LongVariable Avoid excessively long variable names like panelIsLimitingUnionIndex 105
LocalVariableCouldBeFinal Local variable 'panelIsLimitingUnionIndex' could be declared final 105
UseExplicitTypes Use Explicit Types 105
LocalVariableCouldBeFinal Local variable 'countUnionIndex' could be declared final 111
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 111
LongVariable Avoid excessively long variable names like spinnerCountUnionIndex 112
LocalVariableCouldBeFinal Local variable 'spinnerCountUnionIndex' could be declared final 112
UseExplicitTypes Use Explicit Types 112
LawOfDemeter Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) 120
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 120
LongVariable Avoid excessively long variable names like labelGeneralInjection 131
LocalVariableCouldBeFinal Local variable 'labelGeneralInjection' could be declared final 131
UseExplicitTypes Use Explicit Types 131
LongVariable Avoid excessively long variable names like labelParamsInjection 132
LocalVariableCouldBeFinal Local variable 'labelParamsInjection' could be declared final 132
UseExplicitTypes Use Explicit Types 132
LocalVariableCouldBeFinal Local variable 'labelSpecial' could be declared final 133
UseExplicitTypes Use Explicit Types 133
LocalVariableCouldBeFinal Local variable 'labelQuerySize' could be declared final 134
UseExplicitTypes Use Explicit Types 134
LocalVariableCouldBeFinal Local variable 'labelDns' could be declared final 135
UseExplicitTypes Use Explicit Types 135
LongVariable Avoid excessively long variable names like actionListenerCheckingAllParam 144
LocalVariableCouldBeFinal Local variable 'actionListenerCheckingAllParam' could be declared final 144
CompareObjectsWithEquals Use equals() to compare object references. 145
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 157
LocalVariableCouldBeFinal Local variable 'panelDnsDomain' could be declared final 189
UseExplicitTypes Use Explicit Types 189
LocalVariableCouldBeFinal Local variable 'panelDnsPort' could be declared final 195
UseExplicitTypes Use Explicit Types 195
LongVariable Avoid excessively long variable names like documentListenerSave 202
LocalVariableCouldBeFinal Local variable 'documentListenerSave' could be declared final 202
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 205
LongVariable Avoid excessively long variable names like groupSpaceToComment 222
LocalVariableCouldBeFinal Local variable 'groupSpaceToComment' could be declared final 222
UseExplicitTypes Use Explicit Types 222
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 227
UseExplicitTypes Use Explicit Types 227

view - 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
LongVariable Avoid excessively long variable names like checkboxIsUsingProxy 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 16
LongVariable Avoid excessively long variable names like checkboxIsUsingProxyHttps 17
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
LongVariable Avoid excessively long variable names like textProxyAddressHttps 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 21
LongVariable Avoid excessively long variable names like textProxyPortHttps 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 22
CallSuperInConstructor It is a good practice to call super() in a constructor 24
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 24
LongVariable Avoid excessively long variable names like panelHttpIpAddress 25
LocalVariableCouldBeFinal Local variable 'panelHttpIpAddress' could be declared final 25
UseExplicitTypes Use Explicit Types 25
LocalVariableCouldBeFinal Local variable 'panelHttpPort' could be declared final 31
UseExplicitTypes Use Explicit Types 31
LongVariable Avoid excessively long variable names like panelHttpsIpAddress 38
LocalVariableCouldBeFinal Local variable 'panelHttpsIpAddress' could be declared final 38
UseExplicitTypes Use Explicit Types 38
LocalVariableCouldBeFinal Local variable 'panelHttpsPort' could be declared final 44
UseExplicitTypes Use Explicit Types 44
LongVariable Avoid excessively long variable names like documentListenerSave 60
LocalVariableCouldBeFinal Local variable 'documentListenerSave' could be declared final 60
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 63
UseExplicitTypes Use Explicit Types 75
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 83
UseExplicitTypes Use Explicit Types 83
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 86
UseExplicitTypes Use Explicit Types 86

view - 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
LongVariable Avoid excessively long variable names like checkboxIsStrategyTimeDisabled 11
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 11
LongVariable Avoid excessively long variable names like checkboxIsStrategyBlindBitDisabled 12
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 12
LongVariable Avoid excessively long variable names like checkboxIsStrategyBlindBinDisabled 13
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 13
LongVariable Avoid excessively long variable names like checkboxIsStrategyMultibitDisabled 14
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 14
LongVariable Avoid excessively long variable names like checkboxIsStrategyDnsDisabled 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 15
LongVariable Avoid excessively long variable names like checkboxIsStrategyErrorDisabled 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 16
LongVariable Avoid excessively long variable names like checkboxIsStrategyStackDisabled 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 17
LongVariable Avoid excessively long variable names like checkboxIsStrategyUnionDisabled 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 18
CallSuperInConstructor It is a good practice to call super() in a constructor 20
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 20
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 42
UseExplicitTypes Use Explicit Types 42
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 45
UseExplicitTypes Use Explicit Types 45

view - 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
LongVariable Avoid excessively long variable names like checkboxIsTamperingBase64 24
LongVariable Avoid excessively long variable names like checkboxIsTamperingVersionComment 25
LongVariable Avoid excessively long variable names like checkboxIsTamperingFunctionComment 26
LongVariable Avoid excessively long variable names like checkboxIsTamperingEqualToLike 27
LongVariable Avoid excessively long variable names like checkboxIsTamperingRandomCase 28
LongVariable Avoid excessively long variable names like checkboxIsTamperingEval 29
LongVariable Avoid excessively long variable names like checkboxIsTamperingHexToChar 30
LongVariable Avoid excessively long variable names like checkboxIsTamperingStringToChar 31
LongVariable Avoid excessively long variable names like checkboxIsTamperingQuoteToUtf8 32
LongVariable Avoid excessively long variable names like checkboxIsTamperingCharToEncoding 33
LongVariable Avoid excessively long variable names like radioIsTamperingSpaceToMultilineComment 34
LongVariable Avoid excessively long variable names like radioIsTamperingSpaceToDashComment 35
LongVariable Avoid excessively long variable names like radioIsTamperingSpaceToSharpComment 36
CallSuperInConstructor It is a good practice to call super() in a constructor 40
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 40
LongVariable Avoid excessively long variable names like textAreaIsTamperingEval 48
LocalVariableCouldBeFinal Local variable 'textAreaIsTamperingEval' could be declared final 48
UseExplicitTypes Use Explicit Types 48
LawOfDemeter Call to `getDocument` on foreign value `PanelTampering.textPaneEval` (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
LongVariable Avoid excessively long variable names like groupSpaceToComment 81
LocalVariableCouldBeFinal Local variable 'groupSpaceToComment' could be declared final 81
UseExplicitTypes Use Explicit Types 81
MethodArgumentCouldBeFinal Parameter 'buttonModel' is not assigned and could be declared final 83
ShortVariable Avoid variables with short names like b 83
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 83
ConfusingTernary Avoid if (x != y) ..; else ..; 8589
LongVariable Avoid excessively long variable names like labelCommonConversion 96
LocalVariableCouldBeFinal Local variable 'labelCommonConversion' could be declared final 96
UseExplicitTypes Use Explicit Types 96
LocalVariableCouldBeFinal Local variable 'labelSpaceTamper' could be declared final 97
UseExplicitTypes Use Explicit Types 97
LongVariable Avoid excessively long variable names like labelCustomConversion 98
LocalVariableCouldBeFinal Local variable 'labelCustomConversion' could be declared final 98
UseExplicitTypes Use Explicit Types 98
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 101
UseExplicitTypes Use Explicit Types 101

view - com/jsql/view/swing/panel/preferences/PanelUserAgent.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 13
LongVariable Avoid excessively long variable names like checkboxIsCustomUserAgent 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 15
CallSuperInConstructor It is a good practice to call super() in a constructor 17
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 17
LocalVariableCouldBeFinal Local variable 'userAgents' could be declared final 18
UseExplicitTypes Use Explicit Types 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 19
LongVariable Avoid excessively long variable names like textfieldCustomUserAgent 23
LocalVariableCouldBeFinal Local variable 'textfieldCustomUserAgent' could be declared final 23
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
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 37
UseExplicitTypes Use Explicit Types 37
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 39
UseExplicitTypes Use Explicit Types 39
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 42
UseExplicitTypes Use Explicit Types 42

view - com/jsql/view/swing/panel/preferences/listener/ActionListenerSave.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 15
ShortVariable Avoid variables with short names like e 20
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
LocalVariableCouldBeFinal Local variable 'isRestartRequired' could be declared final 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 114

view - com/jsql/view/swing/panel/preferences/listener/SpinnerMouseWheelListener.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 7
ShortVariable Avoid variables with short names like e 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 9
LocalVariableCouldBeFinal Local variable 'source' could be declared final 10
LocalVariableCouldBeFinal Local variable 'model' could be declared final 11
LawOfDemeter Call to `getModel` on foreign value `source` (degree 1) 11
LocalVariableCouldBeFinal Local variable 'oldValue' could be declared final 12
LawOfDemeter Call to `getValue` on foreign value `source` (degree 1) 12
LocalVariableCouldBeFinal Local variable 'intValue' could be declared final 13
UseExplicitTypes Use Explicit Types 13
LocalVariableCouldBeFinal Local variable 'max' could be declared final 14
LawOfDemeter Call to `getMaximum` on foreign value `model` (degree 1) 14
LocalVariableCouldBeFinal Local variable 'min' could be declared final 15
LawOfDemeter Call to `getMinimum` on foreign value `model` (degree 1) 15

view - com/jsql/view/swing/panel/preferences/listener/TamperingMouseAdapter.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'eval' 13
CallSuperInConstructor It is a good practice to call super() in a constructor 15
MethodArgumentCouldBeFinal Parameter 'tampering' is not assigned and could be declared final 15
MethodArgumentCouldBeFinal Parameter 'textPaneEval' is not assigned and could be declared final 15
ShortVariable Avoid variables with short names like me 21
ShortVariable Avoid variables with short names like e 28
ShortVariable Avoid variables with short names like e 34

view - com/jsql/view/swing/panel/split/ActionHideShowConsole.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'panel' is not assigned and could be declared final 22
ShortVariable Avoid variables with short names like e 33
LocalVariableCouldBeFinal Local variable 'split' could be declared final 34
UseExplicitTypes Use Explicit Types 34

view - com/jsql/view/swing/panel/split/ActionHideShowResult.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 12
ShortVariable Avoid variables with short names like e 21
LocalVariableCouldBeFinal Local variable 'split' could be declared final 22
UseExplicitTypes Use Explicit Types 22

view - com/jsql/view/swing/panel/split/SplitNS.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 32
LongVariable Avoid excessively long variable names like PANEL_HIDDEN_CONSOLES 39
LongVariable Avoid excessively long variable names like ACTION_HIDE_SHOW_CONSOLE 45
LongVariable Avoid excessively long variable names like ACTION_HIDE_SHOW_RESULT 46
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 54
UseExplicitTypes Use Explicit Types 54
LongVariable Avoid excessively long variable names like verticalLeftRightSplitter 55
LocalVariableCouldBeFinal Local variable 'verticalLeftRightSplitter' could be declared final 55
UseExplicitTypes Use Explicit Types 55
LocalVariableCouldBeFinal Local variable 'tabManagersProxy' could be declared final 56
UseExplicitTypes Use Explicit Types 56
LocalVariableCouldBeFinal Local variable 'labelApp' could be declared final 61
LocalVariableCouldBeFinal Local variable 'labelShowConsoles' could be declared final 66
ShortVariable Avoid variables with short names like e 70
ShortVariable Avoid variables with short names like e 80
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 80
LongVariable Avoid excessively long variable names like panelManagerResult 87
LocalVariableCouldBeFinal Local variable 'panelManagerResult' could be declared final 87
UseExplicitTypes Use Explicit Types 87
LocalVariableCouldBeFinal Local variable 'panelConsoles' could be declared final 92
UseExplicitTypes Use Explicit Types 92
CommentSize Comment is too large: Line too long 100
LocalVariableCouldBeFinal Local variable 'dividerLocation' could be declared final 104

view - com/jsql/view/swing/panel/util/ButtonExpandText.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 24
CallSuperInConstructor It is a good practice to call super() in a constructor 29
MethodArgumentCouldBeFinal Parameter 'sourceTextField' is not assigned and could be declared final 29
LocalVariableCouldBeFinal Local variable 'textAreaInDialog' could be declared final 37
LawOfDemeter Call to `getCaret` on foreign value `textAreaInDialog` (degree 1) 38
LongVariable Avoid excessively long variable names like dialogWithTextarea 40
ShortVariable Avoid variables with short names like e 46
ShortVariable Avoid variables with short names like e 53
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 53
ShortVariable Avoid variables with short names like e 61
MissingOverride The method 'actionPerformed(ActionEvent)' is missing an @Override annotation. 76
ShortVariable Avoid variables with short names like e 76

view - 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
ShortVariable Avoid variables with short names like e 17
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 17
ShortVariable Avoid variables with short names like v 19
LocalVariableCouldBeFinal Local variable 'v' could be declared final 19
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
ShortVariable Avoid variables with short names like e 30
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
ShortVariable Avoid variables with short names like r 35
LocalVariableCouldBeFinal Local variable 'pref' could be declared final 41
LocalVariableCouldBeFinal Local variable 'min' could be declared final 42
ShortVariable Avoid variables with short names like e 56
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 56
MethodArgumentCouldBeFinal Parameter 'axis' is not assigned and could be declared final 65
ShortVariable Avoid variables with short names like p0 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
ShortVariable Avoid variables with short names like p1 70
LocalVariableCouldBeFinal Local variable 'p1' could be declared final 70
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

view - com/jsql/view/swing/popupmenu/JPopupMenuComponent.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 34
CallSuperInConstructor It is a good practice to call super() in a constructor 44
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 44
LocalVariableCouldBeFinal Local variable 'copyItem' could be declared final 47
LocalVariableCouldBeFinal Local variable 'selectAllItem' could be declared final 53
LocalVariableCouldBeFinal Local variable 'clearItem' could be declared final 69
ShortVariable Avoid variables with short names like e 72
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
ShortVariable Avoid variables with short names like e 106
ShortVariable Avoid variables with short names like e 110

view - com/jsql/view/swing/popupmenu/JPopupMenuTable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 27
CallSuperInConstructor It is a good practice to call super() in a constructor 38
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 38
LocalVariableCouldBeFinal Local variable 'copyItem' could be declared final 42
LocalVariableCouldBeFinal Local variable 'selectAllItem' could be declared final 48
ShortVariable Avoid variables with short names like e 61
ShortVariable Avoid variables with short names like e 68
ShortVariable Avoid variables with short names like e 72
MethodArgumentCouldBeFinal Parameter 'tableValues' is not assigned and could be declared final 78
LongVariable Avoid excessively long variable names like actionShowSearchTable 78
MethodArgumentCouldBeFinal Parameter 'actionShowSearchTable' is not assigned and could be declared final 78
LocalVariableCouldBeFinal Local variable 'search' could be declared final 81
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 93
AtLeastOneConstructor Each class should declare at least one constructor 93
ShortVariable Avoid variables with short names like e 95
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 103
AtLeastOneConstructor Each class should declare at least one constructor 103
ShortVariable Avoid variables with short names like e 105
LocalVariableCouldBeFinal Local variable 'copyEvent' could be declared final 106
UseExplicitTypes Use Explicit Types 106

view - com/jsql/view/swing/popupmenu/JPopupMenuText.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 22
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 28
LocalVariableCouldBeFinal Local variable 'cutItem' could be declared final 32
LocalVariableCouldBeFinal Local variable 'pasteItem' could be declared final 38

view - com/jsql/view/swing/sql/JSyntaxTextArea.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 8
CallSuperInConstructor It is a good practice to call super() in a constructor 13
MethodArgumentCouldBeFinal Parameter 'consumer' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'supplier' is not assigned and could be declared final 13

view - 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
LongVariable Avoid excessively long variable names like listTextareasError 33
CommentDefaultAccessModifier Missing commented default access modifier on nested enum 'TextareaWithColor' 35
ExcessivePublicCount This class has a bunch of public methods and attributes 35
LongVariable Avoid excessively long variable names like INCORRECT_STRING_ERROR_MESSAGE 223
LongVariable Avoid excessively long variable names like ORDER_BY_ERROR_MESSAGE 227
CommentDefaultAccessModifier Missing commented default access modifier on field 'textarea' 241
MethodArgumentCouldBeFinal Parameter 'textarea' is not assigned and could be declared final 247
CallSuperInConstructor It is a good practice to call super() in a constructor 252
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
LocalVariableCouldBeFinal Local variable 'panelStructure' could be declared final 258
LocalVariableCouldBeFinal Local variable 'panelFile' could be declared final 259
LocalVariableCouldBeFinal Local variable 'panelStrategy' could be declared final 260
LongVariable Avoid excessively long variable names like panelConfiguration 261
LocalVariableCouldBeFinal Local variable 'panelConfiguration' could be declared final 261
LongVariable Avoid excessively long variable names like panelFingerprinting 262
LocalVariableCouldBeFinal Local variable 'panelFingerprinting' could be declared final 262
LocalVariableCouldBeFinal Local variable 'tabsBottom' could be declared final 264
LocalVariableCouldBeFinal Local variable 'label' could be declared final 275
UseExplicitTypes Use Explicit Types 275
LocalVariableCouldBeFinal Local variable 'panelCombo' could be declared final 285
UseExplicitTypes Use Explicit Types 296
UseExplicitTypes Use Explicit Types 297
UseExplicitTypes Use Explicit Types 298
UseExplicitTypes Use Explicit Types 299
UseExplicitTypes Use Explicit Types 300
UseExplicitTypes Use Explicit Types 301
LocalVariableCouldBeFinal Local variable 'tabsDefault' could be declared final 303
LocalVariableCouldBeFinal Local variable 'label' could be declared final 315
UseExplicitTypes Use Explicit Types 315
LocalVariableCouldBeFinal Local variable 'tabsZip' could be declared final 320
LocalVariableCouldBeFinal Local variable 'label' could be declared final 331
UseExplicitTypes Use Explicit Types 331
LocalVariableCouldBeFinal Local variable 'tabsDios' could be declared final 336
LocalVariableCouldBeFinal Local variable 'label' could be declared final 347
UseExplicitTypes Use Explicit Types 347
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 352
LocalVariableCouldBeFinal Local variable 'label' could be declared final 360
UseExplicitTypes Use Explicit Types 360
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 368
LocalVariableCouldBeFinal Local variable 'tabsBoolean' could be declared final 374
LocalVariableCouldBeFinal Local variable 'label' could be declared final 406
UseExplicitTypes Use Explicit Types 406
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 414
LocalVariableCouldBeFinal Local variable 'label' could be declared final 426
UseExplicitTypes Use Explicit Types 426
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 434
LocalVariableCouldBeFinal Local variable 'label' could be declared final 443
UseExplicitTypes Use Explicit Types 443
LocalVariableCouldBeFinal Local variable 'panelMenuVendor' could be declared final 451
UseExplicitTypes Use Explicit Types 451
LocalVariableCouldBeFinal Local variable 'popupMenuVendors' could be declared final 454
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
LocalVariableCouldBeFinal Local variable 'labelVendor' could be declared final 457
LawOfDemeter Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) 457
ShortVariable Avoid variables with short names like e 461
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 461
LocalVariableCouldBeFinal Local variable 'listVendors' could be declared final 469
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
LocalVariableCouldBeFinal Local variable 'groupVendor' could be declared final 472
UseExplicitTypes Use Explicit Types 472
LocalVariableCouldBeFinal Local variable 'itemRadioVendor' could be declared final 474
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 474477
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
LocalVariableCouldBeFinal Local variable 'methodError' could be declared final 525
LocalVariableCouldBeFinal Local variable 'panelError' could be declared final 526
UseExplicitTypes Use Explicit Types 526
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 526
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 526
LocalVariableCouldBeFinal Local variable 'textareaError' could be declared final 528
UseExplicitTypes Use Explicit Types 528
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 528
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 532
LocalVariableCouldBeFinal Local variable 'panelLimit' could be declared final 534
UseExplicitTypes Use Explicit Types 534
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

view - com/jsql/view/swing/tab/TabHeader.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
ShortVariable Avoid variables with short names like e 42
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 42
LocalVariableCouldBeFinal Local variable 'closeTabNumber' could be declared final 46
ShortVariable Avoid variables with short names like e 51
ShortVariable Avoid variables with short names like e 56
ShortVariable Avoid variables with short names like e 61
ShortVariable Avoid variables with short names like e 66

view - com/jsql/view/swing/tab/TabManagers.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 30
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 32
CallSuperInConstructor It is a good practice to call super() in a constructor 41
LocalVariableCouldBeFinal Local variable 'indexTab' could be declared final 46
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 49
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
LocalVariableCouldBeFinal Local variable 'icon' could be declared final 55
LocalVariableCouldBeFinal Local variable 'keyLabel' could be declared final 56
LocalVariableCouldBeFinal Local variable 'keyTooltip' could be declared final 57
LocalVariableCouldBeFinal Local variable 'tooltipAtomic' could be declared final 58
LocalVariableCouldBeFinal Local variable 'labelTab' could be declared final 59
ShortVariable Avoid variables with short names like e 70
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 71
LawOfDemeter Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) 71

view - com/jsql/view/swing/tab/TabManagersCards.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 25
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 27
CallSuperInConstructor It is a good practice to call super() in a constructor 35
LocalVariableCouldBeFinal Local variable 'managerScanList' could be declared final 40
UseExplicitTypes Use Explicit Types 40
LocalVariableCouldBeFinal Local variable 'managerDatabase' could be declared final 41
UseExplicitTypes Use Explicit Types 41
LocalVariableCouldBeFinal Local variable 'managerAdminPage' could be declared final 42
UseExplicitTypes Use Explicit Types 42
LocalVariableCouldBeFinal Local variable 'managerBruteForce' could be declared final 43
UseExplicitTypes Use Explicit Types 43
LocalVariableCouldBeFinal Local variable 'managers' could be declared final 51
UseExplicitTypes Use Explicit Types 51
ShortVariable Avoid variables with short names like i 55
LocalVariableCouldBeFinal Local variable 'i' could be declared final 55
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

view - com/jsql/view/swing/tab/TabResults.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 11400
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 52
LongVariable Avoid excessively long variable names like TAB_EXPLOIT_FAILURE_INCORRECT_URL 56
CallSuperInConstructor It is a good practice to call super() in a constructor 66
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
LocalVariableCouldBeFinal Local variable 'fileText' could be declared final 79
MethodArgumentCouldBeFinal Parameter 'content' is not assigned and could be declared final 87
LocalVariableCouldBeFinal Local variable 'editorPane' could be declared final 88
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
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 121
UseExplicitTypes Use Explicit Types 121
LocalVariableCouldBeFinal Local variable 'header' could be declared final 125
UseExplicitTypes Use Explicit Types 125
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 131
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 133
UseExplicitTypes Use Explicit Types 133
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 134
UseExplicitTypes Use Explicit Types 134
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
LongVariable Avoid excessively long variable names like panelTerminalWithReverse 143
LocalVariableCouldBeFinal Local variable 'panelTerminalWithReverse' could be declared final 143
LocalVariableCouldBeFinal Local variable 'header' could be declared final 147
UseExplicitTypes Use Explicit Types 147
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 157
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 159
UseExplicitTypes Use Explicit Types 159
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 160
UseExplicitTypes Use Explicit Types 160
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 164
LocalVariableCouldBeFinal Local variable 'header' could be declared final 168
UseExplicitTypes Use Explicit Types 168
MethodArgumentCouldBeFinal Parameter 'biConsumerRunCmd' is not assigned and could be declared final 178
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 180
UseExplicitTypes Use Explicit Types 180
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 181
UseExplicitTypes Use Explicit Types 181
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 183
MethodArgumentCouldBeFinal Parameter 'terminalID' is not assigned and could be declared final 183
LongVariable Avoid excessively long variable names like panelTerminalWithReverse 189
LocalVariableCouldBeFinal Local variable 'panelTerminalWithReverse' could be declared final 189
LocalVariableCouldBeFinal Local variable 'header' could be declared final 193
UseExplicitTypes Use Explicit Types 193
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
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 205
UseExplicitTypes Use Explicit Types 205
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 206
UseExplicitTypes Use Explicit Types 206
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
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 216
LocalVariableCouldBeFinal Local variable 'header' could be declared final 220
UseExplicitTypes Use Explicit Types 220
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
LocalVariableCouldBeFinal Local variable 'panelTable' could be declared final 231
UseExplicitTypes Use Explicit Types 231
LocalVariableCouldBeFinal Local variable 'header' could be declared final 238
UseExplicitTypes Use Explicit Types 238
MethodArgumentCouldBeFinal Parameter 'terminal' is not assigned and could be declared final 244
LongVariable Avoid excessively long variable names like panelTerminalWithReverse 245
LocalVariableCouldBeFinal Local variable 'panelTerminalWithReverse' could be declared final 245
LocalVariableCouldBeFinal Local variable 'overlay' could be declared final 251
LongVariable Avoid excessively long variable names like panelReverseMargin 254
LocalVariableCouldBeFinal Local variable 'panelReverseMargin' could be declared final 254
UseExplicitTypes Use Explicit Types 254
LocalVariableCouldBeFinal Local variable 'menuReverse' could be declared final 259
UseExplicitTypes Use Explicit Types 259
ShortVariable Avoid variables with short names like e 262
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 262
LocalVariableCouldBeFinal Local variable 'popupMenu' could be declared final 263
UseExplicitTypes Use Explicit Types 263
LocalVariableCouldBeFinal Local variable 'scrollerTerminal' could be declared final 270
MethodArgumentCouldBeFinal Parameter 'terminal' is not assigned and could be declared final 282
LocalVariableCouldBeFinal Local variable 'menuReverse' could be declared final 283
LocalVariableCouldBeFinal Local variable 'menuListen' could be declared final 285
UseExplicitTypes Use Explicit Types 285
LongVariable Avoid excessively long variable names like panelPublicAddress 291
LocalVariableCouldBeFinal Local variable 'panelPublicAddress' could be declared final 291
UseExplicitTypes Use Explicit Types 291
LocalVariableCouldBeFinal Local variable 'address' could be declared final 295
UseExplicitTypes Use Explicit Types 295
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 295
LocalVariableCouldBeFinal Local variable 'port' could be declared final 297
UseExplicitTypes Use Explicit Types 297
LongVariable Avoid excessively long variable names like panelServerConnection 300
LocalVariableCouldBeFinal Local variable 'panelServerConnection' could be declared final 300
UseExplicitTypes Use Explicit Types 300
LocalVariableCouldBeFinal Local variable 'buttonGroup' could be declared final 304
UseExplicitTypes Use Explicit Types 304
LocalVariableCouldBeFinal Local variable 'commandsReverse' could be declared final 305
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 305
LocalVariableCouldBeFinal Local variable 'radio' could be declared final 307
UseExplicitTypes Use Explicit Types 307
LocalVariableCouldBeFinal Local variable 'runnableReverse' could be declared final 314
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
LocalVariableCouldBeFinal Local variable 'panelOpenIn' could be declared final 332
UseExplicitTypes Use Explicit Types 332
LocalVariableCouldBeFinal Local variable 'menuBuiltInShell' could be declared final 337
UseExplicitTypes Use Explicit Types 337
LocalVariableCouldBeFinal Local variable 'menuExternalShell' could be declared final 338
UseExplicitTypes Use Explicit Types 338
LocalVariableCouldBeFinal Local variable 'buttonTypeShell' could be declared final 339
UseExplicitTypes Use Explicit Types 339
LocalVariableCouldBeFinal Local variable 'panelCreate' could be declared final 345
UseExplicitTypes Use Explicit Types 345
ShortVariable Avoid variables with short names like e 348
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 352
LocalVariableCouldBeFinal Local variable 'menuConnect' could be declared final 358
UseExplicitTypes Use Explicit Types 358
LongVariable Avoid excessively long variable names like panelServerPublicAddress 364
LocalVariableCouldBeFinal Local variable 'panelServerPublicAddress' could be declared final 364
UseExplicitTypes Use Explicit Types 364
LongVariable Avoid excessively long variable names like panelServerListeningConnection 372
LocalVariableCouldBeFinal Local variable 'panelServerListeningConnection' could be declared final 372
UseExplicitTypes Use Explicit Types 372
LongVariable Avoid excessively long variable names like buttonGroupListening 375
LocalVariableCouldBeFinal Local variable 'buttonGroupListening' could be declared final 375
UseExplicitTypes Use Explicit Types 375
LocalVariableCouldBeFinal Local variable 'radio' could be declared final 377
UseExplicitTypes Use Explicit Types 377
MethodArgumentCouldBeFinal Parameter 'evt' is not assigned and could be declared final 379

view - 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
LocalVariableCouldBeFinal Local variable 'tabPane' could be declared final 21
LocalVariableCouldBeFinal Local variable 'dir' could be declared final 23
LocalVariableCouldBeFinal Local variable 'maxIndex' could be declared final 25
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 38

view - com/jsql/view/swing/tab/TabbedPaneWheeled.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'tabIndex' could be declared final 45
LocalVariableCouldBeFinal Local variable 'tabHeader' could be declared final 51
UseExplicitTypes Use Explicit Types 51

view - com/jsql/view/swing/tab/dnd/DnDTabData.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'tabbedPane' is not assigned and could be declared final 7

view - com/jsql/view/swing/tab/dnd/DnDTabbedPane.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
ShortVariable Avoid variables with short names like p 36
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
LongVariable Avoid excessively long variable names like scrollForwardButton 55
LongVariable Avoid excessively long variable names like scrollBackwardButton 56
LocalVariableCouldBeFinal Local variable 'c' could be declared final 58
LocalVariableCouldBeFinal Local variable 'button' could be declared final 68
ShortVariable Avoid variables with short names like pt 74
MethodArgumentCouldBeFinal Parameter 'pt' is not assigned and could be declared final 74
ShortVariable Avoid variables with short names like r 75
LocalVariableCouldBeFinal Local variable 'r' could be declared final 75
ShortVariable Avoid variables with short names like h 95
LocalVariableCouldBeFinal Local variable 'h' could be declared final 95
UseExplicitTypes Use Explicit Types 95
ShortVariable Avoid variables with short names like p 101
MethodArgumentCouldBeFinal Parameter 'p' is not assigned and could be declared final 101
UseExplicitTypes Use Explicit Types 102
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
LocalVariableCouldBeFinal Local variable 'old' could be declared final 116
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
LocalVariableCouldBeFinal Local variable 'cmp' could be declared final 128
UseExplicitTypes Use Explicit Types 128
LocalVariableCouldBeFinal Local variable 'tab' could be declared final 129
UseExplicitTypes Use Explicit Types 129
LocalVariableCouldBeFinal Local variable 'title' could be declared final 130
LocalVariableCouldBeFinal Local variable 'icon' could be declared final 131
UseExplicitTypes Use Explicit Types 131
LocalVariableCouldBeFinal Local variable 'tip' could be declared final 132
LocalVariableCouldBeFinal Local variable 'isEnabled' could be declared final 133
MethodArgumentCouldBeFinal Parameter 'prev' is not assigned and could be declared final 147
MethodArgumentCouldBeFinal Parameter 'next' is not assigned and could be declared final 147
LocalVariableCouldBeFinal Local variable 'cmp' could be declared final 148
UseExplicitTypes Use Explicit Types 148
LocalVariableCouldBeFinal Local variable 'tab' could be declared final 149
UseExplicitTypes Use Explicit Types 149
LocalVariableCouldBeFinal Local variable 'title' could be declared final 150
LocalVariableCouldBeFinal Local variable 'icon' could be declared final 151
UseExplicitTypes Use Explicit Types 151
LocalVariableCouldBeFinal Local variable 'tip' could be declared final 152
LocalVariableCouldBeFinal Local variable 'isEnabled' could be declared final 153
LocalVariableCouldBeFinal Local variable 'tgtindex' could be declared final 154
CommentSize Comment is too large: Line too long 166
LocalVariableCouldBeFinal Local variable 'index' could be declared final 172
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 179
ShortVariable Avoid variables with short names like a 182
LocalVariableCouldBeFinal Local variable 'a' could be declared final 182
ShortVariable Avoid variables with short names like r 183
LocalVariableCouldBeFinal Local variable 'r' could be declared final 183
LocalVariableCouldBeFinal Local variable 'tabbedRect' could be declared final 195
ShortVariable Avoid variables with short names like xx 196
LocalVariableCouldBeFinal Local variable 'xx' could be declared final 196
ShortVariable Avoid variables with short names like yy 197
LocalVariableCouldBeFinal Local variable 'yy' could be declared final 197
LocalVariableCouldBeFinal Local variable 'compRect' could be declared final 199
LocalVariableCouldBeFinal Local variable 'tabPlacement' could be declared final 203
MethodArgumentCouldBeFinal Parameter 'tabPlacement' is not assigned and could be declared final 221
AtLeastOneConstructor Each class should declare at least one constructor 225
LongVariable Avoid excessively long variable names like gestureMotionThreshold 228
ShortVariable Avoid variables with short names like c 231
LocalVariableCouldBeFinal Local variable 'c' could be declared final 231
LocalVariableCouldBeFinal Local variable 'glassPane' could be declared final 233
ShortVariable Avoid variables with short names like e 241
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 241
LocalVariableCouldBeFinal Local variable 'propertyName' could be declared final 242
AvoidLiteralsInIfCondition Avoid using literals such as "dropLocation" in if statements 243
ShortVariable Avoid variables with short names like e 250
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 250
LocalVariableCouldBeFinal Local variable 'src' could be declared final 251
LocalVariableCouldBeFinal Local variable 'isOnlyOneTab' could be declared final 252
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
LocalVariableCouldBeFinal Local variable 'tabPt' could be declared final 258
UseExplicitTypes Use Explicit Types 258
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 259
LocalVariableCouldBeFinal Local variable 'flag' could be declared final 270
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 272
ShortVariable Avoid variables with short names like e 276
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 276
LocalVariableCouldBeFinal Local variable 'tabPt' could be declared final 277
UseExplicitTypes Use Explicit Types 277
LocalVariableCouldBeFinal Local variable 'src' could be declared final 279
ShortVariable Avoid variables with short names like th 280
LocalVariableCouldBeFinal Local variable 'th' could be declared final 280
UseExplicitTypes Use Explicit Types 280
CommentSize Comment is too large: Line too long 283
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 290
ShortVariable Avoid variables with short names like e 295
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 295
LocalVariableCouldBeFinal Local variable 'tabPt' could be declared final 296
UseExplicitTypes Use Explicit Types 296
LocalVariableCouldBeFinal Local variable 'src' could be declared final 297
ShortVariable Avoid variables with short names like i 299
LocalVariableCouldBeFinal Local variable 'i' could be declared final 299

view - com/jsql/view/swing/tab/dnd/GhostGlassPane.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
CallSuperInConstructor It is a good practice to call super() in a constructor 10
MethodArgumentCouldBeFinal Parameter 'tabbedPane' is not assigned and could be declared final 10
ShortVariable Avoid variables with short names like g 16
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 16
ShortVariable Avoid variables with short names like g2 18
LocalVariableCouldBeFinal Local variable 'g2' could be declared final 18
ShortVariable Avoid variables with short names like r 19
LocalVariableCouldBeFinal Local variable 'r' could be declared final 19
UseExplicitTypes Use Explicit Types 19
MethodArgumentCouldBeFinal Parameter 'tab' is not assigned and could be declared final 27

view - com/jsql/view/swing/tab/dnd/TabTransferHandler.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 18
CallSuperInConstructor It is a good practice to call super() in a constructor 26
ShortVariable Avoid variables with short names like c 31
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
LocalVariableCouldBeFinal Local variable 'tdl' could be declared final 63
UseExplicitTypes Use Explicit Types 63
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 63
ShortVariable Avoid variables with short names like pt 64
LocalVariableCouldBeFinal Local variable 'pt' could be declared final 64
UseExplicitTypes Use Explicit Types 64
LocalVariableCouldBeFinal Local variable 'target' could be declared final 66
LawOfDemeter Call to `getComponent` on foreign value `support` (degree 1) 66
ShortVariable Avoid variables with short names like dl 69
LocalVariableCouldBeFinal Local variable 'dl' could be declared final 69
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 70
UseExplicitTypes Use Explicit Types 72
UnusedAssignment The initializer for variable 'isDroppable' is never used (overwritten on lines 76 and 78) 72
LocalVariableCouldBeFinal Local variable 'isAreaContains' could be declared final 73
CommentSize Comment is too large: Line too long 81
LocalVariableCouldBeFinal Local variable 'cursor' could be declared final 83
LocalVariableCouldBeFinal Local variable 'glassPane' could be declared final 84
MethodArgumentCouldBeFinal Parameter 'tabbedPane' is not assigned and could be declared final 94
LocalVariableCouldBeFinal Local variable 'rect' could be declared final 95
LocalVariableCouldBeFinal Local variable 'image' could be declared final 96
UseExplicitTypes Use Explicit Types 96
ShortVariable Avoid variables with short names like g2 97
LocalVariableCouldBeFinal Local variable 'g2' could be declared final 97
ShortVariable Avoid variables with short names like c 118
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 118
LocalVariableCouldBeFinal Local variable 'src' could be declared final 120
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
LocalVariableCouldBeFinal Local variable 'target' could be declared final 141
LawOfDemeter Call to `getComponent` on foreign value `support` (degree 1) 141
ShortVariable Avoid variables with short names like dl 142
LocalVariableCouldBeFinal Local variable 'dl' could be declared final 142
LawOfDemeter Call to `getDropLocation` on foreign value `target` (degree 1) 142
LocalVariableCouldBeFinal Local variable 'data' could be declared final 145
LawOfDemeter Call to `getTransferData` on foreign value `support.getTransferable()` (degree 2) 145
LawOfDemeter Call to `getTransferable` on foreign value `support` (degree 1) 145
LocalVariableCouldBeFinal Local variable 'src' could be declared final 146
LocalVariableCouldBeFinal Local variable 'index' could be declared final 147
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
ShortVariable Avoid variables with short names like c 163
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 163
LocalVariableCouldBeFinal Local variable 'src' could be declared final 164

view - com/jsql/view/swing/table/ActionCloseSearch.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
CallSuperInConstructor It is a good practice to call super() in a constructor 12
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
ShortVariable Avoid variables with short names like e 20

view - com/jsql/view/swing/table/ActionShowSearch.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 6
CallSuperInConstructor It is a good practice to call super() in a constructor 11
MethodArgumentCouldBeFinal Parameter 'panelSearch' is not assigned and could be declared final 11
MethodArgumentCouldBeFinal Parameter 'textFilter' is not assigned and could be declared final 11
ShortVariable Avoid variables with short names like e 18

view - com/jsql/view/swing/table/AdjusterTableColumn.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 2134
TooManyMethods This class has too many methods, consider refactoring it. 35370
LongVariable Avoid excessively long variable names like isColumnHeaderIncluded 41
LongVariable Avoid excessively long variable names like isColumnDataIncluded 42
LongVariable Avoid excessively long variable names like isOnlyAdjustLarger 43
LongVariable Avoid excessively long variable names like isDynamicAdjustment 44
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
LocalVariableCouldBeFinal Local variable 'tcm' could be declared final 71
LawOfDemeter Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) 71
UseExplicitTypes Use Explicit Types 72
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 81
UseExplicitTypes Use Explicit Types 81
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
LocalVariableCouldBeFinal Local variable 'columnHeaderWidth' could be declared final 86
LocalVariableCouldBeFinal Local variable 'columnDataWidth' could be declared final 87
LocalVariableCouldBeFinal Local variable 'preferredWidth' could be declared final 88
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
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 100
UseExplicitTypes Use Explicit Types 100
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
LocalVariableCouldBeFinal Local variable 'value' could be declared final 101
LawOfDemeter Call to `getDefaultRenderer` on foreign value `this.tableAdjust.getTableHeader()` (degree 1) 104
ShortVariable Avoid variables with short names like c 107
LocalVariableCouldBeFinal Local variable 'c' could be declared final 107
UseExplicitTypes Use Explicit Types 107
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
UseExplicitTypes Use Explicit Types 120
LocalVariableCouldBeFinal Local variable 'maxWidth' could be declared final 121
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
UseExplicitTypes Use Explicit Types 123
MethodArgumentCouldBeFinal Parameter 'row' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 136
LocalVariableCouldBeFinal Local variable 'cellRenderer' could be declared final 138
ShortVariable Avoid variables with short names like c 139
LocalVariableCouldBeFinal Local variable 'c' could be declared final 139
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
UseExplicitTypes Use Explicit Types 152
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
LocalVariableCouldBeFinal Local variable 'tableColumnModel' could be declared final 173
LawOfDemeter Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) 173
UseExplicitTypes Use Explicit Types 174
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 182
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 183
UseExplicitTypes Use Explicit Types 183
LawOfDemeter Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) 183
LocalVariableCouldBeFinal Local variable 'width' could be declared final 184
LawOfDemeter Call to `setWidth` on foreign value `tableColumn` (degree 2) 187
LongVariable Avoid excessively long variable names like isColumnHeaderIncluded 194
MethodArgumentCouldBeFinal Parameter 'isColumnHeaderIncluded' is not assigned and could be declared final 194
LongVariable Avoid excessively long variable names like isColumnDataIncluded 201
MethodArgumentCouldBeFinal Parameter 'isColumnDataIncluded' is not assigned and could be declared final 201
LongVariable Avoid excessively long variable names like isOnlyAdjustLarger 208
MethodArgumentCouldBeFinal Parameter 'isOnlyAdjustLarger' is not assigned and could be declared final 208
LongVariable Avoid excessively long variable names like isDynamicAdjustment 216
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
ShortVariable Avoid variables with short names like e 234
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
ShortVariable Avoid variables with short names like e 251
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 251
LocalVariableCouldBeFinal Local variable 'column' could be declared final 258
LocalVariableCouldBeFinal Local variable 'row' could be declared final 262
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 263
UseExplicitTypes Use Explicit Types 263
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
LocalVariableCouldBeFinal Local variable 'width' could be declared final 265
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
LocalVariableCouldBeFinal Local variable 'action' could be declared final 293
ShortVariable Avoid variables with short names like ks 294
LocalVariableCouldBeFinal Local variable 'ks' could be declared final 294
UseExplicitTypes Use Explicit Types 294
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
LocalVariableCouldBeFinal Local variable 'action' could be declared final 304
ShortVariable Avoid variables with short names like ks 305
LocalVariableCouldBeFinal Local variable 'ks' could be declared final 305
UseExplicitTypes Use Explicit Types 305
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 314
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'ColumnAction' 314
CallSuperInConstructor It is a good practice to call super() in a constructor 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
ShortVariable Avoid variables with short names like e 325
LocalVariableCouldBeFinal Local variable 'columns' could be declared final 328
LocalVariableCouldBeFinal Local variable 'column' could be declared final 330
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 351
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'ToggleAction' 351
CallSuperInConstructor It is a good practice to call super() in a constructor 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
ShortVariable Avoid variables with short names like e 362

view - com/jsql/view/swing/table/ButtonClose.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7

view - com/jsql/view/swing/table/ComparatorColumn.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 16
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
UseExplicitTypes Use Explicit Types 27
UseExplicitTypes Use Explicit Types 28
LocalVariableCouldBeFinal Local variable 'valueCellLeft' could be declared final 30
LocalVariableCouldBeFinal Local variable 'valueCellRight' could be declared final 31
LocalVariableCouldBeFinal Local variable 'sortOrder' could be declared final 44

view - com/jsql/view/swing/table/FixedColumnTable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 1226
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
LocalVariableCouldBeFinal Local variable 'columnClass' could be declared final 72
LocalVariableCouldBeFinal Local variable 'columnModel' could be declared final 91
LawOfDemeter Call to `getColumnModel` on foreign value `this.mainTable` (degree 1) 91
UseExplicitTypes Use Explicit Types 92
LocalVariableCouldBeFinal Local variable 'column' could be declared final 93
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
UseExplicitTypes Use Explicit Types 109
LawOfDemeter Call to `getSelectionModel` on foreign value `this.mainTable` (degree 1) 115
LongVariable Avoid excessively long variable names like listSelectionEvent 115
UseExplicitTypes Use Explicit Types 120
ShortVariable Avoid variables with short names like e 138
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 138
LocalVariableCouldBeFinal Local variable 'viewport' could be declared final 140
ShortVariable Avoid variables with short names like e 148
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

view - com/jsql/view/swing/table/PanelTable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'columnAdjuster' could be declared final 77
UseExplicitTypes Use Explicit Types 77
LocalVariableCouldBeFinal Local variable 'comparatorNumeric' could be declared final 85
UseExplicitTypes Use Explicit Types 86
ShortVariable Avoid variables with short names like e 95
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 95
ShortVariable Avoid variables with short names like p 100
LocalVariableCouldBeFinal Local variable 'p' could be declared final 100
UseExplicitTypes Use Explicit Types 100
LocalVariableCouldBeFinal Local variable 'rowNumber' could be declared final 101
UseExplicitTypes Use Explicit Types 101
LocalVariableCouldBeFinal Local variable 'colNumber' could be declared final 102
UseExplicitTypes Use Explicit Types 102
LocalVariableCouldBeFinal Local variable 'modelRow' could be declared final 103
LawOfDemeter Call to `getSelectionModel` on foreign value `PanelTable.this.tableValues` (degree 1) 103
LocalVariableCouldBeFinal Local variable 'modelColumn' could be declared final 104
LawOfDemeter Call to `getColumnModel` on foreign value `PanelTable.this.tableValues` (degree 1) 104
LongVariable Avoid excessively long variable names like cellRendererHeader 113
LawOfDemeter Call to `getDefaultRenderer` on foreign value `this.tableValues.getTableHeader()` (degree 1) 113
LawOfDemeter Call to `getTableCellRendererComponent` on foreign value `cellRendererHeader` (degree 2) 115122
LongVariable Avoid excessively long variable names like cellRendererDefault 125
UseExplicitTypes Use Explicit Types 125
LocalVariableCouldBeFinal Local variable 'cellValue' could be declared final 130
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 137
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 146
UseExplicitTypes Use Explicit Types 146
LocalVariableCouldBeFinal Local variable 'tableFixedColumn' could be declared final 147
UseExplicitTypes Use Explicit Types 147
UseExplicitTypes Use Explicit Types 153
LongVariable Avoid excessively long variable names like actionShowSearchTable 158
LocalVariableCouldBeFinal Local variable 'actionShowSearchTable' could be declared final 158
LocalVariableCouldBeFinal Local variable 'keySearch' could be declared final 159
LocalVariableCouldBeFinal Local variable 'actionCloseSearch' could be declared final 163
LocalVariableCouldBeFinal Local variable 'keyClose' could be declared final 164
LawOfDemeter Call to `getDocument` on foreign value `textFilter` (degree 1) 169
LocalVariableCouldBeFinal Local variable 'text' could be declared final 171
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 172
ShortVariable Avoid variables with short names like e 179
ShortVariable Avoid variables with short names like e 183
ShortVariable Avoid variables with short names like e 187
LocalVariableCouldBeFinal Local variable 'buttonCloseSearch' could be declared final 194
LocalVariableCouldBeFinal Local variable 'forward' could be declared final 211
LocalVariableCouldBeFinal Local variable 'backward' could be declared final 217
LocalVariableCouldBeFinal Local variable 'actionEvent' could be declared final 235
UseExplicitTypes Use Explicit Types 235

view - com/jsql/view/swing/table/RowHeaderRenderer.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 7
CallSuperInConstructor It is a good practice to call super() in a constructor 9
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 15

view - com/jsql/view/swing/terminal/AbstractExploit.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 38
RedundantFieldInitializer Avoid using redundant field initializer for 'loginPassword' 55
CommentSize Comment is too large: Line too long 76
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
CallSuperInConstructor It is a good practice to call super() in a constructor 83
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
LocalVariableCouldBeFinal Local variable 'url' could be declared final 88
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
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 146
UseExplicitTypes Use Explicit Types 146
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
ShortVariable Avoid variables with short names like l 200
MethodArgumentCouldBeFinal Parameter 'offset' is not assigned and could be declared final 209
LocalVariableCouldBeFinal Local variable 'errorMsg' could be declared final 210
UseExplicitTypes Use Explicit Types 210
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 211
UseExplicitTypes Use Explicit Types 211
LocalVariableCouldBeFinal Local variable 'map' could be declared final 218
UseExplicitTypes Use Explicit Types 218
LawOfDemeter Call to `getDefaultRootElement` on foreign value `doc` (degree 1) 218
MethodArgumentCouldBeFinal Parameter 'line' is not assigned and could be declared final 228
LocalVariableCouldBeFinal Local variable 'map' could be declared final 229
UseExplicitTypes Use Explicit Types 229
LawOfDemeter Call to `getDefaultRootElement` on foreign value `this.getDocument()` (degree 1) 229
LocalVariableCouldBeFinal Local variable 'lineElem' could be declared final 236
UseExplicitTypes Use Explicit Types 236
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

view - com/jsql/view/swing/terminal/EmptyFocusCopy.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'abstractExploit' is not assigned and could be declared final 24
ShortVariable Avoid variables with short names like e 29
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 29
LawOfDemeter Call to `getDocument` on foreign value `this.abstractExploit` (degree 1) 32
LocalVariableCouldBeFinal Local variable 'data' could be declared final 40
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
ShortVariable Avoid variables with short names like e 48
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 48
ShortVariable Avoid variables with short names like e 53
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 53
ShortVariable Avoid variables with short names like e 58
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 58
ShortVariable Avoid variables with short names like e 63
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 63

view - com/jsql/view/swing/terminal/ExploitReverseShell.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 24
CommentSize Comment is too large: Line too long 32
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

view - com/jsql/view/swing/terminal/ServerInput.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for 'serverSocket' 9
LongVariable Avoid excessively long variable names like serverInputConnection 11
LongVariable Avoid excessively long variable names like exploitReverseShell 12
LongVariable Avoid excessively long variable names like exploitReverseShell 14
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
LocalVariableCouldBeFinal Local variable 'clientSocket' could be declared final 22
CommentDefaultAccessModifier Missing commented default access modifier on method 'close()' 27

view - com/jsql/view/swing/terminal/ServerInputConnection.java

Rule Violation Line
LongVariable Avoid excessively long variable names like exploitReverseShell 21
LongVariable Avoid excessively long variable names like exploitReverseShell 25
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
LocalVariableCouldBeFinal Local variable 'readerThread' could be declared final 36
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
LongVariable Avoid excessively long variable names like commandWithoutPrompt 62
LocalVariableCouldBeFinal Local variable 'commandWithoutPrompt' could be declared final 62
UseExplicitTypes Use Explicit Types 62
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 63
LocalVariableCouldBeFinal Local variable 'length' could be declared final 69
LocalVariableCouldBeFinal Local variable 'buffer' could be declared final 70
ConfusingTernary Avoid if (x != y) ..; else ..; 7480
LocalVariableCouldBeFinal Local variable 'result' could be declared final 75
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 75
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 94

view - com/jsql/view/swing/terminal/util/BlockCaret.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 25
CallSuperInConstructor It is a good practice to call super() in a constructor 32
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 37
ShortVariable Avoid variables with short names like r 37
MethodArgumentCouldBeFinal Parameter 'r' is not assigned and could be declared final 37
ShortVariable Avoid variables with short names like g 64
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 64
LocalVariableCouldBeFinal Local variable 'comp' could be declared final 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 67
LocalVariableCouldBeFinal Local variable 'dot' could be declared final 70
ShortVariable Avoid variables with short names like r 71
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

view - com/jsql/view/swing/terminal/util/KeyAdapterTerminal.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
LongVariable Avoid excessively long variable names like indexCommandsHistory 49
RedundantFieldInitializer Avoid using redundant field initializer for 'indexCommandsHistory' 49
CallSuperInConstructor It is a good practice to call super() in a constructor 55
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
LocalVariableCouldBeFinal Local variable 'root' could be declared final 62
UseExplicitTypes Use Explicit Types 62
LawOfDemeter Call to `getDocument` on foreign value `this.terminal` (degree 1) 62
LocalVariableCouldBeFinal Local variable 'caretPosition' could be declared final 63
LocalVariableCouldBeFinal Local variable 'lineNumber' could be declared final 64
LocalVariableCouldBeFinal Local variable 'command' could be declared final 72
UseExplicitTypes Use Explicit Types 72
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
LocalVariableCouldBeFinal Local variable 'newCaretPosition' could be declared final 126
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
LocalVariableCouldBeFinal Local variable 'terminalCommand' could be declared final 203
LawOfDemeter Call to `getDocument` on foreign value `terminalCommand` (degree 1) 207

view - com/jsql/view/swing/text/DecoratorJComponent.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110

view - com/jsql/view/swing/text/JPasswordFieldPlaceholder.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 14
CallSuperInConstructor It is a good practice to call super() in a constructor 27
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 27
ShortVariable Avoid variables with short names like g 32
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 32
CommentSize Comment is too large: Line too long 35
ShortVariable Avoid variables with short names like h 39
LocalVariableCouldBeFinal Local variable 'h' could be declared final 39
ShortVariable Avoid variables with short names like fm 40
LocalVariableCouldBeFinal Local variable 'fm' could be declared final 40
UseExplicitTypes Use Explicit Types 40
LawOfDemeter Call to `getFontMetrics` on foreign value `g` (degree 1) 40
MethodArgumentCouldBeFinal Parameter 'placeholderText' is not assigned and could be declared final 46

view - com/jsql/view/swing/text/JPopupComponent.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 24
CallSuperInConstructor It is a good practice to call super() in a constructor 35
ShortVariable Avoid variables with short names like e 40
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 40

view - com/jsql/view/swing/text/JPopupTextArea.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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

view - com/jsql/view/swing/text/JPopupTextComponent.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 31
LocalVariableCouldBeFinal Local variable 'undoRedoManager' could be declared final 45
UseExplicitTypes Use Explicit Types 45
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 46
UseExplicitTypes Use Explicit Types 46
LawOfDemeter Call to `getDocument` on foreign value `this.getProxy()` (degree 1) 46
UseExplicitTypes Use Explicit Types 57
UseExplicitTypes Use Explicit Types 78
LocalVariableCouldBeFinal Local variable 'actionMap' could be declared final 98
UseExplicitTypes Use Explicit Types 98

view - com/jsql/view/swing/text/JPopupTextField.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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

view - com/jsql/view/swing/text/JPopupTextPane.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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

view - com/jsql/view/swing/text/JTextAreaPlaceholder.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 15
CallSuperInConstructor It is a good practice to call super() in a constructor 28
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 28
ShortVariable Avoid variables with short names like g 34
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

view - 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

view - 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
CallSuperInConstructor It is a good practice to call super() in a constructor 38
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
ShortVariable Avoid variables with short names like g 48
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 48
CommentSize Comment is too large: Line too long 49
ShortVariable Avoid variables with short names like h 57
LocalVariableCouldBeFinal Local variable 'h' could be declared final 57
ShortVariable Avoid variables with short names like fm 58
LocalVariableCouldBeFinal Local variable 'fm' could be declared final 58
UseExplicitTypes Use Explicit Types 58
LawOfDemeter Call to `getFontMetrics` on foreign value `g` (degree 1) 58
MethodArgumentCouldBeFinal Parameter 'placeholderText' is not assigned and could be declared final 64

view - com/jsql/view/swing/text/JTextPanePlaceholder.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 17
CallSuperInConstructor It is a good practice to call super() in a constructor 30
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 30
ShortVariable Avoid variables with short names like g 36
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 36
MethodArgumentCouldBeFinal Parameter 'placeholderText' is not assigned and could be declared final 53

view - 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

view - com/jsql/view/swing/text/JToolTipI18n.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 9
CallSuperInConstructor It is a good practice to call super() in a constructor 13
MethodArgumentCouldBeFinal Parameter 'textTooltip' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'textTooltip' is not assigned and could be declared final 17

view - com/jsql/view/swing/text/SyntaxTextArea.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 17
CallSuperInConstructor It is a good practice to call super() in a constructor 27
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 27
ShortVariable Avoid variables with short names like g 46
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

view - 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
LocalVariableCouldBeFinal Local variable 'target' could be declared final 36
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 43
UseExplicitTypes Use Explicit Types 43
LocalVariableCouldBeFinal Local variable 'caret' could be declared final 44
UseExplicitTypes Use Explicit Types 44
LawOfDemeter Call to `getCaret` on foreign value `target` (degree 1) 44
LocalVariableCouldBeFinal Local variable 'dot' could be declared final 45
LocalVariableCouldBeFinal Local variable 'mark' could be declared final 46
ConfusingTernary Avoid if (x != y) ..; else ..; 4852
LawOfDemeter Call to `remove` on foreign value `doc` (degree 2) 49

view - 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
UseExplicitTypes Use Explicit Types 24
LocalVariableCouldBeFinal Local variable 'dotChars' could be declared final 28
ShortVariable Avoid variables with short names like c0 29
LocalVariableCouldBeFinal Local variable 'c0' could be declared final 29
UseExplicitTypes Use Explicit Types 29
ShortVariable Avoid variables with short names like c1 30
LocalVariableCouldBeFinal Local variable 'c1' could be declared final 30
UseExplicitTypes Use Explicit Types 30
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3234

view - 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
UseExplicitTypes Use Explicit Types 24
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 26
LocalVariableCouldBeFinal Local variable 'dotChars' could be declared final 28
ShortVariable Avoid variables with short names like c0 29
LocalVariableCouldBeFinal Local variable 'c0' could be declared final 29
UseExplicitTypes Use Explicit Types 29
ShortVariable Avoid variables with short names like c1 30
LocalVariableCouldBeFinal Local variable 'c1' could be declared final 30
UseExplicitTypes Use Explicit Types 30
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3234

view - 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
ShortVariable Avoid variables with short names like e 25
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 25
LocalVariableCouldBeFinal Local variable 'target' could be declared final 27
LocalVariableCouldBeFinal Local variable 'caret' could be declared final 31
UseExplicitTypes Use Explicit Types 31
LawOfDemeter Call to `getCaret` on foreign value `target` (degree 1) 31
LocalVariableCouldBeFinal Local variable 'dot' could be declared final 32
LocalVariableCouldBeFinal Local variable 'mark' could be declared final 33
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 38
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 43
UseExplicitTypes Use Explicit Types 43
LawOfDemeter Call to `getDocument` on foreign value `target` (degree 1) 43

view - com/jsql/view/swing/text/listener/DocumentListenerEditing.java

Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 11
ShortVariable Avoid variables with short names like e 16
ShortVariable Avoid variables with short names like e 21
ShortVariable Avoid variables with short names like e 26

view - com/jsql/view/swing/tree/CellEditorNode.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 33
LongVariable Avoid excessively long variable names like defaultTreeRenderer 40
CallSuperInConstructor It is a good practice to call super() in a constructor 51
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
LocalVariableCouldBeFinal Local variable 'componentRenderer' could be declared final 66
UseExplicitTypes Use Explicit Types 66
LocalVariableCouldBeFinal Local variable 'currentNodeModel' could be declared final 71
UseExplicitTypes Use Explicit Types 71
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
LongVariable Avoid excessively long variable names like treeSelectionEvent 91
LocalVariableCouldBeFinal Local variable 'node' could be declared final 92
LawOfDemeter Call to `getLastSelectedPathComponent` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 92
LocalVariableCouldBeFinal Local variable 'dataModel' could be declared final 98
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
LocalVariableCouldBeFinal Local variable 'tree' could be declared final 114
LocalVariableCouldBeFinal Local variable 'path' could be declared final 115
LocalVariableCouldBeFinal Local variable 'currentTableNode' could be declared final 120
LawOfDemeter Call to `getLastPathComponent` on foreign value `path` (degree 1) 120
LocalVariableCouldBeFinal Local variable 'currentTableModel' could be declared final 122
LawOfDemeter Call to `getUserObject` on foreign value `currentTableNode` (degree 1) 122
ShortVariable Avoid variables with short names like e 130
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 130
ShortVariable Avoid variables with short names like e 135
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 135
ShortVariable Avoid variables with short names like e 140
ShortVariable Avoid variables with short names like e 145
ShortVariable Avoid variables with short names like e 150

view - com/jsql/view/swing/tree/CellRendererNode.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 29
LocalVariableCouldBeFinal Local variable 'userObject' could be declared final 30
UseExplicitTypes Use Explicit Types 30
LawOfDemeter Call to `getUserObject` on foreign value `currentNode` (degree 1) 30
LocalVariableCouldBeFinal Local variable 'dataModel' could be declared final 31

view - com/jsql/view/swing/tree/ImageOverlap.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
CommentSize Comment is too large: Line too long 25
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
ShortVariable Avoid variables with short names like c 47
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 47
ShortVariable Avoid variables with short names like g 47
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 47
ShortVariable Avoid variables with short names like x 47
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 47
ShortVariable Avoid variables with short names like y 47
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 47
LocalVariableCouldBeFinal Local variable 'bufferedImage' could be declared final 50
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 51

view - com/jsql/view/swing/tree/PanelNode.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 31
CommentSize Comment is too large: Line too long 44
CallSuperInConstructor It is a good practice to call super() in a constructor 59
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 91
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
ShortVariable Avoid variables with short names like e 110
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 111
LawOfDemeter Call to `getUserObject` on foreign value `currentNode` (degree 1) 111
LocalVariableCouldBeFinal Local variable 'keyAdapterF2' could be declared final 118
ShortVariable Avoid variables with short names like e 120
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 120
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 121
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

view - com/jsql/view/swing/tree/ProgressBarPausable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'bufferedImage' could be declared final 49
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 50

view - 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. 24202
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
LocalVariableCouldBeFinal Local variable 'model' could be declared final 41
LocalVariableCouldBeFinal Local variable 'root' could be declared final 42
LawOfDemeter Call to `getRoot` on foreign value `model` (degree 1) 42
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 51
LocalVariableCouldBeFinal Local variable 'root' could be declared final 52
LawOfDemeter Call to `getRoot` on foreign value `treeModel` (degree 1) 52
MethodArgumentCouldBeFinal Parameter 'columns' is not assigned and could be declared final 61
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 62
LocalVariableCouldBeFinal Local variable 'column' could be declared final 66
LocalVariableCouldBeFinal Local variable 'newTreeNodeModel' could be declared final 67
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 67
LocalVariableCouldBeFinal Local variable 'newNode' could be declared final 68
UseExplicitTypes Use Explicit Types 68
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
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 84
LocalVariableCouldBeFinal Local variable 'root' could be declared final 85
LawOfDemeter Call to `getRoot` on foreign value `treeModel` (degree 1) 85
LocalVariableCouldBeFinal Local variable 'database' could be declared final 88
LocalVariableCouldBeFinal Local variable 'newTreeNodeModel' could be declared final 89
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 89
LocalVariableCouldBeFinal Local variable 'newNode' could be declared final 90
UseExplicitTypes Use Explicit Types 90
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 90
MethodArgumentCouldBeFinal Parameter 'tables' is not assigned and could be declared final 103
LocalVariableCouldBeFinal Local variable 'table' could be declared final 106
LocalVariableCouldBeFinal Local variable 'newTreeNodeModel' could be declared final 107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 107
LocalVariableCouldBeFinal Local variable 'newNode' could be declared final 108
UseExplicitTypes Use Explicit Types 108
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 108
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 114
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
LocalVariableCouldBeFinal Local variable 'node' could be declared final 129
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 131
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 131
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 131
LongVariable Avoid excessively long variable names like dataElementDatabase 138
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 138
LocalVariableCouldBeFinal Local variable 'node' could be declared final 139
CommentSize Comment is too large: Line too long 140
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 142
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 142
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 142
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 145
LongVariable Avoid excessively long variable names like dataElementDatabase 150
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 150
LocalVariableCouldBeFinal Local variable 'node' could be declared final 152
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 154
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 154
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 154
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 158
LongVariable Avoid excessively long variable names like dataElementDatabase 163
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 163
LocalVariableCouldBeFinal Local variable 'node' could be declared final 164
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 167
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 167
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 167
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 169
LongVariable Avoid excessively long variable names like dataElementDatabase 174
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 174
LocalVariableCouldBeFinal Local variable 'node' could be declared final 175
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 178
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 178
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 178
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 183
LongVariable Avoid excessively long variable names like dataElementDatabase 188
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 188
MethodArgumentCouldBeFinal Parameter 'dataCount' is not assigned and could be declared final 188
LocalVariableCouldBeFinal Local variable 'node' could be declared final 189
CommentSize Comment is too large: Line too long 190
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 192
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 192
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 192
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 194

view - com/jsql/view/swing/tree/action/ActionCheckAll.java

Rule Violation Line
LongVariable Avoid excessively long variable names like isCheckboxesSelected 18
LongVariable Avoid excessively long variable names like isCheckboxesSelected 21
MethodArgumentCouldBeFinal Parameter 'isCheckboxesSelected' is not assigned and could be declared final 21
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 21
LocalVariableCouldBeFinal Local variable 'currentTableNode' could be declared final 28
LawOfDemeter Call to `getLastPathComponent` on foreign value `this.path` (degree 1) 28
LocalVariableCouldBeFinal Local variable 'currentTableModel' could be declared final 29
LawOfDemeter Call to `getUserObject` on foreign value `currentTableNode` (degree 1) 29
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 30
LawOfDemeter Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 30
LocalVariableCouldBeFinal Local variable 'tableChildCount' could be declared final 31
UseExplicitTypes Use Explicit Types 32
LocalVariableCouldBeFinal Local variable 'currentChild' could be declared final 33
LongVariable Avoid excessively long variable names like columnTreeNodeModel 35
LocalVariableCouldBeFinal Local variable 'columnTreeNodeModel' could be declared final 35
LawOfDemeter Call to `getUserObject` on foreign value `currentChild` (degree 1) 35

view - 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
LocalVariableCouldBeFinal Local variable 'columnCheckBox' could be declared final 27
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 30
LawOfDemeter Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 30
LocalVariableCouldBeFinal Local variable 'tableNode' could be declared final 31
LocalVariableCouldBeFinal Local variable 'tableChildCount' could be declared final 33
LongVariable Avoid excessively long variable names like isOneChildSelected 34
UseExplicitTypes Use Explicit Types 34
UseExplicitTypes Use Explicit Types 36
LocalVariableCouldBeFinal Local variable 'currentChild' could be declared final 37
LongVariable Avoid excessively long variable names like columnTreeNodeModel 39
LocalVariableCouldBeFinal Local variable 'columnTreeNodeModel' could be declared final 39
LawOfDemeter Call to `getUserObject` on foreign value `currentChild` (degree 1) 39
LocalVariableCouldBeFinal Local variable 'nodeUserObject' could be declared final 47
LawOfDemeter Call to `getUserObject` on foreign value `tableNode` (degree 1) 47

view - com/jsql/view/swing/tree/action/ActionLoadStop.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'nodeModel' is not assigned and could be declared final 34
MethodArgumentCouldBeFinal Parameter 'currentTableNode' is not assigned and could be declared final 34
ShortVariable Avoid variables with short names like e 40
ConfusingTernary Avoid if (x != y) ..; else ..; 4549
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
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 65
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 65
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 75
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 79
LawOfDemeter Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 79
LocalVariableCouldBeFinal Local variable 'tableNode' could be declared final 80
LocalVariableCouldBeFinal Local variable 'tableChildCount' could be declared final 83
UseExplicitTypes Use Explicit Types 84
LocalVariableCouldBeFinal Local variable 'currentChild' could be declared final 85
LongVariable Avoid excessively long variable names like columnTreeNodeModel 87
LocalVariableCouldBeFinal Local variable 'columnTreeNodeModel' could be declared final 87
LawOfDemeter Call to `getUserObject` on foreign value `currentChild` (degree 1) 87
LawOfDemeter Call to `getElementDatabase` on foreign value `columnTreeNodeModel` (degree 1) 89

view - com/jsql/view/swing/tree/action/ActionPauseUnpause.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'nodeModel' is not assigned and could be declared final 27
ShortVariable Avoid variables with short names like e 32
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 33
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 33

view - 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
ShortVariable Avoid variables with short names like x 12
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 12
ShortVariable Avoid variables with short names like y 12
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 12
LocalVariableCouldBeFinal Local variable 'abstractButton' could be declared final 14
LocalVariableCouldBeFinal Local variable 'model' could be declared final 15
LocalVariableCouldBeFinal Local variable 'isSelected' could be declared final 17
LocalVariableCouldBeFinal Local variable 'isEnabled' could be declared final 18
LocalVariableCouldBeFinal Local variable 'isPressed' could be declared final 19
LocalVariableCouldBeFinal Local variable 'isArmed' could be declared final 20
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

view - 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
LongVariable Avoid excessively long variable names like buttonGroupLoadRows 7
LongVariable Avoid excessively long variable names like radioCustomFromRow 8
LongVariable Avoid excessively long variable names like radioCustomFromChar 10
LongVariable Avoid excessively long variable names like buttonGroupLoadRows 18
MethodArgumentCouldBeFinal Parameter 'buttonGroupLoadRows' is not assigned and could be declared final 18
LongVariable Avoid excessively long variable names like radioCustomFromRow 26
MethodArgumentCouldBeFinal Parameter 'radioCustomFromRow' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'radioCustomToRow' is not assigned and could be declared final 34
LongVariable Avoid excessively long variable names like radioCustomFromChar 42
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

view - com/jsql/view/swing/tree/model/AbstractNodeModel.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
GodClass Possible God Class (WMC=56, ATFD=71, TCC=10.115%) 40
TooManyMethods This class has too many methods, consider refactoring it. 40424
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
LongVariable Avoid excessively long variable names like isAnyCheckboxSelected 74
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
ShortVariable Avoid variables with short names like e 146
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 146
LocalVariableCouldBeFinal Local variable 'popupMenu' could be declared final 147
UseExplicitTypes Use Explicit Types 147
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 148
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 148
ShortVariable Avoid variables with short names like e 156
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
LocalVariableCouldBeFinal Local variable 'textReload' could be declared final 176
LocalVariableCouldBeFinal Local variable 'menuItemReload' could be declared final 186
LocalVariableCouldBeFinal Local variable 'menuItemRename' could be declared final 190
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 193
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
LocalVariableCouldBeFinal Local variable 'menuItemLoad' could be declared final 212
LocalVariableCouldBeFinal Local variable 'menuItemPause' could be declared final 223
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
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 249
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 264
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
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 285
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
LocalVariableCouldBeFinal Local variable 'nodeLabel' could be declared final 294
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
LocalVariableCouldBeFinal Local variable 'dataCount' could be declared final 341
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 347
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
LongVariable Avoid excessively long variable names like isAnyCheckboxSelected 393
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

view - com/jsql/view/swing/tree/model/NodeModelColumn.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 30
LocalVariableCouldBeFinal Local variable 'checkbox' could be declared final 38
UseExplicitTypes Use Explicit Types 38

view - com/jsql/view/swing/tree/model/NodeModelDatabase.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 56
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
LocalVariableCouldBeFinal Local variable 'selectedDatabase' could be declared final 68
UseExplicitTypes Use Explicit Types 68
LawOfDemeter Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) 69

view - com/jsql/view/swing/tree/model/NodeModelEmpty.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 42
LocalVariableCouldBeFinal Local variable 'panelEmpty' could be declared final 43
UseExplicitTypes Use Explicit Types 43
LocalVariableCouldBeFinal Local variable 'labelEmpty' could be declared final 44
UseExplicitTypes Use Explicit Types 44
LawOfDemeter Call to `getUserObject` on foreign value `currentNode` (degree 1) 44
ShortVariable Avoid variables with short names like e 73

view - com/jsql/view/swing/tree/model/NodeModelTable.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 58
LocalVariableCouldBeFinal Local variable 'treeNode' could be declared final 73
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 76
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
LocalVariableCouldBeFinal Local variable 'selectedTable' could be declared final 83
UseExplicitTypes Use Explicit Types 83
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
LocalVariableCouldBeFinal Local variable 'menuCustomLoad' could be declared final 99
UseExplicitTypes Use Explicit Types 99
LongVariable Avoid excessively long variable names like buttonGroupLoadRows 101
LocalVariableCouldBeFinal Local variable 'buttonGroupLoadRows' could be declared final 101
UseExplicitTypes Use Explicit Types 101
LongVariable Avoid excessively long variable names like menuItemLoadAllRows 103
LocalVariableCouldBeFinal Local variable 'menuItemLoadAllRows' could be declared final 103
LongVariable Avoid excessively long variable names like menuItemLoadOneRow 104
LocalVariableCouldBeFinal Local variable 'menuItemLoadOneRow' could be declared final 104
LocalVariableCouldBeFinal Local variable 'menuItemDump' could be declared final 105
LongVariable Avoid excessively long variable names like panelCustomFromRow 107
LocalVariableCouldBeFinal Local variable 'panelCustomFromRow' could be declared final 107
UseExplicitTypes Use Explicit Types 107
LongVariable Avoid excessively long variable names like inputCustomFromRow 108
AvoidDuplicateLiterals The String literal "no." appears 4 times in this file; the first occurrence is on line 108 108
ShortVariable Avoid variables with short names like d 110
LocalVariableCouldBeFinal Local variable 'd' could be declared final 110
UseExplicitTypes Use Explicit Types 110
LongVariable Avoid excessively long variable names like radioCustomFromRow 116
UseExplicitTypes Use Explicit Types 116
LocalVariableCouldBeFinal Local variable 'panelCustomToRow' could be declared final 124
UseExplicitTypes Use Explicit Types 124
UseExplicitTypes Use Explicit Types 129
LongVariable Avoid excessively long variable names like panelCustomFromChar 137
LocalVariableCouldBeFinal Local variable 'panelCustomFromChar' could be declared final 137
UseExplicitTypes Use Explicit Types 137
LongVariable Avoid excessively long variable names like inputCustomFromChar 138
LongVariable Avoid excessively long variable names like radioCustomFromChar 142
UseExplicitTypes Use Explicit Types 142
LocalVariableCouldBeFinal Local variable 'panelCustomToChar' could be declared final 150
UseExplicitTypes Use Explicit Types 150
UseExplicitTypes Use Explicit Types 155
MethodArgumentCouldBeFinal Parameter 'tablePopupMenu' is not assigned and could be declared final 186
LocalVariableCouldBeFinal Local variable 'menuItemCheckAll' could be declared final 187
LongVariable Avoid excessively long variable names like menuItemUncheckAll 190
LocalVariableCouldBeFinal Local variable 'menuItemUncheckAll' could be declared final 190

view - com/jsql/view/swing/util/I18nViewUtil.java

Rule Violation Line
LongVariable Avoid excessively long variable names like componentsLocalized 21
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 21
LocalVariableCouldBeFinal Local variable 'keyI18n' could be declared final 25
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
LocalVariableCouldBeFinal Local variable 'classHandlers' could be declared final 54
LocalVariableCouldBeFinal Local variable 'key' could be declared final 64
LocalVariableCouldBeFinal Local variable 'component' could be declared final 65
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

view - com/jsql/view/swing/util/JSplitPaneWithZeroSizeDivider.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 9
LongVariable Avoid excessively long variable names like DIVIDER_DRAG_OFFSET 11
ShortVariable Avoid variables with short names like i 13
MethodArgumentCouldBeFinal Parameter 'i' is not assigned and could be declared final 13
LocalVariableCouldBeFinal Local variable 'divider' could be declared final 24
LawOfDemeter Call to `getDivider` on foreign value `(BasicSplitPaneUI) this.getUI()` (degree 1) 24
LocalVariableCouldBeFinal Local variable 'bounds' could be declared final 25
LocalVariableCouldBeFinal Local variable 'dividerDragSize' could be declared final 26
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
CommentSize Comment is too large: Line too long 54
CompareObjectsWithEquals Use equals() to compare object references. 55
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 62
ShortVariable Avoid variables with short names like ui 64
MethodArgumentCouldBeFinal Parameter 'ui' is not assigned and could be declared final 64
ShortVariable Avoid variables with short names like g 76
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

view - com/jsql/view/swing/util/MediatorHelper.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 17156
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

view - 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

view - 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
ShortVariable Avoid variables with short names like a 20
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 20
ShortVariable Avoid variables with short names like e 25
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 25
ShortVariable Avoid variables with short names like e 31
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 31
ShortVariable Avoid variables with short names like m 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

view - 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
LocalVariableCouldBeFinal Local variable 'detector' could be declared final 29
UseExplicitTypes Use Explicit Types 29
LocalVariableCouldBeFinal Local variable 'encoding' could be declared final 43

view - com/jsql/view/swing/util/UiUtil.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 110
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
LongVariable Avoid excessively long variable names like FONT_NAME_MONO_NON_ASIAN 121
LongVariable Avoid excessively long variable names like FONT_SIZE_MONO_NON_ASIAN 122
LongVariable Avoid excessively long variable names like FONT_NAME_MONO_ASIAN 123
LongVariable Avoid excessively long variable names like FONT_SIZE_MONO_ASIAN 124
LongVariable Avoid excessively long variable names like FONT_NAME_MONOSPACED 129
LongVariable Avoid excessively long variable names like FONT_MONO_NON_ASIAN 132
LongVariable Avoid excessively long variable names like FONT_MONO_ASIAN_BIG 144
LongVariable Avoid excessively long variable names like graphicsEnvironment 178
LocalVariableCouldBeFinal Local variable 'graphicsEnvironment' could be declared final 178
UseExplicitTypes Use Explicit Types 178
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 180
LocalVariableCouldBeFinal Local variable 'ubuntuFont' could be declared final 182
UseExplicitTypes Use Explicit Types 182
LocalVariableCouldBeFinal Local variable 'images' could be declared final 194
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.APP_ICON` (degree 1) 197
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.APP_MIDDLE` (degree 1) 198
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.APP_BIG` (degree 1) 199
MethodArgumentCouldBeFinal Parameter 'textComponent' is not assigned and could be declared final 206
ShortVariable Avoid variables with short names like g 206
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 206
MethodArgumentCouldBeFinal Parameter 'placeholderText' is not assigned and could be declared final 206
LawOfDemeter Call to `getFontMetrics` on foreign value `g` (degree 1) 207
MethodArgumentCouldBeFinal Parameter 'textComponent' is not assigned and could be declared final 210
ShortVariable Avoid variables with short names like g 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
ShortVariable Avoid variables with short names like x 210
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 210
ShortVariable Avoid variables with short names like y 210
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 210
ShortVariable Avoid variables with short names like w 211
LocalVariableCouldBeFinal Local variable 'w' could be declared final 211
LocalVariableCouldBeFinal Local variable 'ins' could be declared final 215
UseExplicitTypes Use Explicit Types 215
ShortVariable Avoid variables with short names like fm 216
LocalVariableCouldBeFinal Local variable 'fm' could be declared final 216
UseExplicitTypes Use Explicit Types 216
LawOfDemeter Call to `getFontMetrics` on foreign value `g` (degree 1) 216
ShortVariable Avoid variables with short names like c0 218
LocalVariableCouldBeFinal Local variable 'c0' could be declared final 218
ShortVariable Avoid variables with short names like c1 219
LocalVariableCouldBeFinal Local variable 'c1' could be declared final 219
ShortVariable Avoid variables with short names like m 220
LocalVariableCouldBeFinal Local variable 'm' could be declared final 220
UseExplicitTypes Use Explicit Types 220
ShortVariable Avoid variables with short names like c2 221
LocalVariableCouldBeFinal Local variable 'c2' could be declared final 221
LocalVariableCouldBeFinal Local variable 'fontNonUbuntu' could be declared final 225
UseExplicitTypes Use Explicit Types 225
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 244
MethodArgumentCouldBeFinal Parameter 'textArea' is not assigned and could be declared final 255
LocalVariableCouldBeFinal Local variable 'isDark' could be declared final 257
LocalVariableCouldBeFinal Local variable 'xmlTheme' could be declared final 258
UseExplicitTypes Use Explicit Types 258
LocalVariableCouldBeFinal Local variable 'theme' could be declared final 259
MethodArgumentCouldBeFinal Parameter 'nameTheme' is not assigned and could be declared final 266
ShortVariable Avoid variables with short names like c 268
LocalVariableCouldBeFinal Local variable 'c' could be declared final 268
LocalVariableCouldBeFinal Local variable 'lookAndFeel' could be declared final 269
CommentSize Comment is too large: Line too long 279
MethodArgumentCouldBeFinal Parameter 'size' is not assigned and could be declared final 285

Priority 4

model - com/jsql/model/accessible/DataAccess.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 415

model - com/jsql/model/accessible/vendor/derby/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

model - com/jsql/model/accessible/vendor/h2/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

model - com/jsql/model/accessible/vendor/h2/Rce.java

Rule Violation Line
ShortClassName Avoid short class names like Rce 5

model - com/jsql/model/accessible/vendor/hsqldb/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

model - com/jsql/model/accessible/vendor/hsqldb/Read.java

Rule Violation Line
ShortClassName Avoid short class names like Read 5

model - com/jsql/model/accessible/vendor/mysql/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 7

model - com/jsql/model/accessible/vendor/mysql/Udf.java

Rule Violation Line
ShortClassName Avoid short class names like Udf 7

model - com/jsql/model/accessible/vendor/oracle/Udf.java

Rule Violation Line
ShortClassName Avoid short class names like Udf 8

model - com/jsql/model/accessible/vendor/postgres/File.java

Rule Violation Line
ShortClassName Avoid short class names like File 5

model - com/jsql/model/accessible/vendor/postgres/Read.java

Rule Violation Line
ShortClassName Avoid short class names like Read 7

model - com/jsql/model/accessible/vendor/postgres/Sql.java

Rule Violation Line
ShortClassName Avoid short class names like Sql 7

model - com/jsql/model/accessible/vendor/postgres/Udf.java

Rule Violation Line
ShortClassName Avoid short class names like Udf 7

model - com/jsql/model/injection/strategy/blind/InjectionMultibit.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 141

model - com/jsql/model/injection/strategy/blind/patch/Diff.java

Rule Violation Line
ShortClassName Avoid short class names like Diff 8

model - com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Line
UselessParentheses Useless parentheses around `((lastRd[j + 1] | lastRd[j]) << 1) | 1`. 1678

model - com/jsql/model/injection/vendor/model/AbstractVendor.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 30

model - com/jsql/model/injection/vendor/model/yaml/Row.java

Rule Violation Line
ShortClassName Avoid short class names like Row 8

model - com/jsql/model/injection/vendor/model/yaml/Test.java

Rule Violation Line
ShortClassName Avoid short class names like Test 11

model - com/jsql/model/suspendable/SuspendableGetCharInsertion.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 150

model - com/jsql/view/terminal/interaction/AddColumns.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 37

model - com/jsql/view/terminal/interaction/AddDatabases.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 37

model - com/jsql/view/terminal/interaction/AddExploitWebTab.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 22

model - com/jsql/view/terminal/interaction/AddTables.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 37

model - com/jsql/view/terminal/interaction/CreateValuesTab.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 35

model - com/jsql/view/terminal/interaction/GetTerminalResult.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkBlindBinInvulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkBlindBinVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkBlindBitInvulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkBlindBitVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkDnsInvulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkDnsVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkErrorInvulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 33

model - com/jsql/view/terminal/interaction/MarkErrorVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 33

model - com/jsql/view/terminal/interaction/MarkFileSystemInvulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkFileSystemVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkMultibitVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkStackVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkTimeInvulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkTimeVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkUnionInvulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MarkUnionVulnerable.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 25

model - com/jsql/view/terminal/interaction/MessageBinary.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 26

model - com/jsql/view/terminal/interaction/MessageHeader.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 34

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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

Files

model - com/jsql/model/AbstractModelObservable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
AtLeastOneConstructor Each class should declare at least one constructor 3 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isStoppedByUser' 3 31
AvoidFieldNameMatchingMethodName Field isStoppedByUser has the same name as a method 3 31
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 43
CommentSize Comment is too large: Line too long 3 50
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 53
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 57
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 57
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 61
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 61
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 65
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 65
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 69
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 69
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 69
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 69
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 73
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 73
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 73
MethodArgumentCouldBeFinal Parameter 'processStopped' is not assigned and could be declared final 3 92

model - com/jsql/model/InjectionModel.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 11701
CommentSize Comment is too large: Line too long 3 54
CommentSize Comment is too large: Line too long 3 56
CommentSize Comment is too large: Line too long 3 57
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 60
GodClass Possible God Class (WMC=76, ATFD=170, TCC=24.923%) 3 60
TooManyMethods This class has too many methods, consider refactoring it. 3 60701
ShortVariable Avoid variables with short names like BR 3 73
LongVariable Avoid excessively long variable names like shouldErasePreviousInjection 3 85
RedundantFieldInitializer Avoid using redundant field initializer for 'shouldErasePreviousInjection' 3 85
AvoidFieldNameMatchingMethodName Field shouldErasePreviousInjection has the same name as a method 3 85
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanning' 3 86
CallSuperInConstructor It is a good practice to call super() in a constructor 3 88
CommentSize Comment is too large: Line too long 3 114
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 117
LawOfDemeter Call to `getTime` on foreign value `this.mediatorStrategy` (degree 1) 3 119
LawOfDemeter Call to `getBlindBin` on foreign value `this.mediatorStrategy` (degree 1) 3 120
LawOfDemeter Call to `getBlindBit` on foreign value `this.mediatorStrategy` (degree 1) 3 121
LawOfDemeter Call to `getMultibit` on foreign value `this.mediatorStrategy` (degree 1) 3 122
LawOfDemeter Call to `getDns` on foreign value `this.mediatorStrategy` (degree 1) 3 123
LawOfDemeter Call to `getError` on foreign value `this.mediatorStrategy` (degree 1) 3 124
LawOfDemeter Call to `getStack` on foreign value `this.mediatorStrategy` (degree 1) 3 125
LawOfDemeter Call to `getUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 126
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 134
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 3 135
LawOfDemeter Call to `getThreadUtil` on foreign value `this.mediatorUtils` (degree 1) 3 136
CommentSize Comment is too large: Line too long 3 140
CyclomaticComplexity The method 'beginInjection()' has a cyclomatic complexity of 11. 3 144
LawOfDemeter Call to `getProxyUtil` on foreign value `this.mediatorUtils` (degree 1) 3 147
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 154
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 158
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 159
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 3 162
LawOfDemeter Call to `getMultipartUtil` on foreign value `this.mediatorUtils` (degree 1) 3 163
LawOfDemeter Call to `getSoapUtil` on foreign value `this.mediatorUtils` (degree 1) 3 164
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 3 165
LawOfDemeter Call to `getHeader` on foreign value `this.mediatorMethod` (degree 1) 3 166
LawOfDemeter Call to `getCookiesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 167
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 170
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 3 171
UseExplicitTypes Use Explicit Types 3 171
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 176
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 178
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 181
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 192
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 200
UseExplicitTypes Use Explicit Types 3 200
ShortVariable Avoid variables with short names like e 3 206
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 206
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 209
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 212
CyclomaticComplexity The method 'inject(String, boolean, String, AbstractCallableBit<?>, boolean)' has a cyclomatic complexity of 10. 3 223
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 224
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 225
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 226
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 228
CommentSize Comment is too large: Line too long 3 230
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 231
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 240
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 243
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 243
LongVariable Avoid excessively long variable names like httpRequestBuilder 3 256
LocalVariableCouldBeFinal Local variable 'httpRequestBuilder' could be declared final 3 256
UseExplicitTypes Use Explicit Types 3 256
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 261
LawOfDemeter Call to `getDigestUtil` on foreign value `this.mediatorUtils` (degree 1) 3 262
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 263
LocalVariableCouldBeFinal Local variable 'body' could be declared final 3 265
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 3 268
UseExplicitTypes Use Explicit Types 3 268
LocalVariableCouldBeFinal Local variable 'colorReport' could be declared final 3 271
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 273
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 275
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 278
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 278
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 279
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 281
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 283
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 286
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 289
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.getMediatorUtils()` (degree 1) 3 289
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 293
LocalVariableCouldBeFinal Local variable 'headersResponse' could be declared final 3 300
LocalVariableCouldBeFinal Local variable 'sizeHeaders' could be declared final 3 304
LocalVariableCouldBeFinal Local variable 'size' could be declared final 3 309
LocalVariableCouldBeFinal Local variable 'decimalFormat' could be declared final 3 310
UseExplicitTypes Use Explicit Types 3 310
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 313
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 328
UseExplicitTypes Use Explicit Types 3 328
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 339
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 347
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 3 348
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 349
MethodArgumentCouldBeFinal Parameter 'urlObject' is not assigned and could be declared final 3 350
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 3 351
UseExplicitTypes Use Explicit Types 3 354
LawOfDemeter Call to `getListQueryString` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 356
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 356
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 357
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 360
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 366
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 368
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 370
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 374
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 391
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 392
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 393
LawOfDemeter Call to `getListHeader` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 395
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 399
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 406
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 424
MethodArgumentCouldBeFinal Parameter 'dataInjection' is not assigned and could be declared final 3 425
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 426
MethodArgumentCouldBeFinal Parameter 'msgHeader' is not assigned and could be declared final 3 427
LawOfDemeter Call to `getListRequest` on foreign value `this.mediatorUtils.getParameterUtil()` (degree 2) 3 430
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 430
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 431
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 433
CommentSize Comment is too large: Line too long 3 437
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 439
LocalVariableCouldBeFinal Local variable 'body' could be declared final 3 445
UseExplicitTypes Use Explicit Types 3 445
LawOfDemeter Call to `getCsrfUtil` on foreign value `this.mediatorUtils` (degree 1) 3 446
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 448
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 449
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 453
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 471
LocalVariableCouldBeFinal Local variable 'bodyPublisher' could be declared final 3 479
UseExplicitTypes Use Explicit Types 3 479
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 481
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 489
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 3 489
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 489
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 489
LocalVariableCouldBeFinal Local variable 'paramLeadFixed' could be declared final 3 491
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 497
CompareObjectsWithEquals Use equals() to compare object references. 3 497
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 499
LawOfDemeter Call to `getConnectionUtil` on foreign value `this.mediatorUtils` (degree 1) 3 516
CompareObjectsWithEquals Use equals() to compare object references. 3 516
LawOfDemeter Call to `getTamperingUtil` on foreign value `this.mediatorUtils` (degree 1) 3 517
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 3 522
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 522
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 522
LocalVariableCouldBeFinal Local variable 'query' could be declared final 3 523
ConfusingTernary Avoid if (x != y) ..; else ..; 3 525539
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 534
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 3 541
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 3 541
MethodArgumentCouldBeFinal Parameter 'paramLead' is not assigned and could be declared final 3 544
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 544
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 544
LocalVariableCouldBeFinal Local variable 'query' could be declared final 3 545
ConfusingTernary Avoid if (x != y) ..; else ..; 3 550566
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 3 553
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 3 553
LawOfDemeter Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) 3 561
LawOfDemeter Call to `getVendor` on foreign value `this.mediatorVendor` (degree 1) 3 564
LawOfDemeter Call to `instance` on foreign value `this.mediatorVendor.getVendor()` (degree 2) 3 564
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 574
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 574
CompareObjectsWithEquals Use equals() to compare object references. 3 577
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 3 577
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 579
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 580
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 587
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 597
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 597
LawOfDemeter Call to `getParameterUtil` on foreign value `this.mediatorUtils` (degree 1) 3 599
CompareObjectsWithEquals Use equals() to compare object references. 3 600
LawOfDemeter Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) 3 600
LawOfDemeter Call to `getPreferencesUtil` on foreign value `this.mediatorUtils` (degree 1) 3 602
CompareObjectsWithEquals Use equals() to compare object references. 3 622
LawOfDemeter Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) 3 622
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 642
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 642
MethodArgumentCouldBeFinal Parameter 'indexesInUrl' is not assigned and could be declared final 3 654
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 3 662
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 3 694
MethodArgumentCouldBeFinal Parameter 'analysisReport' is not assigned and could be declared final 3 698
MethodArgumentCouldBeFinal Parameter 'isInit' is not assigned and could be declared final 3 698

model - com/jsql/model/MediatorUtils.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'MediatorUtils' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=40, WMC=40) 3 5
TooManyFields Too many fields 3 5188
LongVariable Avoid excessively long variable names like authenticationUtil 3 9
MethodArgumentCouldBeFinal Parameter 'cookiesUtil' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'multipartUtil' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'propertiesUtil' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'connectionUtil' is not assigned and could be declared final 3 105
LongVariable Avoid excessively long variable names like authenticationUtil 3 109
MethodArgumentCouldBeFinal Parameter 'authenticationUtil' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'gitUtil' is not assigned and could be declared final 3 113
MethodArgumentCouldBeFinal Parameter 'headerUtil' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'parameterUtil' is not assigned and could be declared final 3 121
MethodArgumentCouldBeFinal Parameter 'exceptionUtil' is not assigned and could be declared final 3 125
MethodArgumentCouldBeFinal Parameter 'soapUtil' is not assigned and could be declared final 3 129
MethodArgumentCouldBeFinal Parameter 'jsonUtil' is not assigned and could be declared final 3 133
MethodArgumentCouldBeFinal Parameter 'preferencesUtil' is not assigned and could be declared final 3 137
MethodArgumentCouldBeFinal Parameter 'proxyUtil' is not assigned and could be declared final 3 141
MethodArgumentCouldBeFinal Parameter 'threadUtil' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'tamperingUtil' is not assigned and could be declared final 3 149
MethodArgumentCouldBeFinal Parameter 'userAgentUtil' is not assigned and could be declared final 3 153
MethodArgumentCouldBeFinal Parameter 'csrfUtil' is not assigned and could be declared final 3 161
MethodArgumentCouldBeFinal Parameter 'digestUtil' is not assigned and could be declared final 3 169
MethodArgumentCouldBeFinal Parameter 'formUtil' is not assigned and could be declared final 3 177
MethodArgumentCouldBeFinal Parameter 'certificateUtil' is not assigned and could be declared final 3 185

model - com/jsql/model/accessible/CallableFile.java

Rule Violation Priority Line
DataClass The class 'CallableFile' is suspected to be a Data Class (WOC=25.000%, NOPA=1, NOAM=3, WMC=9) 3 24
LongVariable Avoid excessively long variable names like suspendableReadFile 3 42
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 49
MethodArgumentCouldBeFinal Parameter 'injectionModel' 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 66
LocalVariableCouldBeFinal Local variable 'mapVendorReadable' could be declared final 3 66
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 67
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 67
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 68
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 68
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 69
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 69
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 71
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 71
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 72
LocalVariableCouldBeFinal Local variable 'readable' could be declared final 3 74
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 75
CompareObjectsWithEquals Use equals() to compare object references. 3 75
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 81

model - com/jsql/model/accessible/CallableHttpHead.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 47
MethodArgumentCouldBeFinal Parameter 'urlAdminPage' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 53
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 53
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 53
CommentSize Comment is too large: Line too long 3 60
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 65
LongVariable Avoid excessively long variable names like builderHttpRequest 3 69
LocalVariableCouldBeFinal Local variable 'builderHttpRequest' could be declared final 3 69
UseExplicitTypes Use Explicit Types 3 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 75
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 78
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
CloseResource Ensure that resources like this HttpClient object are closed after use 3 91
LocalVariableCouldBeFinal Local variable 'httpClient' could be declared final 3 91
UseExplicitTypes Use Explicit Types 3 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 91
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 94
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 98
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 98
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 104
UseExplicitTypes Use Explicit Types 3 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 111
LocalVariableCouldBeFinal Local variable 'eMessageImplicit' could be declared final 3 112
UseExplicitTypes Use Explicit Types 3 112
LocalVariableCouldBeFinal Local variable 'eMessage' could be declared final 3 117

model - com/jsql/model/accessible/DataAccess.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 50
LongVariable Avoid excessively long variable names like SEPARATOR_CELL_RGX 3 52
CommentSize Comment is too large: Line too long 3 55
CommentSize Comment is too large: Line too long 3 80
CommentSize Comment is too large: Line too long 3 82
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 91
LinguisticNaming Linguistics Antipattern - The getter 'getDatabaseInfos' should not return void linguistically 3 99
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 3 102
UseExplicitTypes Use Explicit Types 3 102
UseExplicitTypes Use Explicit Types 3 104
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 107
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 116
LocalVariableCouldBeFinal Local variable 'versionDatabase' could be declared final 3 125
LocalVariableCouldBeFinal Local variable 'nameDatabase' could be declared final 3 126
LocalVariableCouldBeFinal Local variable 'username' could be declared final 3 127
LocalVariableCouldBeFinal Local variable 'infos' could be declared final 3 129
UseExplicitTypes Use Explicit Types 3 129
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 132
CommentSize Comment is too large: Too many lines 3 146154
CommentSize Comment is too large: Line too long 3 149
CommentSize Comment is too large: Line too long 3 150
CommentSize Comment is too large: Line too long 3 151
LocalVariableCouldBeFinal Local variable 'databases' could be declared final 3 157
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 3 161
UseExplicitTypes Use Explicit Types 3 161
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 163
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 172
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 3 177
UseExplicitTypes Use Explicit Types 3 177
LocalVariableCouldBeFinal Local variable 'databaseName' could be declared final 3 191
LocalVariableCouldBeFinal Local variable 'tableCount' could be declared final 3 192
LocalVariableCouldBeFinal Local variable 'newDatabase' could be declared final 3 194
UseExplicitTypes Use Explicit Types 3 194
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 194
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 198
UseExplicitTypes Use Explicit Types 3 198
CommentSize Comment is too large: Too many lines 3 205214
CommentSize Comment is too large: Line too long 3 208
CommentSize Comment is too large: Line too long 3 209
CommentSize Comment is too large: Line too long 3 210
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 215
LongVariable Avoid excessively long variable names like requestStartProgress 3 221
LocalVariableCouldBeFinal Local variable 'requestStartProgress' could be declared final 3 221
UseExplicitTypes Use Explicit Types 3 221
LocalVariableCouldBeFinal Local variable 'tableCount' could be declared final 3 226
UseExplicitTypes Use Explicit Types 3 226
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 3 230
UseExplicitTypes Use Explicit Types 3 230
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 232
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 241
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 3 246
UseExplicitTypes Use Explicit Types 3 246
LongVariable Avoid excessively long variable names like requestEndProgress 3 254
LocalVariableCouldBeFinal Local variable 'requestEndProgress' could be declared final 3 254
UseExplicitTypes Use Explicit Types 3 254
LocalVariableCouldBeFinal Local variable 'tables' could be declared final 3 264
LocalVariableCouldBeFinal Local variable 'tableName' could be declared final 3 268
LocalVariableCouldBeFinal Local variable 'rowCount' could be declared final 3 269
LocalVariableCouldBeFinal Local variable 'newTable' could be declared final 3 271
UseExplicitTypes Use Explicit Types 3 271
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 271
LocalVariableCouldBeFinal Local variable 'requestAddTables' could be declared final 3 275
UseExplicitTypes Use Explicit Types 3 275
CommentSize Comment is too large: Too many lines 3 282291
CommentSize Comment is too large: Line too long 3 284
CommentSize Comment is too large: Line too long 3 286
CommentSize Comment is too large: Line too long 3 287
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 292
LocalVariableCouldBeFinal Local variable 'columns' could be declared final 3 293
LongVariable Avoid excessively long variable names like requestStartProgress 3 296
LocalVariableCouldBeFinal Local variable 'requestStartProgress' could be declared final 3 296
UseExplicitTypes Use Explicit Types 3 296
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 3 304
UseExplicitTypes Use Explicit Types 3 304
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 315
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 320
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 321
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 3 325
UseExplicitTypes Use Explicit Types 3 325
LongVariable Avoid excessively long variable names like requestEndProgress 3 333
LocalVariableCouldBeFinal Local variable 'requestEndProgress' could be declared final 3 333
UseExplicitTypes Use Explicit Types 3 333
LocalVariableCouldBeFinal Local variable 'nameColumn' could be declared final 3 346
LocalVariableCouldBeFinal Local variable 'column' could be declared final 3 347
UseExplicitTypes Use Explicit Types 3 347
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 347
LocalVariableCouldBeFinal Local variable 'requestAddColumns' could be declared final 3 351
UseExplicitTypes Use Explicit Types 3 351
CommentSize Comment is too large: Too many lines 3 358367
CommentSize Comment is too large: Line too long 3 362
CommentSize Comment is too large: Line too long 3 363
MethodArgumentCouldBeFinal Parameter 'columnsBean' is not assigned and could be declared final 3 368
LocalVariableCouldBeFinal Local variable 'databaseBean' could be declared final 3 369
UseExplicitTypes Use Explicit Types 3 369
LocalVariableCouldBeFinal Local variable 'tableBean' could be declared final 3 370
UseExplicitTypes Use Explicit Types 3 370
LocalVariableCouldBeFinal Local variable 'rowCount' could be declared final 3 371
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 374
UseExplicitTypes Use Explicit Types 3 374
LocalVariableCouldBeFinal Local variable 'columnsName' could be declared final 3 380
LocalVariableCouldBeFinal Local variable 'columnBean' could be declared final 3 381
LocalVariableCouldBeFinal Local variable 'listValues' could be declared final 3 390
LocalVariableCouldBeFinal Local variable 'table' could be declared final 3 396
LocalVariableCouldBeFinal Local variable 'objectData' could be declared final 3 401
UseExplicitTypes Use Explicit Types 3 401
LongVariable Avoid excessively long variable names like requestCreateValuesTab 3 403
LocalVariableCouldBeFinal Local variable 'requestCreateValuesTab' could be declared final 3 403
UseExplicitTypes Use Explicit Types 3 403
LongVariable Avoid excessively long variable names like requestEndProgress 3 408
LocalVariableCouldBeFinal Local variable 'requestEndProgress' could be declared final 3 408
UseExplicitTypes Use Explicit Types 3 408
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 415
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 415
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 3 415
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 415
MethodArgumentCouldBeFinal Parameter 'columns' is not assigned and could be declared final 3 415
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 3 419
UseExplicitTypes Use Explicit Types 3 419
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 421
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 430
ShortVariable Avoid variables with short names like e 3 436
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 436
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 3 436
MethodArgumentCouldBeFinal Parameter 'columnsName' is not assigned and could be declared final 3 449
MethodArgumentCouldBeFinal Parameter 'values' is not assigned and could be declared final 3 449
LocalVariableCouldBeFinal Local variable 'table' could be declared final 3 451
UseExplicitTypes Use Explicit Types 3 451
UseExplicitTypes Use Explicit Types 3 453
UseExplicitTypes Use Explicit Types 3 454
UseExplicitTypes Use Explicit Types 3 456
LocalVariableCouldBeFinal Local variable 'logIndexRow' could be declared final 3 467

model - com/jsql/model/accessible/ExploitMode.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'keyLabel' is not assigned and could be declared final 3 13
MethodArgumentCouldBeFinal Parameter 'keyTooltip' is not assigned and could be declared final 3 13
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 3 17

model - com/jsql/model/accessible/ResourceAccess.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 11716
CouplingBetweenObjects A value of 25 may denote a high amount of coupling within the class (threshold: 20) 3 11716
GodClass Possible God Class (WMC=87, ATFD=63, TCC=16.559%) 3 53
CyclomaticComplexity The class 'ResourceAccess' has a total cyclomatic complexity of 87 (highest 11). 3 53
TooManyMethods This class has too many methods, consider refactoring it. 3 53716
LongVariable Avoid excessively long variable names like isSearchAdminStopped 3 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchAdminStopped' 3 60
AvoidFieldNameMatchingMethodName Field isSearchAdminStopped has the same name as a method 3 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isScanStopped' 3 65
AvoidFieldNameMatchingMethodName Field isScanStopped has the same name as a method 3 65
LongVariable Avoid excessively long variable names like isSearchFileStopped 3 71
RedundantFieldInitializer Avoid using redundant field initializer for 'isSearchFileStopped' 3 71
LongVariable Avoid excessively long variable names like WEB_CONFIRM_RESULT 3 88
LongVariable Avoid excessively long variable names like SQL_CONFIRM_RESULT 3 90
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 3 135
MethodArgumentCouldBeFinal Parameter 'pageNames' is not assigned and could be declared final 3 135
LocalVariableCouldBeFinal Local variable 'matcher' could be declared final 3 136
UseExplicitTypes Use Explicit Types 3 136
LocalVariableCouldBeFinal Local variable 'urlProtocol' could be declared final 3 138
LongVariable Avoid excessively long variable names like urlWithoutProtocol 3 139
LocalVariableCouldBeFinal Local variable 'folderSplits' could be declared final 3 141
LocalVariableCouldBeFinal Local variable 'splits' could be declared final 3 147
LocalVariableCouldBeFinal Local variable 'folderNames' could be declared final 3 148
LocalVariableCouldBeFinal Local variable 'folderName' could be declared final 3 149
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 153
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 153
LongVariable Avoid excessively long variable names like taskCompletionService 3 154
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 3 154
LocalVariableCouldBeFinal Local variable 'urlPart' could be declared final 3 156
UseExplicitTypes Use Explicit Types 3 156
LocalVariableCouldBeFinal Local variable 'segment' could be declared final 3 157
LocalVariableCouldBeFinal Local variable 'pageName' could be declared final 3 159
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 161165
UseExplicitTypes Use Explicit Types 3 170
LocalVariableCouldBeFinal Local variable 'submittedTasks' could be declared final 3 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 181
LongVariable Avoid excessively long variable names like taskCompletionService 3 188
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 188
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 3 188
LongVariable Avoid excessively long variable names like nbAdminPagesFoundFixed 3 189
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 3 192
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 194
UseExplicitTypes Use Explicit Types 3 194
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 204
MethodArgumentCouldBeFinal Parameter 'nbAdminPagesFound' is not assigned and could be declared final 3 211
MethodArgumentCouldBeFinal Parameter 'submittedTasks' is not assigned and could be declared final 3 211
MethodArgumentCouldBeFinal Parameter 'tasksHandled' is not assigned and could be declared final 3 211
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 212
UseExplicitTypes Use Explicit Types 3 212
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 3 227
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 234
LongVariable Avoid excessively long variable names like urlWithoutProtocol 3 236
LocalVariableCouldBeFinal Local variable 'urlWithoutProtocol' could be declared final 3 236
LocalVariableCouldBeFinal Local variable 'urlProtocol' could be declared final 3 237
AvoidLiteralsInIfCondition Avoid using literals such as "/" in if statements 3 238
LocalVariableCouldBeFinal Local variable 'directoryNames' could be declared final 3 244
LongVariable Avoid excessively long variable names like urlWithoutFileName 3 245
LocalVariableCouldBeFinal Local variable 'urlWithoutFileName' could be declared final 3 245
LocalVariableCouldBeFinal Local variable 'directoryName' could be declared final 3 249
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 3 261
MethodArgumentCouldBeFinal Parameter 'directoryNames' is not assigned and could be declared final 3 261
MethodArgumentCouldBeFinal Parameter 'urlProtocol' is not assigned and could be declared final 3 261
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 262
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 262
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 262
LongVariable Avoid excessively long variable names like taskCompletionService 3 263
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 3 263
LocalVariableCouldBeFinal Local variable 'urlPart' could be declared final 3 264
UseExplicitTypes Use Explicit Types 3 264
LocalVariableCouldBeFinal Local variable 'segment' could be declared final 3 266
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 269273
LocalVariableCouldBeFinal Local variable 'submittedTasks' could be declared final 3 278
UseExplicitTypes Use Explicit Types 3 279
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 3 281
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 289
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 295
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 3 299
MethodArgumentCouldBeFinal Parameter 'urlCommand' is not assigned and could be declared final 3 303
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 3 303
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 303
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 306
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 307
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 3 311
UseExplicitTypes Use Explicit Types 3 311
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 333
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 333
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 333
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 336
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 336
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 336
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 3 336
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 336
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 344
UseExplicitTypes Use Explicit Types 3 344
CommentSize Comment is too large: Line too long 3 352
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 359
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 359
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 359
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 363
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 363
LongVariable Avoid excessively long variable names like isResultSentToView 3 363
MethodArgumentCouldBeFinal Parameter 'isResultSentToView' is not assigned and could be declared final 3 363
LocalVariableCouldBeFinal Local variable 'listRows' could be declared final 3 373
LocalVariableCouldBeFinal Local variable 'listFieldsLength' could be declared final 3 377
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 387
UseExplicitTypes Use Explicit Types 3 387
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 3 395
MethodArgumentCouldBeFinal Parameter 'listFieldsLength' is not assigned and could be declared final 3 395
LocalVariableCouldBeFinal Local variable 'tableText' could be declared final 3 396
UseExplicitTypes Use Explicit Types 3 396
LocalVariableCouldBeFinal Local variable 'fieldLength' could be declared final 3 397
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 398
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 400
LocalVariableCouldBeFinal Local variable 'listFields' could be declared final 3 401
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 402
UseExplicitTypes Use Explicit Types 3 403
LocalVariableCouldBeFinal Local variable 'field' could be declared final 3 404
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 411
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 413
LocalVariableCouldBeFinal Local variable 'fieldLength' could be declared final 3 414
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 415
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 417
MethodArgumentCouldBeFinal Parameter 'listRows' is not assigned and could be declared final 3 421
LocalVariableCouldBeFinal Local variable 'listFieldsLength' could be declared final 3 422
LongVariable Avoid excessively long variable names like indexLongestRowSearch 3 424
UseExplicitTypes Use Explicit Types 3 424
LongVariable Avoid excessively long variable names like indexLongestRowSearchFinal 3 428
LocalVariableCouldBeFinal Local variable 'indexLongestRowSearchFinal' could be declared final 3 428
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 437
LocalVariableCouldBeFinal Local variable 'listRows' could be declared final 3 438
LocalVariableCouldBeFinal Local variable 'rowsMatcher' could be declared final 3 439
UseExplicitTypes Use Explicit Types 3 439
LocalVariableCouldBeFinal Local variable 'values' could be declared final 3 441
LocalVariableCouldBeFinal Local variable 'fieldsMatcher' could be declared final 3 442
UseExplicitTypes Use Explicit Types 3 442
LocalVariableCouldBeFinal Local variable 'listFields' could be declared final 3 443
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 443
LocalVariableCouldBeFinal Local variable 'field' could be declared final 3 447
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 454
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 454
MethodArgumentCouldBeFinal Parameter 'streamToUpload' is not assigned and could be declared final 3 454
PrematureDeclaration Declaration of 'crLf' can be moved closer to its usages 3 455
LocalVariableCouldBeFinal Local variable 'crLf' could be declared final 3 455
UseExplicitTypes Use Explicit Types 3 455
PrematureDeclaration Declaration of 'boundary' can be moved closer to its usages 3 456
LocalVariableCouldBeFinal Local variable 'boundary' could be declared final 3 456
UseExplicitTypes Use Explicit Types 3 456
LocalVariableCouldBeFinal Local variable 'streamData' could be declared final 3 458
UseExplicitTypes Use Explicit Types 3 458
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 464
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 465
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 466
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 467
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 3 472
UseExplicitTypes Use Explicit Types 3 472
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 485
UseExplicitTypes Use Explicit Types 3 485
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 485
LocalVariableCouldBeFinal Local variable 'httpHeaders' could be declared final 3 486
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 3 487
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 489
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 489
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 495
UseExplicitTypes Use Explicit Types 3 495
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 3 508
UseExplicitTypes Use Explicit Types 3 508
LocalVariableCouldBeFinal Local variable 'resultInjection' could be declared final 3 509
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 510
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 522
UseExplicitTypes Use Explicit Types 3 522
AvoidLiteralsInIfCondition Avoid using literals such as "false" in if statements 3 525
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 527
UseExplicitTypes Use Explicit Types 3 527
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 531
UseExplicitTypes Use Explicit Types 3 531
CommentSize Comment is too large: Too many lines 3 540548
CommentSize Comment is too large: Line too long 3 541
CyclomaticComplexity The method 'readFile(List<String>)' has a cyclomatic complexity of 11. 3 549
MethodArgumentCouldBeFinal Parameter 'pathsFiles' is not assigned and could be declared final 3 549
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 551
CompareObjectsWithEquals Use equals() to compare object references. 3 551
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 554
UseExplicitTypes Use Explicit Types 3 557
LocalVariableCouldBeFinal Local variable 'results' could be declared final 3 558
UseExplicitTypes Use Explicit Types 3 558
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 560
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 560
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 560
LongVariable Avoid excessively long variable names like taskCompletionService 3 561
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 3 561
LocalVariableCouldBeFinal Local variable 'pathFile' could be declared final 3 563
LocalVariableCouldBeFinal Local variable 'callableFile' could be declared final 3 564
UseExplicitTypes Use Explicit Types 3 564
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 564
LocalVariableCouldBeFinal Local variable 'duplicate' could be declared final 3 569
LocalVariableCouldBeFinal Local variable 'submittedTasks' could be declared final 3 570
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 3 578
UseExplicitTypes Use Explicit Types 3 578
LocalVariableCouldBeFinal Local variable 'name' could be declared final 3 580
UseExplicitTypes Use Explicit Types 3 580
LocalVariableCouldBeFinal Local variable 'content' could be declared final 3 583
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 584
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 586
UseExplicitTypes Use Explicit Types 3 586
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 586
LocalVariableCouldBeFinal Local variable 'callableReadFile' could be declared final 3 607
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callableReadFile` (degree 1) 3 608
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 611
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 614
UseExplicitTypes Use Explicit Types 3 614
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 630
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 3 630
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 3 631
UseExplicitTypes Use Explicit Types 3 631
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 642
MethodArgumentCouldBeFinal Parameter 'metadata' is not assigned and could be declared final 3 642
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 3 643
UseExplicitTypes Use Explicit Types 3 643
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 645652
LocalVariableCouldBeFinal Local variable 'callable' could be declared final 3 665
LawOfDemeter Call to `getSuspendableReadFile` on foreign value `callable` (degree 1) 3 666
MethodArgumentCouldBeFinal Parameter 'isScanStopped' is not assigned and could be declared final 3 697

model - com/jsql/model/accessible/vendor/ExploitDerby.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 36
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 38
UseExplicitTypes Use Explicit Types 3 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 40
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 45
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 48
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 49
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 55
UseExplicitTypes Use Explicit Types 3 55
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 57
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 65
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 72
UseExplicitTypes Use Explicit Types 3 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 82
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 83
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 89
UseExplicitTypes Use Explicit Types 3 89
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 92
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 99
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 100
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 101
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 101
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 109
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 116
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 119
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 121
UseExplicitTypes Use Explicit Types 3 121
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 123
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 129

model - com/jsql/model/accessible/vendor/ExploitH2.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 36
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 38
UseExplicitTypes Use Explicit Types 3 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 40
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 48
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 49
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 50
UseExplicitTypes Use Explicit Types 3 50
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 50
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 51
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 56
UseExplicitTypes Use Explicit Types 3 56
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 63
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 63
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 66
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 67
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 73
UseExplicitTypes Use Explicit Types 3 73
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 80
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 80
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 83
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 89
UseExplicitTypes Use Explicit Types 3 89
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 91
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 95
UseExplicitTypes Use Explicit Types 3 95
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 97
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 102
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 103
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 103
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 110
UseExplicitTypes Use Explicit Types 3 110
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 117
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 120
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 122
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 127
UseExplicitTypes Use Explicit Types 3 127
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 129
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 133
UseExplicitTypes Use Explicit Types 3 133
LawOfDemeter Call to `getRce` on foreign value `this.modelYaml` (degree 1) 3 135
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 140
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 141
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 142
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 142
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 157
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 160
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 163

model - com/jsql/model/accessible/vendor/ExploitHsqldb.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 37
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 39
UseExplicitTypes Use Explicit Types 3 39
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 41
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 46
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 49
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 50
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 55
UseExplicitTypes Use Explicit Types 3 55
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 56
UseExplicitTypes Use Explicit Types 3 56
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 58
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 65
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 65
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 72
UseExplicitTypes Use Explicit Types 3 72
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 79
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 82
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 83
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 89
UseExplicitTypes Use Explicit Types 3 89
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
LawOfDemeter Call to `getFile` on foreign value `this.modelYaml` (degree 1) 3 92
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 98
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 99
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 100
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 100
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 108
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 115
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 118
LocalVariableCouldBeFinal Local variable 'nameTable' could be declared final 3 120
UseExplicitTypes Use Explicit Types 3 120
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 122
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 128

model - com/jsql/model/accessible/vendor/ExploitMysql.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1522
TooManyMethods This class has too many methods, consider refactoring it. 3 37522
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 56
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 61
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 65
UseExplicitTypes Use Explicit Types 3 65
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 74
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 74
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 75
LocalVariableCouldBeFinal Local variable 'resultQuery' could be declared final 3 76
UseExplicitTypes Use Explicit Types 3 76
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 76
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 78
UseExplicitTypes Use Explicit Types 3 78
UseExplicitTypes Use Explicit Types 3 86
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 101
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 101
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 102
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 103
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 104
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 104
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 112
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 125
CyclomaticComplexity The method 'create(String, String, String, String, BinaryOperator<String>, String, ExploitMode)' has a cyclomatic complexity of 10. 3 125
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 127
LongVariable Avoid excessively long variable names like keyPropertyExploit 3 128
MethodArgumentCouldBeFinal Parameter 'keyPropertyExploit' is not assigned and could be declared final 3 128
MethodArgumentCouldBeFinal Parameter 'biFuncGetRequest' is not assigned and could be declared final 3 130
LongVariable Avoid excessively long variable names like pathNetshareFolder 3 131
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 3 131
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 132
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 134
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 135
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 139
LocalVariableCouldBeFinal Local variable 'biPredConfirm' could be declared final 3 145
LocalVariableCouldBeFinal Local variable 'resultInjection' could be declared final 3 147
LocalVariableCouldBeFinal Local variable 'nbIndexesPrefix' could be declared final 3 154
UseExplicitTypes Use Explicit Types 3 154
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 154
LongVariable Avoid excessively long variable names like nameExploitValidated 3 155
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 171
LocalVariableCouldBeFinal Local variable 'nameExploitRandom' could be declared final 3 176
UseExplicitTypes Use Explicit Types 3 176
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 188
AvoidReassigningParameters Avoid reassigning parameters such as 'nameExploit' 2 190
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 193
CyclomaticComplexity The method 'createUdf(String, ExploitMode)' has a cyclomatic complexity of 14. 3 196
LongVariable Avoid excessively long variable names like pathNetshareFolder 3 196
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 196
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 199
LocalVariableCouldBeFinal Local variable 'nbIndexesFound' could be declared final 3 203
UseExplicitTypes Use Explicit Types 3 203
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 203
UseExplicitTypes Use Explicit Types 3 204
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 204
LocalVariableCouldBeFinal Local variable 'nameLibrary' could be declared final 3 209
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 216
LinguisticNaming Linguistics Antipattern - The variable 'isSuccess' indicates linguistically it is a boolean, but it is 'String' 3 219
AvoidReassigningParameters Avoid reassigning parameters such as 'pathNetshareFolder' 2 222
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 233
LocalVariableCouldBeFinal Local variable 'nameLibraryRandom' could be declared final 3 245
UseExplicitTypes Use Explicit Types 3 245
LocalVariableCouldBeFinal Local variable 'versionOsMachine' could be declared final 3 252
UseExplicitTypes Use Explicit Types 3 252
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 252
LocalVariableCouldBeFinal Local variable 'isWin' could be declared final 3 256
UseExplicitTypes Use Explicit Types 3 256
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 256
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 256
LocalVariableCouldBeFinal Local variable 'nameLibrary' could be declared final 3 257
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 3 267
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 3 268
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 3 269
MethodArgumentCouldBeFinal Parameter 'hexChunks' is not assigned and could be declared final 3 270
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 3 271
LongVariable Avoid excessively long variable names like nameExploitValidated 3 273
LocalVariableCouldBeFinal Local variable 'pattern' could be declared final 3 274
UseExplicitTypes Use Explicit Types 3 274
UseExplicitTypes Use Explicit Types 3 276
LocalVariableCouldBeFinal Local variable 'countUnionIndex' could be declared final 3 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 278
UseExplicitTypes Use Explicit Types 3 280
LocalVariableCouldBeFinal Local variable 'finalI' could be declared final 3 281
MethodArgumentCouldBeFinal Parameter 'nbIndexesPrefix' is not assigned and could be declared final 3 317
LongVariable Avoid excessively long variable names like pathNetshareFolder 3 318
MethodArgumentCouldBeFinal Parameter 'pathNetshareFolder' is not assigned and could be declared final 3 318
MethodArgumentCouldBeFinal Parameter 'nameExploit' is not assigned and could be declared final 3 319
MethodArgumentCouldBeFinal Parameter 'pathRemoteFolder' is not assigned and could be declared final 3 320
MethodArgumentCouldBeFinal Parameter 'biPredConfirm' is not assigned and could be declared final 3 321
LongVariable Avoid excessively long variable names like nameExploitValidated 3 323
LocalVariableCouldBeFinal Local variable 'pathShareEncoded' could be declared final 3 324
UseExplicitTypes Use Explicit Types 3 324
LocalVariableCouldBeFinal Local variable 'pattern' could be declared final 3 325
UseExplicitTypes Use Explicit Types 3 325
UseExplicitTypes Use Explicit Types 3 328
MethodArgumentCouldBeFinal Parameter 'bodyHexChunks' is not assigned and could be declared final 3 354
MethodArgumentCouldBeFinal Parameter 'pathRemoteFile' is not assigned and could be declared final 3 354
UseExplicitTypes Use Explicit Types 3 356
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 356
LocalVariableCouldBeFinal Local variable 'nameTableRandom' could be declared final 3 360
UseExplicitTypes Use Explicit Types 3 360
LocalVariableCouldBeFinal Local variable 'nameSchemaTable' could be declared final 3 361
UseExplicitTypes Use Explicit Types 3 361
UseExplicitTypes Use Explicit Types 3 366
LocalVariableCouldBeFinal Local variable 'chunk' could be declared final 3 379
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 3 402
MethodArgumentCouldBeFinal Parameter 'nameTableRandom' is not assigned and could be declared final 3 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 404408
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 404
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 3 414
LocalVariableCouldBeFinal Local variable 'confirm' could be declared final 3 420
UseExplicitTypes Use Explicit Types 3 420
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 420
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 423
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 427
UseExplicitTypes Use Explicit Types 3 427
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 434
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 3 435
UseExplicitTypes Use Explicit Types 3 435
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 449
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 449
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 452
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 459
UseExplicitTypes Use Explicit Types 3 459
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 466
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 469
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 3 481
LocalVariableCouldBeFinal Local variable 'fileData' could be declared final 3 483
MethodArgumentCouldBeFinal Parameter 'pathNetshare' is not assigned and could be declared final 3 490
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 3 490
LocalVariableCouldBeFinal Local variable 'fileData' could be declared final 3 492
LocalVariableCouldBeFinal Local variable 'copiedUncloaked' could be declared final 3 493
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 494
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 502
MethodArgumentCouldBeFinal Parameter 'bodyExploit' is not assigned and could be declared final 3 502
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 503
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 505
MethodArgumentCouldBeFinal Parameter 'nameLibrary' is not assigned and could be declared final 3 511
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 513

model - com/jsql/model/accessible/vendor/ExploitOracle.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like RCE_JAVA_UTIL_FUNC 3 27
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 31
UseExplicitTypes Use Explicit Types 3 31
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 33
MethodArgumentCouldBeFinal Parameter 'exploitMode' is not assigned and could be declared final 3 38
LocalVariableCouldBeFinal Local variable 'nameDatabase' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 62
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 73
UseExplicitTypes Use Explicit Types 3 73
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 79
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 79
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 82
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 91
UseExplicitTypes Use Explicit Types 3 91

model - com/jsql/model/accessible/vendor/ExploitPostgres.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1594
TooManyMethods This class has too many methods, consider refactoring it. 3 35594
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 42
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 44
UseExplicitTypes Use Explicit Types 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 46
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 3 51
UseExplicitTypes Use Explicit Types 3 57
LinguisticNaming Linguistics Antipattern - The setter 'setRceProgramWhenActive' should not return any type except void linguistically 3 82
LocalVariableCouldBeFinal Local variable 'nameTempTable' could be declared final 3 84
UseExplicitTypes Use Explicit Types 3 84
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 94
UseExplicitTypes Use Explicit Types 3 94
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 94
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 100
UseExplicitTypes Use Explicit Types 3 100
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 104
LinguisticNaming Linguistics Antipattern - The setter 'setRceExtensionWhenActive' should not return any type except void linguistically 3 109
CognitiveComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cognitive complexity of 15, current threshold is 15 3 109
CyclomaticComplexity The method 'setRceExtensionWhenActive(boolean, String)' has a cyclomatic complexity of 10. 3 109
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'nameExtension' 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
LocalVariableCouldBeFinal Local variable 'ext' could be declared final 3 119
UseExplicitTypes Use Explicit Types 3 119
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 126
LongVariable Avoid excessively long variable names like plCreateBasicExtension 3 132
LocalVariableCouldBeFinal Local variable 'plCreateBasicExtension' could be declared final 3 132
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 140
UseExplicitTypes Use Explicit Types 3 140
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 140
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 145
LocalVariableCouldBeFinal Local variable 'functions' could be declared final 3 149
UseExplicitTypes Use Explicit Types 3 149
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 155
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 159
UseExplicitTypes Use Explicit Types 3 159
LinguisticNaming Linguistics Antipattern - The setter 'setRceLibraryWhenActive' should not return any type except void linguistically 3 166
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 3 166
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 168
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 3 173
UseExplicitTypes Use Explicit Types 3 173
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 179
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 181
UseExplicitTypes Use Explicit Types 3 181
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 182
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 191
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 191
AvoidDuplicateLiterals The String literal "%20" appears 10 times in this file; the first occurrence is on line 193 3 193
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 197
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 200
UseExplicitTypes Use Explicit Types 3 200
MethodArgumentCouldBeFinal Parameter 'isUdfActive' is not assigned and could be declared final 3 207
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 215
UseExplicitTypes Use Explicit Types 3 215
MethodArgumentCouldBeFinal Parameter 'filename' is not assigned and could be declared final 3 222
LocalVariableCouldBeFinal Local variable 'fileData' could be declared final 3 224
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 225
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 233
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 233
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 236
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 243
UseExplicitTypes Use Explicit Types 3 243
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 250
LocalVariableCouldBeFinal Local variable 'isSetup' could be declared final 3 251
PrematureDeclaration Declaration of 'pathResult' can be moved closer to its usages 3 252
LocalVariableCouldBeFinal Local variable 'pathResult' could be declared final 3 252
LocalVariableCouldBeFinal Local variable 'status' could be declared final 3 254
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 254
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 257
LocalVariableCouldBeFinal Local variable 'pathConf' could be declared final 3 260
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 260
LocalVariableCouldBeFinal Local variable 'loidConf' could be declared final 3 261
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 261
LocalVariableCouldBeFinal Local variable 'lengthConf' could be declared final 3 265
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 265
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 270
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 278
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 283
LocalVariableCouldBeFinal Local variable 'cmdArchive' could be declared final 3 285
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 285
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 288
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 291
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 293
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 296
LocalVariableCouldBeFinal Local variable 'loidResult' could be declared final 3 298
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 298
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 302
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 302
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 309
MethodArgumentCouldBeFinal Parameter 'nameExtension' is not assigned and could be declared final 3 314
LocalVariableCouldBeFinal Local variable 'languages' could be declared final 3 320
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 320
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 326
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 332
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 332
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 339
UseExplicitTypes Use Explicit Types 3 339
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 346
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 346
LocalVariableCouldBeFinal Local variable 'nameTempTable' could be declared final 3 349
UseExplicitTypes Use Explicit Types 3 349
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 359
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 366
UseExplicitTypes Use Explicit Types 3 366
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 373
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 373
AvoidLiteralsInIfCondition Avoid using literals such as "sql" in if statements 3 376
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 383
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 388
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 400
UseExplicitTypes Use Explicit Types 3 400
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 407
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 407
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 408
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 409
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 3 414
UseExplicitTypes Use Explicit Types 3 414
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 414
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 420
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 422
UseExplicitTypes Use Explicit Types 3 422
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 423
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 429
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 430
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 430
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 437
UseExplicitTypes Use Explicit Types 3 437
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 444
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 447
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 447
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 447
MethodArgumentCouldBeFinal Parameter 'username' is not assigned and could be declared final 3 447
MethodArgumentCouldBeFinal Parameter 'password' is not assigned and could be declared final 3 447
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 448
LocalVariableCouldBeFinal Local variable 'resultQuery' could be declared final 3 449
UseExplicitTypes Use Explicit Types 3 449
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 449
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 458
UseExplicitTypes Use Explicit Types 3 458
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 467
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 468
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 3 473
UseExplicitTypes Use Explicit Types 3 473
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 473
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 479
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 481
UseExplicitTypes Use Explicit Types 3 481
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 482
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 488
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 491
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 491
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 491
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 492
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 493
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 3 498
UseExplicitTypes Use Explicit Types 3 498
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 498
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 506
UseExplicitTypes Use Explicit Types 3 506
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 507
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 513
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 514
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 515
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 515
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 515
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 523
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 530
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 533
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 538
LocalVariableCouldBeFinal Local variable 'loid' could be declared final 3 549
UseExplicitTypes Use Explicit Types 3 549
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 549
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 550
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 554
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 555
LocalVariableCouldBeFinal Local variable 'nameLibraryRandom' could be declared final 3 561
UseExplicitTypes Use Explicit Types 3 561
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 563
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 567
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 571
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 577

model - com/jsql/model/accessible/vendor/ExploitSqlite.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 36
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 38
UseExplicitTypes Use Explicit Types 3 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 40
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 47
UseExplicitTypes Use Explicit Types 3 47
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 47
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 53
UseExplicitTypes Use Explicit Types 3 53
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'uuidShell' is not assigned and could be declared final 3 60
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 63
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 70
UseExplicitTypes Use Explicit Types 3 70
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 77
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 77
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 80
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 81
LocalVariableCouldBeFinal Local variable 'nameDbRandom' could be declared final 3 85
UseExplicitTypes Use Explicit Types 3 85
LocalVariableCouldBeFinal Local variable 'nameTableRandom' could be declared final 3 86
UseExplicitTypes Use Explicit Types 3 86
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 87
UseExplicitTypes Use Explicit Types 3 87
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 95
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 96
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 96
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 104
UseExplicitTypes Use Explicit Types 3 104
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 111
MethodArgumentCouldBeFinal Parameter 'pathExploit' is not assigned and could be declared final 3 114
MethodArgumentCouldBeFinal Parameter 'urlExploit' is not assigned and could be declared final 3 114
MethodArgumentCouldBeFinal Parameter 'fileToUpload' is not assigned and could be declared final 3 114
LocalVariableCouldBeFinal Local variable 'bodyExploit' could be declared final 3 115
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 116
LocalVariableCouldBeFinal Local variable 'nameDbRandom' could be declared final 3 120
UseExplicitTypes Use Explicit Types 3 120
LocalVariableCouldBeFinal Local variable 'nameTableRandom' could be declared final 3 121
UseExplicitTypes Use Explicit Types 3 121
LocalVariableCouldBeFinal Local variable 'nameExploit' could be declared final 3 122
UseExplicitTypes Use Explicit Types 3 122
LocalVariableCouldBeFinal Local variable 'biFuncGetRequest' could be declared final 3 130
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 131
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 132
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 132
LawOfDemeter Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) 3 132
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 140
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 147
MethodArgumentCouldBeFinal Parameter 'pathFile' is not assigned and could be declared final 3 150
LawOfDemeter Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) 3 154

model - com/jsql/model/accessible/vendor/derby/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 3 31

model - com/jsql/model/accessible/vendor/derby/ModelYamlDerby.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 11

model - com/jsql/model/accessible/vendor/h2/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'readFromPath' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'readFromTempTable' is not assigned and could be declared final 3 31

model - com/jsql/model/accessible/vendor/h2/ModelYamlH2.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3
DataClass The class 'ModelYamlH2' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 3
MethodArgumentCouldBeFinal Parameter 'rce' is not assigned and could be declared final 3 12
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 20

model - com/jsql/model/accessible/vendor/h2/Rce.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Rce 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'Rce' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'callCsvWrite' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'scriptSimple' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'dropAlias' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'createAlias' is not assigned and could be declared final 3 50
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 58

model - com/jsql/model/accessible/vendor/hsqldb/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 5
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 22

model - com/jsql/model/accessible/vendor/hsqldb/ModelYamlHsqldb.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 11

model - com/jsql/model/accessible/vendor/hsqldb/Read.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Read 4 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 5
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'performImport' is not assigned and could be declared final 3 31

model - com/jsql/model/accessible/vendor/mysql/AddFile.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'AddFile' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'queryBody' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'netshare' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 3 33

model - com/jsql/model/accessible/vendor/mysql/AddFunction.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'AddFunction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 33

model - com/jsql/model/accessible/vendor/mysql/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'privilege' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 24

model - com/jsql/model/accessible/vendor/mysql/ModelYamlMysql.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
DataClass The class 'ModelYamlMysql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 6
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 23

model - com/jsql/model/accessible/vendor/mysql/TempTable.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 7
MethodArgumentCouldBeFinal Parameter 'nameDatabase' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'insertChunks' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'appendChunks' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'dump' is not assigned and could be declared final 3 69

model - com/jsql/model/accessible/vendor/mysql/Udf.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Udf 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 7
MethodArgumentCouldBeFinal Parameter 'pathPlugin' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'osMachine' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'addFile' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'addFunction' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 51

model - com/jsql/model/accessible/vendor/oracle/ModelYamlOracle.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
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 14

model - com/jsql/model/accessible/vendor/oracle/Udf.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Udf 4 8
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 8
MethodArgumentCouldBeFinal Parameter 'dropSource' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'addSource' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'grant' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 70

model - com/jsql/model/accessible/vendor/postgres/Archive.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Archive' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 7
MethodArgumentCouldBeFinal Parameter 'getPathConf' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'getStatus' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'getConfLength' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'putCmd' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'reloadConf' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'getCmd' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'runWal' is not assigned and could be declared final 3 69

model - com/jsql/model/accessible/vendor/postgres/Confirm.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Confirm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'addFunc' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'funcExists' is not assigned and could be declared final 3 24

model - com/jsql/model/accessible/vendor/postgres/Extension.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'create' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'languages' is not assigned and could be declared final 3 24

model - com/jsql/model/accessible/vendor/postgres/File.java

Rule Violation Priority Line
ShortClassName Avoid short class names like File 4 5
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 5
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'File' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 5
MethodArgumentCouldBeFinal Parameter 'read' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'write' is not assigned and could be declared final 3 22

model - com/jsql/model/accessible/vendor/postgres/LargeObject.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'LargeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 7
MethodArgumentCouldBeFinal Parameter 'fromPath' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'toText' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'fromText' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'toFile' is not assigned and could be declared final 3 42

model - com/jsql/model/accessible/vendor/postgres/Library.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Library' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 7
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'createFunction' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'loFromText' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'loToFile' is not assigned and could be declared final 3 51

model - com/jsql/model/accessible/vendor/postgres/ModelYamlPostgres.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
DataClass The class 'ModelYamlPostgres' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 6
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 15
MethodArgumentCouldBeFinal Parameter 'file' is not assigned and could be declared final 3 23

model - com/jsql/model/accessible/vendor/postgres/Program.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Program' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 7
MethodArgumentCouldBeFinal Parameter 'run' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'getResult' is not assigned and could be declared final 3 24

model - com/jsql/model/accessible/vendor/postgres/Read.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Read 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Read' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'fromDataFolder' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'fromTempTable' is not assigned and could be declared final 3 33

model - com/jsql/model/accessible/vendor/postgres/Sql.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Sql 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Sql' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 7
MethodArgumentCouldBeFinal Parameter 'dropTable' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'createTable' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'confirm' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'resultCmd' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'runCmd' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'clean' is not assigned and could be declared final 3 61
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 3 69

model - com/jsql/model/accessible/vendor/postgres/TempTable.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'TempTable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 7
MethodArgumentCouldBeFinal Parameter 'drop' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'add' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'fill' is not assigned and could be declared final 3 33

model - com/jsql/model/accessible/vendor/postgres/Udf.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Udf 4 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Udf' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=26, WMC=26) 3 7
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'plpython' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'plperl' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'plsh' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'runFunc' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'sql' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'dropFunc' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'archive' is not assigned and could be declared final 3 83
MethodArgumentCouldBeFinal Parameter 'program' is not assigned and could be declared final 3 91
MethodArgumentCouldBeFinal Parameter 'pltcl' is not assigned and could be declared final 3 99
MethodArgumentCouldBeFinal Parameter 'plr' is not assigned and could be declared final 3 107
MethodArgumentCouldBeFinal Parameter 'pllua' is not assigned and could be declared final 3 115
MethodArgumentCouldBeFinal Parameter 'library' is not assigned and could be declared final 3 123

model - com/jsql/model/accessible/vendor/postgres/Write.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 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 5
MethodArgumentCouldBeFinal Parameter 'largeObject' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'tempTable' is not assigned and could be declared final 3 22

model - com/jsql/model/accessible/vendor/sqlite/Extension.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
AtLeastOneConstructor Each class should declare at least one constructor 3 7
DataClass The class 'Extension' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 7
MethodArgumentCouldBeFinal Parameter 'fileioRead' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'fileioWrite' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'fileioLs' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'exec' is not assigned and could be declared final 3 42

model - com/jsql/model/accessible/vendor/sqlite/ModelYamlSqlite.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
DataClass The class 'ModelYamlSqlite' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'writeFile' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'udf' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'extension' is not assigned and could be declared final 3 34

model - com/jsql/model/bean/database/AbstractElementDatabase.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 15
CommentSize Comment is too large: Line too long 3 17
CommentSize Comment is too large: Line too long 3 19
AtLeastOneConstructor Each class should declare at least one constructor 3 21
MethodArgumentCouldBeFinal Parameter 'elementValue' is not assigned and could be declared final 3 53

model - com/jsql/model/bean/database/Column.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
MethodArgumentCouldBeFinal Parameter 'newColumnName' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'newTableName' is not assigned and could be declared final 3 27

model - com/jsql/model/bean/database/Database.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 32
MethodArgumentCouldBeFinal Parameter 'databaseName' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'tableCount' is not assigned and could be declared final 3 32
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 59

model - com/jsql/model/bean/database/MockElement.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 3

model - com/jsql/model/bean/database/Table.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 37
MethodArgumentCouldBeFinal Parameter 'tableName' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'rowCount' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'parentDatabase' is not assigned and could be declared final 3 37
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 69

model - com/jsql/model/bean/util/Header.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like INDEX_ERROR_STRATEGY 3 9

model - com/jsql/model/bean/util/HttpHeader.java

Rule Violation Priority Line
DataClass The class 'HttpHeader' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=5, WMC=7) 3 8
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'post' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 44

model - com/jsql/model/bean/util/Interaction.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 3
LongVariable Avoid excessively long variable names like CREATE_ADMIN_PAGE_TAB 3 9
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_WEB 3 11
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_SQL 3 12
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_MYSQL 3 13
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_ORACLE 3 14
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_EXTENSION_POSTGRES 3 15
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_WAL_POSTGRES 3 16
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_LIBRARY_POSTGRES 3 17
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_PROGRAM_POSTGRES 3 18
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_SQLITE 3 19
LongVariable Avoid excessively long variable names like ADD_TAB_EXPLOIT_UDF_H2 3 20
LongVariable Avoid excessively long variable names like CREATE_ANALYSIS_REPORT 3 22
LongVariable Avoid excessively long variable names like START_INDETERMINATE_PROGRESS 3 26
LongVariable Avoid excessively long variable names like END_INDETERMINATE_PROGRESS 3 27
LongVariable Avoid excessively long variable names like MARK_FILE_SYSTEM_INVULNERABLE 3 31
LongVariable Avoid excessively long variable names like MARK_FILE_SYSTEM_VULNERABLE 3 32
LongVariable Avoid excessively long variable names like GET_TERMINAL_RESULT 3 33
LongVariable Avoid excessively long variable names like MARK_MULTIBIT_INVULNERABLE 3 35
LongVariable Avoid excessively long variable names like MARK_MULTIBIT_STRATEGY 3 36
LongVariable Avoid excessively long variable names like MARK_MULTIBIT_VULNERABLE 3 37
LongVariable Avoid excessively long variable names like MARK_BLIND_BIT_INVULNERABLE 3 38
LongVariable Avoid excessively long variable names like MARK_BLIND_BIT_STRATEGY 3 39
LongVariable Avoid excessively long variable names like MARK_BLIND_BIT_VULNERABLE 3 40
LongVariable Avoid excessively long variable names like MARK_BLIND_BIN_INVULNERABLE 3 41
LongVariable Avoid excessively long variable names like MARK_BLIND_BIN_STRATEGY 3 42
LongVariable Avoid excessively long variable names like MARK_BLIND_BIN_VULNERABLE 3 43
LongVariable Avoid excessively long variable names like MARK_ERROR_INVULNERABLE 3 44
LongVariable Avoid excessively long variable names like MARK_ERROR_STRATEGY 3 45
LongVariable Avoid excessively long variable names like MARK_ERROR_VULNERABLE 3 46
LongVariable Avoid excessively long variable names like MARK_UNION_INVULNERABLE 3 47
LongVariable Avoid excessively long variable names like MARK_UNION_STRATEGY 3 48
LongVariable Avoid excessively long variable names like MARK_UNION_VULNERABLE 3 49
LongVariable Avoid excessively long variable names like MARK_TIME_INVULNERABLE 3 50
LongVariable Avoid excessively long variable names like MARK_TIME_STRATEGY 3 51
LongVariable Avoid excessively long variable names like MARK_TIME_VULNERABLE 3 52
LongVariable Avoid excessively long variable names like MARK_STACK_INVULNERABLE 3 53
LongVariable Avoid excessively long variable names like MARK_STACK_STRATEGY 3 54
LongVariable Avoid excessively long variable names like MARK_STACK_VULNERABLE 3 55
LongVariable Avoid excessively long variable names like MARK_DNS_INVULNERABLE 3 56
LongVariable Avoid excessively long variable names like MARK_DNS_VULNERABLE 3 58
LongVariable Avoid excessively long variable names like DATABASE_IDENTIFIED 3 65
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 71

model - com/jsql/model/bean/util/Request.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
AtLeastOneConstructor Each class should declare at least one constructor 3 17
DataClass The class 'Request' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 17
MethodReturnsInternalArray Returning 'parameters' may expose an internal array. 3 37
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'parameters' is not assigned and could be declared final 3 44
ArrayIsStoredDirectly The user-supplied array 'parameters' is stored directly. 3 45

model - com/jsql/model/exception/AbstractSlidingException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 5
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 7
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 3 9
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 11
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 18
ShortVariable Avoid variables with short names like e 3 18
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 25
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 25
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 35
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 35
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 3 35
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 3 35

model - com/jsql/model/exception/InjectionFailureException.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 24
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 28
ShortVariable Avoid variables with short names like e 3 28
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 28

model - com/jsql/model/exception/JSqlException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 9
ShortVariable Avoid variables with short names like e 3 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 9
ShortVariable Avoid variables with short names like e 3 13
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 13

model - com/jsql/model/exception/JSqlRuntimeException.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 5
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 9
ShortVariable Avoid variables with short names like e 3 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 9
ShortVariable Avoid variables with short names like e 3 13
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 13

model - com/jsql/model/exception/LoopDetectedSlidingException.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 20
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 20
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 3 20
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 3 20

model - com/jsql/model/exception/StoppedByUserSlidingException.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
LongVariable Avoid excessively long variable names like STR_STOPPED_BY_USER 3 20
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 26
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 26
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 30
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 30
LongVariable Avoid excessively long variable names like slidingWindowCurrentRows 3 30
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRows' is not assigned and could be declared final 3 30

model - com/jsql/model/injection/method/AbstractMethodInjection.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 34
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
CommentSize Comment is too large: Line too long 3 48
CommentSize Comment is too large: Line too long 3 51
PrematureDeclaration Declaration of 'hasFoundInjection' can be moved closer to its usages 3 54
UseExplicitTypes Use Explicit Types 3 54
UnusedAssignment The initializer for variable 'hasFoundInjection' is never used (overwritten on lines 73, 75 and 77) 3 54
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
CompareObjectsWithEquals Use equals() to compare object references. 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 62
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 66
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 71
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7478
LocalVariableCouldBeFinal Local variable 'parameterToInject' could be declared final 3 83
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 87
LocalVariableCouldBeFinal Local variable 'parameterToInject' could be declared final 3 97
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 100
LocalVariableCouldBeFinal Local variable 'paramBase' could be declared final 3 112
LocalVariableCouldBeFinal Local variable 'paramStar' could be declared final 3 116
CompareObjectsWithEquals Use equals() to compare object references. 3 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 120
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 3 131
LocalVariableCouldBeFinal Local variable 'hasFoundInjection' could be declared final 3 132
LocalVariableCouldBeFinal Local variable 'jsonEntity' could be declared final 3 135
LocalVariableCouldBeFinal Local variable 'attributesJson' could be declared final 3 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 143
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 144
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 3 151
UseExplicitTypes Use Explicit Types 3 152
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 168

model - com/jsql/model/injection/method/MediatorMethod.java

Rule Violation Priority Line
DataClass The class 'MediatorMethod' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3 9
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 45
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 49
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 68

model - com/jsql/model/injection/strategy/AbstractStrategy.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like KEY_LOG_CHECKING_STRATEGY 3 25
LongVariable Avoid excessively long variable names like KEY_LOG_VULNERABLE 3 26
LongVariable Avoid excessively long variable names like FORMAT_STRATEGY_NOT_IMPLEMENTED 3 27
LongVariable Avoid excessively long variable names like FORMAT_SKIP_STRATEGY_DISABLED 3 28
LongVariable Avoid excessively long variable names like FORMAT_CHECKING_STRATEGY 3 29
RedundantFieldInitializer Avoid using redundant field initializer for 'isApplicable' 3 34
AvoidFieldNameMatchingMethodName Field isApplicable has the same name as a method 3 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 38
ShortVariable Avoid variables with short names like i 3 50
ShortVariable Avoid variables with short names like i 3 55
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 61
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 88
LongVariable Avoid excessively long variable names like indexErrorStrategy 3 88
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 3 88
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 89
UseExplicitTypes Use Explicit Types 3 89
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 92
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 93
MethodArgumentCouldBeFinal Parameter 'isApplicable' is not assigned and could be declared final 3 117

model - com/jsql/model/injection/strategy/DnsServer.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 3 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 26
LocalVariableCouldBeFinal Local variable 'port' could be declared final 3 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 37
LocalVariableCouldBeFinal Local variable 'domainName' could be declared final 3 38
UseExplicitTypes Use Explicit Types 3 38
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 38
UseExplicitTypes Use Explicit Types 3 40
LocalVariableCouldBeFinal Local variable 'buffer' could be declared final 3 44
LocalVariableCouldBeFinal Local variable 'packet' could be declared final 3 46
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 46
LocalVariableCouldBeFinal Local variable 'query' could be declared final 3 49
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 49
LocalVariableCouldBeFinal Local variable 'question' could be declared final 3 50
LocalVariableCouldBeFinal Local variable 'name' could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 58
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 58
UseUnderscoresInNumericLiterals Number 86400 should separate every third digit with an underscore 3 67
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 68
LocalVariableCouldBeFinal Local variable 'responseData' could be declared final 3 74
LocalVariableCouldBeFinal Local variable 'responsePacket' could be declared final 3 75
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 7580

model - com/jsql/model/injection/strategy/MediatorStrategy.java

Rule Violation Priority Line
DataClass The class 'MediatorStrategy' is suspected to be a Data Class (WOC=26.667%, NOPA=0, NOAM=11, WMC=31) 3 19
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 41
LocalVariableCouldBeFinal Local variable 'strategyName' could be declared final 3 57
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 57
UseExplicitTypes Use Explicit Types 3 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
CommentSize Comment is too large: Too many lines 3 6775
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'isUsingIndex' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 76
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7991
MethodArgumentCouldBeFinal Parameter 'sqlTrail' is not assigned and could be declared final 3 96
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 99
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 117
CommentSize Comment is too large: Line too long 3 126
CommentSize Comment is too large: Line too long 3 129
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 3 131
LongVariable Avoid excessively long variable names like parameterOriginalValue 3 134
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 137
LongVariable Avoid excessively long variable names like characterInsertionByUser 3 149
LocalVariableCouldBeFinal Local variable 'characterInsertionByUser' could be declared final 3 149
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 149
LongVariable Avoid excessively long variable names like characterInsertion 3 151
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 3 151
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 151
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 159
LongVariable Avoid excessively long variable names like characterInsertion 3 160
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 3 160
LocalVariableCouldBeFinal Local variable 'urlBase' could be declared final 3 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 162
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 168
CompareObjectsWithEquals Use equals() to compare object references. 3 168
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 168
CommentSize Comment is too large: Line too long 3 172
LongVariable Avoid excessively long variable names like backupCharacterInsertion 3 180
LocalVariableCouldBeFinal Local variable 'backupCharacterInsertion' could be declared final 3 180
UseExplicitTypes Use Explicit Types 3 180
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 203
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 211
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 3 264

model - com/jsql/model/injection/strategy/StrategyBlindBin.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
LongVariable Avoid excessively long variable names like requestMessageBinary 3 62
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 71
ShortVariable Avoid variables with short names like i 3 96
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
ShortVariable Avoid variables with short names like i 3 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 117
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 3 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 136
UseExplicitTypes Use Explicit Types 3 136

model - com/jsql/model/injection/strategy/StrategyBlindBit.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
LongVariable Avoid excessively long variable names like requestMessageBinary 3 62
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 71
ShortVariable Avoid variables with short names like i 3 96
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
ShortVariable Avoid variables with short names like i 3 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 117
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 3 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 136
UseExplicitTypes Use Explicit Types 3 136

model - com/jsql/model/injection/strategy/StrategyDns.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 44
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 46
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 53
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 55
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 57
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 63
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 80
LongVariable Avoid excessively long variable names like vendorSpecificWithOperator 3 92
LocalVariableCouldBeFinal Local variable 'vendorSpecificWithOperator' could be declared final 3 92
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 92
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 95
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 102
LocalVariableCouldBeFinal Local variable 'domainName' could be declared final 3 106
UseExplicitTypes Use Explicit Types 3 106
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 106
ShortVariable Avoid variables with short names like i 3 125
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 129
ShortVariable Avoid variables with short names like i 3 143
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 148
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 148
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 148
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 148
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 149
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 150
LocalVariableCouldBeFinal Local variable 'domainName' could be declared final 3 161
UseExplicitTypes Use Explicit Types 3 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 161
LongVariable Avoid excessively long variable names like regexToMatchTamperTags 3 162
LocalVariableCouldBeFinal Local variable 'regexToMatchTamperTags' could be declared final 3 162
LocalVariableCouldBeFinal Local variable 'matcherSql' could be declared final 3 163
UseExplicitTypes Use Explicit Types 3 163
MethodArgumentCouldBeFinal Parameter 'maxTime' is not assigned and could be declared final 3 173
LocalVariableCouldBeFinal Local variable 'waitTime' could be declared final 3 177
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 178
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 182
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 192
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 200
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 202
UseExplicitTypes Use Explicit Types 3 202

model - com/jsql/model/injection/strategy/StrategyError.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like indexErrorStrategy 3 25
RedundantFieldInitializer Avoid using redundant field initializer for 'indexErrorStrategy' 3 25
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 27
LocalVariableCouldBeFinal Local variable 'strategyYaml' could be declared final 3 36
UseExplicitTypes Use Explicit Types 3 36
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 38
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 40
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 46
UseExplicitTypes Use Explicit Types 3 54
UseExplicitTypes Use Explicit Types 3 55
LocalVariableCouldBeFinal Local variable 'errorMethod' could be declared final 3 57
LongVariable Avoid excessively long variable names like methodIsApplicable 3 58
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 83
LongVariable Avoid excessively long variable names like methodIsApplicable 3 84
UseExplicitTypes Use Explicit Types 3 84
LongVariable Avoid excessively long variable names like performanceSourcePage 3 86
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 3 86
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 87
LocalVariableCouldBeFinal Local variable 'indexZeroToFind' could be declared final 3 91
UseExplicitTypes Use Explicit Types 3 91
LocalVariableCouldBeFinal Local variable 'regexIndexZero' could be declared final 3 92
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 100
LongVariable Avoid excessively long variable names like performanceErrorSourcePage 3 101
LocalVariableCouldBeFinal Local variable 'performanceErrorSourcePage' could be declared final 3 101
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 102
MethodArgumentCouldBeFinal Parameter 'indexErrorMethod' is not assigned and could be declared final 3 108
LongVariable Avoid excessively long variable names like errorCapacityDefault 3 108
MethodArgumentCouldBeFinal Parameter 'errorCapacityDefault' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'regexSearch' is not assigned and could be declared final 3 108
LongVariable Avoid excessively long variable names like errorCapacityImproved 3 109
UnusedAssignment The value assigned to field 'indexErrorStrategy' is never used (reassigned every iteration) 3 114
LongVariable Avoid excessively long variable names like logErrorCapacityImproved 3 120
LocalVariableCouldBeFinal Local variable 'logErrorCapacityImproved' could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 3 133
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 146
MethodArgumentCouldBeFinal Parameter 'indexError' is not assigned and could be declared final 3 159
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 164
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 164
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 164
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 164
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 166
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 173
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 179
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 182
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 184
UseExplicitTypes Use Explicit Types 3 184
LongVariable Avoid excessively long variable names like indexErrorStrategy 3 204
MethodArgumentCouldBeFinal Parameter 'indexErrorStrategy' is not assigned and could be declared final 3 204

model - com/jsql/model/injection/strategy/StrategyMultibit.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
LongVariable Avoid excessively long variable names like requestMessageBinary 3 59
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 3 59
UseExplicitTypes Use Explicit Types 3 59
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 68
ShortVariable Avoid variables with short names like i 3 85
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 89
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 90
ShortVariable Avoid variables with short names like i 3 106
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 111
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 111
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 111
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 113
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 120
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 127
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 129
UseExplicitTypes Use Explicit Types 3 129

model - com/jsql/model/injection/strategy/StrategyStack.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 25
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 31
LocalVariableCouldBeFinal Local variable 'strategyYaml' could be declared final 3 38
UseExplicitTypes Use Explicit Types 3 38
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 38
LocalVariableCouldBeFinal Local variable 'configurationYaml' could be declared final 3 39
UseExplicitTypes Use Explicit Types 3 39
LongVariable Avoid excessively long variable names like methodIsApplicable 3 43
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 3 45
ConfusingTernary Avoid if (x != y) ..; else ..; 3 4656
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 3 72
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 3 72
LongVariable Avoid excessively long variable names like methodIsApplicable 3 73
UseExplicitTypes Use Explicit Types 3 73
LocalVariableCouldBeFinal Local variable 'indexZeroToFind' could be declared final 3 74
UseExplicitTypes Use Explicit Types 3 74
LongVariable Avoid excessively long variable names like performanceSourcePage 3 75
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 3 75
LocalVariableCouldBeFinal Local variable 'regexIndexZero' could be declared final 3 85
MethodArgumentCouldBeFinal Parameter 'configurationYaml' is not assigned and could be declared final 3 93
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 3 93
LongVariable Avoid excessively long variable names like performanceSourcePage 3 94
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 3 94
ShortVariable Avoid variables with short names like i 3 108
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 112
ShortVariable Avoid variables with short names like i 3 120
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 125
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 125
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 125
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 125
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 127
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 141
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 143
UseExplicitTypes Use Explicit Types 3 143

model - com/jsql/model/injection/strategy/StrategyTime.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
LongVariable Avoid excessively long variable names like requestMessageBinary 3 62
LocalVariableCouldBeFinal Local variable 'requestMessageBinary' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 71
ShortVariable Avoid variables with short names like i 3 96
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
ShortVariable Avoid variables with short names like i 3 112
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'stoppable' is not assigned and could be declared final 3 117
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 117
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getBlindOperator` on foreign value `this.injection` (degree 1) 3 132
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 134
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 136
UseExplicitTypes Use Explicit Types 3 136

model - com/jsql/model/injection/strategy/StrategyUnion.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like sourceIndexesFound 3 29
RedundantFieldInitializer Avoid using redundant field initializer for 'nbIndexesFound' 3 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
CommentSize Comment is too large: Line too long 3 49
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 55
ShortVariable Avoid variables with short names like i 3 74
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 78
ShortVariable Avoid variables with short names like i 3 86
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 91
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 91
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 91
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 91
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 93
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 100
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 107
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 109
UseExplicitTypes Use Explicit Types 3 109
LongVariable Avoid excessively long variable names like firstSuccessPageSource 3 122
MethodArgumentCouldBeFinal Parameter 'firstSuccessPageSource' is not assigned and could be declared final 3 122
LocalVariableCouldBeFinal Local variable 'regexAllIndexes' could be declared final 3 125
UseExplicitTypes Use Explicit Types 3 126
LocalVariableCouldBeFinal Local variable 'foundIndexes' could be declared final 3 128
LocalVariableCouldBeFinal Local variable 'indexes' could be declared final 3 133
LongVariable Avoid excessively long variable names like regexAllExceptIndexesFound 3 136
LocalVariableCouldBeFinal Local variable 'regexAllExceptIndexesFound' could be declared final 3 136
LocalVariableCouldBeFinal Local variable 'performanceQuery' could be declared final 3 145
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 145
LongVariable Avoid excessively long variable names like performanceSourcePage 3 146
LocalVariableCouldBeFinal Local variable 'performanceSourcePage' could be declared final 3 146
LongVariable Avoid excessively long variable names like performanceResults 3 152
LocalVariableCouldBeFinal Local variable 'performanceResults' could be declared final 3 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 159
LocalVariableCouldBeFinal Local variable 'lengthFields' could be declared final 3 165
UseExplicitTypes Use Explicit Types 3 165
UseExplicitTypes Use Explicit Types 3 167
LocalVariableCouldBeFinal Local variable 'bestLengthFields' could be declared final 3 176
LongVariable Avoid excessively long variable names like regexAllIndexesExceptBest 3 180
LocalVariableCouldBeFinal Local variable 'regexAllIndexesExceptBest' could be declared final 3 180
MethodArgumentCouldBeFinal Parameter 'visibleIndex' is not assigned and could be declared final 3 208
LongVariable Avoid excessively long variable names like sourceIndexesFound 3 212
MethodArgumentCouldBeFinal Parameter 'sourceIndexesFound' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'nbIndexesFound' is not assigned and could be declared final 3 220

model - com/jsql/model/injection/strategy/blind/AbstractInjectionBit.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like OR 3 28
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 34
LongVariable Avoid excessively long variable names like taskCompletionService 3 49
LongVariable Avoid excessively long variable names like countTasksSubmitted 3 50
CyclomaticComplexity The method 'inject(String, AbstractSuspendable)' has a cyclomatic complexity of 10. 3 68
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 68
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 3 68
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 3 71
LocalVariableCouldBeFinal Local variable 'indexChar' could be declared final 3 72
UseExplicitTypes Use Explicit Types 3 72
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 75
LongVariable Avoid excessively long variable names like taskCompletionService 3 76
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 3 76
LongVariable Avoid excessively long variable names like countTasksSubmitted 3 78
LocalVariableCouldBeFinal Local variable 'countTasksSubmitted' could be declared final 3 78
UseExplicitTypes Use Explicit Types 3 78
LocalVariableCouldBeFinal Local variable 'countBadAsciiCode' could be declared final 3 79
UseExplicitTypes Use Explicit Types 3 79
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 3 92
UseExplicitTypes Use Explicit Types 3 92
CommentSize Comment is too large: Line too long 3 95
LocalVariableCouldBeFinal Local variable 'isComplete' could be declared final 3 97
UseExplicitTypes Use Explicit Types 3 97
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 102
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 109
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 120
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 121
UseExplicitTypes Use Explicit Types 3 121
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 122
LocalVariableCouldBeFinal Local variable 'charCode' could be declared final 3 124
UseExplicitTypes Use Explicit Types 3 124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 124
LocalVariableCouldBeFinal Local variable 'str' could be declared final 3 125
UseExplicitTypes Use Explicit Types 3 125
EmptyCatchBlock Avoid empty catch blocks 3 127129
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 135
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 137
LocalVariableCouldBeFinal Local variable 'maskAsciiChar' could be declared final 3 141
LocalVariableCouldBeFinal Local variable 'asciiCodeBit' could be declared final 3 142
UseExplicitTypes Use Explicit Types 3 142
UseExplicitTypes Use Explicit Types 3 143
LocalVariableCouldBeFinal Local variable 'asciiCode' could be declared final 3 147
UseExplicitTypes Use Explicit Types 3 147
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 149151
AvoidLiteralsInIfCondition Avoid using literals such as 15 in if statements 3 149
LocalVariableCouldBeFinal Local variable 'interaction' could be declared final 3 157
UseExplicitTypes Use Explicit Types 3 157
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 173
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 173
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 3 173
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 174
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 177
UseExplicitTypes Use Explicit Types 3 177
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 179
LocalVariableCouldBeFinal Local variable 'charCode' could be declared final 3 181
UseExplicitTypes Use Explicit Types 3 181
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 181
LocalVariableCouldBeFinal Local variable 'str' could be declared final 3 182
UseExplicitTypes Use Explicit Types 3 182
EmptyCatchBlock Avoid empty catch blocks 3 184187
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 197
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 197
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 197
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 201
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 201
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 201

model - com/jsql/model/injection/strategy/blind/AbstractInjectionMonobit.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 12
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 12
CommentDefaultAccessModifier Missing commented default access modifier on method 'getCallableBitTest(String, int, int)' 3 16
MissingOverride The method 'initNextChar(String, List<char[]>, AtomicInteger, CompletionService<T>, AtomicInteger, AtomicInteger, T)' is missing an @Override annotation. 3 18
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 20
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 21
LongVariable Avoid excessively long variable names like taskCompletionService 3 22
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 22
LongVariable Avoid excessively long variable names like countTasksSubmitted 3 23
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 3 23
CommentSize Comment is too large: Line too long 3 33
LocalVariableCouldBeFinal Local variable 'bit' could be declared final 3 35
MissingOverride The method 'initMaskAsciiChar(List<char[]>, T)' is missing an @Override annotation. 3 47
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 47
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 47
LocalVariableCouldBeFinal Local variable 'asciiCodeMask' could be declared final 3 48
LocalVariableCouldBeFinal Local variable 'positionInMask' could be declared final 3 49

model - com/jsql/model/injection/strategy/blind/InjectionBlindBin.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like sourceReferencePage 3 32
ImmutableField Field 'sourceReferencePage' may be declared final 3 32
CyclomaticComplexity The constructor 'InjectionBlindBin(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 3 48
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 48
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 48
LocalVariableCouldBeFinal Local variable 'falsys' could be declared final 3 51
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 51
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 1 57
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 57
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 61
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 61
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
LocalVariableCouldBeFinal Local variable 'callablesFalsys' could be declared final 3 62
LocalVariableCouldBeFinal Local variable 'falsy' could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'futuresFalsys' could be declared final 3 78
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 78
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 79
LocalVariableCouldBeFinal Local variable 'futureFalsy' could be declared final 3 80
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 94
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 104
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 104
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 105
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 105
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 105
LocalVariableCouldBeFinal Local variable 'callablesTruthys' could be declared final 3 106
LocalVariableCouldBeFinal Local variable 'truthys' could be declared final 3 107
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 107
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 3 108
CommentSize Comment is too large: Line too long 3 119
LocalVariableCouldBeFinal Local variable 'futuresTruthys' could be declared final 3 121
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 122
LocalVariableCouldBeFinal Local variable 'futureTruthy' could be declared final 3 123
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 138
LocalVariableCouldBeFinal Local variable 'blindTest' could be declared final 3 152
UseExplicitTypes Use Explicit Types 3 152
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 153
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 162
CommentSize Comment is too large: Line too long 3 166
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 173
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 174
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 175
LongVariable Avoid excessively long variable names like taskCompletionService 3 176
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 176
LongVariable Avoid excessively long variable names like countTasksSubmitted 3 177
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 3 177
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 3 178
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 179
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'countBadAsciiCode' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 3 223
LocalVariableCouldBeFinal Local variable 'asciiCodeMask' could be declared final 3 230
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 236
MethodArgumentCouldBeFinal Parameter 'asciiCodeMask' is not assigned and could be declared final 3 244
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 244
LocalVariableCouldBeFinal Local variable 'binary' could be declared final 3 245
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 252
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 252

model - com/jsql/model/injection/strategy/blind/InjectionBlindBit.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like sourceReferencePage 3 27
ImmutableField Field 'sourceReferencePage' may be declared final 3 27
CyclomaticComplexity The constructor 'InjectionBlindBit(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. 3 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 43
LocalVariableCouldBeFinal Local variable 'falsys' could be declared final 3 46
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 46
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 1 52
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 52
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 56
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 56
LocalVariableCouldBeFinal Local variable 'callablesFalsys' could be declared final 3 57
LocalVariableCouldBeFinal Local variable 'falsy' could be declared final 3 58
LocalVariableCouldBeFinal Local variable 'futuresFalsys' could be declared final 3 72
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 73
LocalVariableCouldBeFinal Local variable 'futureFalsy' could be declared final 3 74
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 88
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 98
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 98
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 99
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 99
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 99
LocalVariableCouldBeFinal Local variable 'callablesTruthys' could be declared final 3 100
LocalVariableCouldBeFinal Local variable 'truthys' could be declared final 3 101
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 101
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 3 102
CommentSize Comment is too large: Line too long 3 112
LocalVariableCouldBeFinal Local variable 'futuresTruthys' could be declared final 3 114
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 115
LocalVariableCouldBeFinal Local variable 'futureTruthy' could be declared final 3 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 131
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 136
LocalVariableCouldBeFinal Local variable 'callable' could be declared final 3 153
UseExplicitTypes Use Explicit Types 3 153
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 154
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 162
CommentSize Comment is too large: Line too long 3 166

model - com/jsql/model/injection/strategy/blind/InjectionCharInsertion.java

Rule Violation Priority Line
ImmutableField Field 'blankFalseMark' may be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 52
LongVariable Avoid excessively long variable names like falseCharInsertion 3 52
MethodArgumentCouldBeFinal Parameter 'falseCharInsertion' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'prefixSuffix' is not assigned and could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 3 56
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 56
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 57
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionCharInsertion.callUrl(String, String) 1 6568
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 72
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 72
LongVariable Avoid excessively long variable names like listCallableTagTrue 3 73
LocalVariableCouldBeFinal Local variable 'listCallableTagTrue' could be declared final 3 73
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 3 75
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 81
LocalVariableCouldBeFinal Local variable 'listTagTrue' could be declared final 3 94
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 94
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 95
UseExplicitTypes Use Explicit Types 3 96
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 111
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 120
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 120
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 120
LongVariable Avoid excessively long variable names like listCallableTagFalse 3 121
LocalVariableCouldBeFinal Local variable 'listCallableTagFalse' could be declared final 3 121
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 3 123
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 129
LocalVariableCouldBeFinal Local variable 'listTagFalse' could be declared final 3 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 143
LocalVariableCouldBeFinal Local variable 'falseTag' could be declared final 3 145
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 155
LocalVariableCouldBeFinal Local variable 'blindTest' could be declared final 3 163
UseExplicitTypes Use Explicit Types 3 163
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 167
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 168
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 175
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 181
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 181
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 181
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 185
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 185
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 185
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 185

model - com/jsql/model/injection/strategy/blind/InjectionMultibit.java

Rule Violation Priority Line
ImmutableField Field 'sourceReference' may be declared final 3 25
LongVariable Avoid excessively long variable names like diffsCommonWithAllIds 3 27
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 30
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String) (call stack: [AbstractInjectionBit<T extends AbstractCallableBit<T>>.callUrl(String, String)]) 1 37
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 38
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 38
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 38
LocalVariableCouldBeFinal Local variable 'callablesId' could be declared final 3 39
LocalVariableCouldBeFinal Local variable 'futuresId' could be declared final 3 52
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 53
LocalVariableCouldBeFinal Local variable 'futureId' could be declared final 3 55
LongVariable Avoid excessively long variable names like diffsWithReference 3 56
LocalVariableCouldBeFinal Local variable 'diffsWithReference' could be declared final 3 56
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 58
LocalVariableCouldBeFinal Local variable 'diffById' could be declared final 3 65
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 72
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 76
LocalVariableCouldBeFinal Local variable 'callableBlock1' could be declared final 3 92
UseExplicitTypes Use Explicit Types 3 92
LocalVariableCouldBeFinal Local variable 'callableBlock2' could be declared final 3 93
UseExplicitTypes Use Explicit Types 3 93
LocalVariableCouldBeFinal Local variable 'callableBlock3' could be declared final 3 94
UseExplicitTypes Use Explicit Types 3 94
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 109
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 110
LongVariable Avoid excessively long variable names like taskCompletionService 3 111
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 111
LongVariable Avoid excessively long variable names like countTasksSubmitted 3 112
MethodArgumentCouldBeFinal Parameter 'countTasksSubmitted' is not assigned and could be declared final 3 112
LocalVariableCouldBeFinal Local variable 'block' could be declared final 3 118
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 131
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 131
LocalVariableCouldBeFinal Local variable 'asciiCodeMask' could be declared final 3 133
MethodArgumentCouldBeFinal Parameter 'currentCallable' is not assigned and could be declared final 3 141
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 141
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 3 141
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 142
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 144
AvoidLiteralsInIfCondition Avoid using literals such as 3 in if statements 3 146
MethodArgumentCouldBeFinal Parameter 'idPage' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 'bits' is not assigned and could be declared final 3 154
ShortVariable Avoid variables with short names like i1 3 154
MethodArgumentCouldBeFinal Parameter 'i1' is not assigned and could be declared final 3 154
ShortVariable Avoid variables with short names like i2 3 154
MethodArgumentCouldBeFinal Parameter 'i2' is not assigned and could be declared final 3 154
ShortVariable Avoid variables with short names like i3 3 154
MethodArgumentCouldBeFinal Parameter 'i3' is not assigned and could be declared final 3 154
LocalVariableCouldBeFinal Local variable 'idPageBinary' could be declared final 3 155
LongVariable Avoid excessively long variable names like idPageBinaryPadded 3 156
LocalVariableCouldBeFinal Local variable 'idPageBinaryPadded' could be declared final 3 156

model - com/jsql/model/injection/strategy/blind/InjectionTime.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 28
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 37
LocalVariableCouldBeFinal Local variable 'falsys' could be declared final 3 40
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 40
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 47
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 47
LocalVariableCouldBeFinal Local variable 'callablesFalsys' could be declared final 3 48
LocalVariableCouldBeFinal Local variable 'falsy' could be declared final 3 49
LocalVariableCouldBeFinal Local variable 'futuresFalsys' could be declared final 3 63
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 64
LocalVariableCouldBeFinal Local variable 'futureFalsy' could be declared final 3 65
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 78
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 84
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 85
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 85
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 85
LocalVariableCouldBeFinal Local variable 'callablesTruthys' could be declared final 3 86
LocalVariableCouldBeFinal Local variable 'truthys' could be declared final 3 87
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 87
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 3 88
LocalVariableCouldBeFinal Local variable 'futuresTruthys' could be declared final 3 100
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 100
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 101
LocalVariableCouldBeFinal Local variable 'futureTruthy' could be declared final 3 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 115
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 120
LocalVariableCouldBeFinal Local variable 'callable' could be declared final 3 137
UseExplicitTypes Use Explicit Types 3 137
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 138
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 154

model - com/jsql/model/injection/strategy/blind/InjectionVendor.java

Rule Violation Priority Line
ImmutableField Field 'blankFalseMark' may be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 34
LongVariable Avoid excessively long variable names like vendorSpecificWithOperator 3 34
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithOperator' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 34
LocalVariableCouldBeFinal Local variable 'truthy' could be declared final 3 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 37
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 38
ConstructorCallsOverridableMethod Overridable method called during object construction: InjectionVendor.callUrl(String, String) 1 4649
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 53
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 53
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 53
LongVariable Avoid excessively long variable names like listCallableTagTrue 3 54
LocalVariableCouldBeFinal Local variable 'listCallableTagTrue' could be declared final 3 54
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 3 55
LocalVariableCouldBeFinal Local variable 'listTagTrue' could be declared final 3 69
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 70
UseExplicitTypes Use Explicit Types 3 72
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 86
LongVariable Avoid excessively long variable names like vendorSpecificWithMode 3 92
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 3 92
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 95
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 95
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 95
LongVariable Avoid excessively long variable names like listCallableTagFalse 3 96
LocalVariableCouldBeFinal Local variable 'listCallableTagFalse' could be declared final 3 96
LocalVariableCouldBeFinal Local variable 'urlTest' could be declared final 3 97
LocalVariableCouldBeFinal Local variable 'listTagFalse' could be declared final 3 111
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 111
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 112
LocalVariableCouldBeFinal Local variable 'falseTag' could be declared final 3 113
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 123
LongVariable Avoid excessively long variable names like vendorSpecificWithMode 3 127
MethodArgumentCouldBeFinal Parameter 'vendorSpecificWithMode' is not assigned and could be declared final 3 127
LocalVariableCouldBeFinal Local variable 'blindTest' could be declared final 3 132
UseExplicitTypes Use Explicit Types 3 132
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 133
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 139
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 146
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 146
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 146
MethodArgumentCouldBeFinal Parameter 'urlString' is not assigned and could be declared final 3 150
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 150
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'callableBoolean' is not assigned and could be declared final 3 150

model - com/jsql/model/injection/strategy/blind/callable/AbstractCallableBit.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 8
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultibit' 3 30
AvoidFieldNameMatchingMethodName Field isMultibit has the same name as a method 3 30
RedundantFieldInitializer Avoid using redundant field initializer for 'isBinary' 3 31
AvoidFieldNameMatchingMethodName Field isBinary has the same name as a method 3 31
MethodArgumentCouldBeFinal Parameter 'charText' is not assigned and could be declared final 3 56

model - com/jsql/model/injection/strategy/blind/callable/CallableBlindBin.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 24
LongVariable Avoid excessively long variable names like diffsWithReference 3 24
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 28
CallSuperInConstructor It is a good practice to call super() in a constructor 3 33
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 36
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 3 38
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 39
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 39
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 47
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 55
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 56
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'low' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'high' is not assigned and could be declared final 3 59
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 60
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 60
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 63
LocalVariableCouldBeFinal Local variable 'falseDiffs' could be declared final 3 76
LocalVariableCouldBeFinal Local variable 'falseDiff' could be declared final 3 77
CommentSize Comment is too large: Line too long 3 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 80
LocalVariableCouldBeFinal Local variable 'trueDiffs' could be declared final 3 83
LocalVariableCouldBeFinal Local variable 'trueDiff' could be declared final 3 84
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 86
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 99

model - com/jsql/model/injection/strategy/blind/callable/CallableBlindBit.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 20
LongVariable Avoid excessively long variable names like diffsWithReference 3 20
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 25
CallSuperInConstructor It is a good practice to call super() in a constructor 3 30
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 30
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 30
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 30
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 34
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 44
MethodArgumentCouldBeFinal Parameter 'injectionBlind' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 46
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 47
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 47
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
LocalVariableCouldBeFinal Local variable 'falseDiffs' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'falseDiff' could be declared final 3 65
CommentSize Comment is too large: Line too long 3 67
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 69
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 71
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 72
LocalVariableCouldBeFinal Local variable 'trueDiffs' could be declared final 3 75
LocalVariableCouldBeFinal Local variable 'trueDiff' could be declared final 3 76
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 79
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 81
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 82
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 95

model - com/jsql/model/injection/strategy/blind/callable/CallableCharInsertion.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 18
LongVariable Avoid excessively long variable names like injectionCharInsertion 3 22
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 24
CallSuperInConstructor It is a good practice to call super() in a constructor 3 29
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 29
LongVariable Avoid excessively long variable names like injectionCharInsertion 3 29
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 3 29
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 29
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'copyTrueMarks' could be declared final 3 44
LocalVariableCouldBeFinal Local variable 'trueDiff' 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 48
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 50
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 50
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 51
LocalVariableCouldBeFinal Local variable 'source' could be declared final 3 64

model - com/jsql/model/injection/strategy/blind/callable/CallableMultibit.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 13
LongVariable Avoid excessively long variable names like diffsWithReference 3 13
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 19
CallSuperInConstructor It is a good practice to call super() in a constructor 3 21
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 3 21
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 31
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'injectionMultibit' is not assigned and could be declared final 3 33
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 34
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `injectionModel` (degree 1) 3 37
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 51

model - com/jsql/model/injection/strategy/blind/callable/CallableTime.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 11
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 3 19
ReplaceJavaUtilCalendar Usage of java.util.Calendar should be replaced with classes from java.time 3 24
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 34
CallSuperInConstructor It is a good practice to call super() in a constructor 3 39
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 43
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 44
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 44
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 49
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 56
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 57
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'injectionTime' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 61
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 62
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 62
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 65
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 3 82
ReplaceJavaUtilDate Usage of java.util.Date should be replaced with classes from java.time 3 84
LongVariable Avoid excessively long variable names like timeInMillisOnStart 3 86
LocalVariableCouldBeFinal Local variable 'timeInMillisOnStart' could be declared final 3 86
LocalVariableCouldBeFinal Local variable 'timeInMillisOnEnd' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'diff' could be declared final 3 88

model - com/jsql/model/injection/strategy/blind/callable/CallableVendor.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 13
LongVariable Avoid excessively long variable names like injectionCharInsertion 3 17
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 19
CallSuperInConstructor It is a good practice to call super() in a constructor 3 21
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 21
LongVariable Avoid excessively long variable names like injectionCharInsertion 3 21
MethodArgumentCouldBeFinal Parameter 'injectionCharInsertion' is not assigned and could be declared final 3 21
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 21
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 21
LocalVariableCouldBeFinal Local variable 'copyTrueMarks' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'trueDiff' could be declared final 3 30
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 32
LocalVariableCouldBeFinal Local variable 'source' could be declared final 3 40

model - com/jsql/model/injection/strategy/blind/patch/Diff.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Diff 4 8
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 25
LocalVariableCouldBeFinal Local variable 'prettyText' could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'obj' is not assigned and could be declared final 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 68
LocalVariableCouldBeFinal Local variable 'other' could be declared final 3 71
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 77
MethodArgumentCouldBeFinal Parameter 'diff' is not assigned and could be declared final 3 84
MethodArgumentCouldBeFinal Parameter 'operation' is not assigned and could be declared final 3 95
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 103

model - com/jsql/model/injection/strategy/blind/patch/DiffMatchPatch.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 118
AtLeastOneConstructor Each class should declare at least one constructor 3 45
GodClass Possible God Class (WMC=395, ATFD=353, TCC=0.976%) 3 45
CyclomaticComplexity The class 'DiffMatchPatch' has a total cyclomatic complexity of 395 (highest 32). 3 45
TooManyMethods This class has too many methods, consider refactoring it. 3 452337
LongVariable Avoid excessively long variable names like PATCH_DELETE_THRESHOLD 3 83
MethodArgumentCouldBeFinal Parameter 'chars1' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'chars2' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 3 109
CommentSize Comment is too large: Too many lines 3 128136
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 137
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 137
CommentSize Comment is too large: Too many lines 3 141149
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 150
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 3 150
LocalVariableCouldBeFinal Local variable 'deadline' could be declared final 3 152
CommentSize Comment is too large: Too many lines 3 156167
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 168
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 3 168
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 3 168
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 3 168
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 168
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 179
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 3 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 185
LocalVariableCouldBeFinal Local variable 'commonprefix' could be declared final 3 190
LocalVariableCouldBeFinal Local variable 'commonsuffix' could be declared final 3 196
CommentSize Comment is too large: Too many lines 3 215225
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 226
CyclomaticComplexity The method 'diffCompute(String, String, boolean, long)' has a cyclomatic complexity of 12. 3 226
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'checklines' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 226
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 228
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 233
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 239
LocalVariableCouldBeFinal Local variable 'longtext' could be declared final 3 244
LocalVariableCouldBeFinal Local variable 'shorttext' could be declared final 3 245
ShortVariable Avoid variables with short names like i 3 246
LocalVariableCouldBeFinal Local variable 'i' could be declared final 3 246
ShortVariable Avoid variables with short names like op 3 249
LocalVariableCouldBeFinal Local variable 'op' could be declared final 3 249
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 254
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 257
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 262
ShortVariable Avoid variables with short names like hm 3 267
LocalVariableCouldBeFinal Local variable 'hm' could be declared final 3 267
LocalVariableCouldBeFinal Local variable 'text1A' could be declared final 3 270
LocalVariableCouldBeFinal Local variable 'text1B' could be declared final 3 271
LocalVariableCouldBeFinal Local variable 'text2A' could be declared final 3 272
LocalVariableCouldBeFinal Local variable 'text2B' could be declared final 3 273
LocalVariableCouldBeFinal Local variable 'midCommon' could be declared final 3 274
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 276
LocalVariableCouldBeFinal Local variable 'diffsA' could be declared final 3 276
LocalVariableCouldBeFinal Local variable 'diffsB' could be declared final 3 277
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 282
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 286
CommentSize Comment is too large: Too many lines 3 292300
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 301
CognitiveComplexity The method 'diffLineMode(String, String, long)' has a cognitive complexity of 17, current threshold is 15 3 301
CyclomaticComplexity The method 'diffLineMode(String, String, long)' has a cyclomatic complexity of 10. 3 301
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 3 301
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 3 301
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 301
ShortVariable Avoid variables with short names like b 3 304
LocalVariableCouldBeFinal Local variable 'b' could be declared final 3 304
LocalVariableCouldBeFinal Local variable 'text1' could be declared final 3 305
LocalVariableCouldBeFinal Local variable 'text2' could be declared final 3 306
LocalVariableCouldBeFinal Local variable 'linearray' could be declared final 3 307
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 309
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 3 309
LocalVariableCouldBeFinal Local variable 'textDelete' could be declared final 3 321
LocalVariableCouldBeFinal Local variable 'textInsert' could be declared final 3 322
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 3 323
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 327
LocalVariableCouldBeFinal Local variable 'newDiff' could be declared final 3 345
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 355
CommentSize Comment is too large: Too many lines 3 362370
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 371
NcssCount The method 'diffBisect(String, String, long)' has a NCSS line count of 75. 3 371
CognitiveComplexity The method 'diffBisect(String, String, long)' has a cognitive complexity of 62, current threshold is 15 3 371
CyclomaticComplexity The method 'diffBisect(String, String, long)' has a cyclomatic complexity of 32. 3 371
NPathComplexity The method 'diffBisect(String, String, long)' has an NPath complexity of 29190, current threshold is 200 3 371
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 371
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 371
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 371
LocalVariableCouldBeFinal Local variable 'text1Length' could be declared final 3 374
LocalVariableCouldBeFinal Local variable 'text2Length' could be declared final 3 375
LocalVariableCouldBeFinal Local variable 'maxD' could be declared final 3 376
LocalVariableCouldBeFinal Local variable 'vLength' could be declared final 3 377
ShortVariable Avoid variables with short names like v1 3 378
LocalVariableCouldBeFinal Local variable 'v1' could be declared final 3 378
ShortVariable Avoid variables with short names like v2 3 379
LocalVariableCouldBeFinal Local variable 'v2' could be declared final 3 379
LocalVariableCouldBeFinal Local variable 'delta' could be declared final 3 386
LocalVariableCouldBeFinal Local variable 'front' could be declared final 3 389
LocalVariableCouldBeFinal Local variable 'k1Offset' could be declared final 3 405
ShortVariable Avoid variables with short names like x1 3 406
ShortVariable Avoid variables with short names like y1 3 412
LocalVariableCouldBeFinal Local variable 'k2Offset' could be declared final 3 426
ShortVariable Avoid variables with short names like x2 3 429
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 3 429
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 432
LocalVariableCouldBeFinal Local variable 'k2Offset' could be declared final 3 440
ShortVariable Avoid variables with short names like x2 3 441
ShortVariable Avoid variables with short names like y2 3 447
LocalVariableCouldBeFinal Local variable 'k1Offset' could be declared final 3 462
ShortVariable Avoid variables with short names like x1 3 464
LocalVariableCouldBeFinal Local variable 'x1' could be declared final 3 464
ShortVariable Avoid variables with short names like y1 3 465
LocalVariableCouldBeFinal Local variable 'y1' could be declared final 3 465
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 470
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 478
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 3 478
CommentSize Comment is too large: Too many lines 3 484493
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 494
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 494
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 494
ShortVariable Avoid variables with short names like x 3 494
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 494
ShortVariable Avoid variables with short names like y 3 494
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 3 494
MethodArgumentCouldBeFinal Parameter 'deadline' is not assigned and could be declared final 3 494
LocalVariableCouldBeFinal Local variable 'text1a' could be declared final 3 495
LocalVariableCouldBeFinal Local variable 'text2a' could be declared final 3 496
LocalVariableCouldBeFinal Local variable 'text1b' could be declared final 3 497
LocalVariableCouldBeFinal Local variable 'text2b' could be declared final 3 498
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 501
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 3 501
LocalVariableCouldBeFinal Local variable 'diffsb' could be declared final 3 502
CommentSize Comment is too large: Too many lines 3 508516
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 517
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 517
LocalVariableCouldBeFinal Local variable 'lineArray' could be declared final 3 518
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 519
LocalVariableCouldBeFinal Local variable 'lineHash' could be declared final 3 519
LocalVariableCouldBeFinal Local variable 'chars1' could be declared final 3 527
LocalVariableCouldBeFinal Local variable 'chars2' could be declared final 3 528
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 540
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 3 540
MethodArgumentCouldBeFinal Parameter 'lineHash' is not assigned and could be declared final 3 541
LocalVariableCouldBeFinal Local variable 'chars' could be declared final 3 546
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 575
MethodArgumentCouldBeFinal Parameter 'lineArray' is not assigned and could be declared final 3 575
LocalVariableCouldBeFinal Local variable 'diff' could be declared final 3 577
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 578
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 592
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 592
ShortVariable Avoid variables with short names like n 3 594
LocalVariableCouldBeFinal Local variable 'n' could be declared final 3 594
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 597
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 609
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 609
LocalVariableCouldBeFinal Local variable 'text1Length' could be declared final 3 611
LocalVariableCouldBeFinal Local variable 'text2Length' could be declared final 3 612
ShortVariable Avoid variables with short names like n 3 613
LocalVariableCouldBeFinal Local variable 'n' could be declared final 3 613
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 616
CyclomaticComplexity The method 'diffCommonOverlap(String, String)' has a cyclomatic complexity of 10. 3 629
MethodArgumentCouldBeFinal Parameter 'valueText1' is not assigned and could be declared final 3 629
MethodArgumentCouldBeFinal Parameter 'valueText2' is not assigned and could be declared final 3 629
LocalVariableCouldBeFinal Local variable 'text1Length' could be declared final 3 635
LocalVariableCouldBeFinal Local variable 'text2Length' could be declared final 3 636
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 639
LocalVariableCouldBeFinal Local variable 'textLength' could be declared final 3 647
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 650
LocalVariableCouldBeFinal Local variable 'pattern' could be declared final 3 659
LocalVariableCouldBeFinal Local variable 'found' could be declared final 3 660
CommentSize Comment is too large: Too many lines 3 673682
CognitiveComplexity The method 'diffHalfMatch(String, String)' has a cognitive complexity of 15, current threshold is 15 3 683
CyclomaticComplexity The method 'diffHalfMatch(String, String)' has a cyclomatic complexity of 11. 3 683
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 683
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 683
LocalVariableCouldBeFinal Local variable 'longtext' could be declared final 3 685
LocalVariableCouldBeFinal Local variable 'shorttext' could be declared final 3 686
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 688
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 688
LocalVariableCouldBeFinal Local variable 'hm1' could be declared final 3 692
LocalVariableCouldBeFinal Local variable 'hm2' could be declared final 3 694
ShortVariable Avoid variables with short names like hm 3 695
LocalVariableCouldBeFinal Local variable 'hm' could be declared final 3 695
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 697
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 697
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 709
CommentSize Comment is too large: Too many lines 3 715724
MethodArgumentCouldBeFinal Parameter 'longtext' is not assigned and could be declared final 3 725
MethodArgumentCouldBeFinal Parameter 'shorttext' is not assigned and could be declared final 3 725
ShortVariable Avoid variables with short names like i 3 725
MethodArgumentCouldBeFinal Parameter 'i' is not assigned and could be declared final 3 725
LocalVariableCouldBeFinal Local variable 'seed' could be declared final 3 728
ShortVariable Avoid variables with short names like j 3 729
AssignmentInOperand Avoid assignment to j in operand 3 735
LocalVariableCouldBeFinal Local variable 'prefixLength' could be declared final 3 736
LocalVariableCouldBeFinal Local variable 'suffixLength' could be declared final 3 738
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 750751
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 753
NcssCount The method 'diffCleanupSemantic(LinkedList<Diff>)' has a NCSS line count of 80. 3 761
CognitiveComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cognitive complexity of 65, current threshold is 15 3 761
CyclomaticComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cyclomatic complexity of 27. 3 761
NPathComplexity The method 'diffCleanupSemantic(LinkedList<Diff>)' has an NPath complexity of 13747, current threshold is 200 3 761
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 761
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 761
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 3 768
LocalVariableCouldBeFinal Local variable 'equalities' could be declared final 3 768
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 780
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 790
CompareObjectsWithEquals Use equals() to compare object references. 3 803
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 809
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 811
EmptyControlStatement Empty while statement 3 826828
CompareObjectsWithEquals Use equals() to compare object references. 3 826
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 835
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 839
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 856
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 3 865
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 866
LocalVariableCouldBeFinal Local variable 'deletion' could be declared final 3 867
LocalVariableCouldBeFinal Local variable 'insertion' could be declared final 3 868
LocalVariableCouldBeFinal Local variable 'overlapLength1' could be declared final 3 869
LocalVariableCouldBeFinal Local variable 'overlapLength2' could be declared final 3 870
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 876877
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 889890
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 899
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 902
NcssCount The method 'diffCleanupSemanticLossless(List<Diff>)' has a NCSS line count of 66. 3 912
CognitiveComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cognitive complexity of 33, current threshold is 15 3 912
CyclomaticComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has a cyclomatic complexity of 16. 3 912
NPathComplexity The method 'diffCleanupSemanticLossless(List<Diff>)' has an NPath complexity of 840, current threshold is 200 3 912
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 912
LocalVariableCouldBeFinal Local variable 'equality1' could be declared final 3 914
LocalVariableCouldBeFinal Local variable 'equality2' could be declared final 3 916
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 3 925
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 3 932
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 3 933
LocalVariableCouldBeFinal Local variable 'substring' could be declared final 3 945
LocalVariableCouldBeFinal Local variable 'substring' could be declared final 3 962
ConfusingTernary Avoid if (x != y) ..; else ..; 3 978987
ConfusingTernary Avoid if (x != y) ..; else ..; 3 989995
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1000
CognitiveComplexity The method 'diffCleanupSemanticScore(String, String)' has a cognitive complexity of 18, current threshold is 15 3 1012
CyclomaticComplexity The method 'diffCleanupSemanticScore(String, String)' has a cyclomatic complexity of 14. 3 1012
NPathComplexity The method 'diffCleanupSemanticScore(String, String)' has an NPath complexity of 1282, current threshold is 200 3 1012
MethodArgumentCouldBeFinal Parameter 'one' is not assigned and could be declared final 3 1012
MethodArgumentCouldBeFinal Parameter 'two' is not assigned and could be declared final 3 1012
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1016
LocalVariableCouldBeFinal Local variable 'char1' could be declared final 3 1024
LocalVariableCouldBeFinal Local variable 'char2' could be declared final 3 1025
LocalVariableCouldBeFinal Local variable 'nonAlphaNumeric1' could be declared final 3 1026
LocalVariableCouldBeFinal Local variable 'nonAlphaNumeric2' could be declared final 3 1027
LocalVariableCouldBeFinal Local variable 'whitespace1' could be declared final 3 1028
LocalVariableCouldBeFinal Local variable 'whitespace2' could be declared final 3 1029
LocalVariableCouldBeFinal Local variable 'lineBreak1' could be declared final 3 1030
LocalVariableCouldBeFinal Local variable 'lineBreak2' could be declared final 3 1032
LocalVariableCouldBeFinal Local variable 'blankLine1' could be declared final 3 1034
LocalVariableCouldBeFinal Local variable 'blankLine2' could be declared final 3 1035
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1039
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1042
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1045
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1048
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1051
CognitiveComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cognitive complexity of 62, current threshold is 15 3 1060
CyclomaticComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cyclomatic complexity of 27. 3 1060
NPathComplexity The method 'diffCleanupEfficiency(LinkedList<Diff>)' has an NPath complexity of 18251, current threshold is 200 3 1060
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1060
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1060
LooseCoupling Avoid using implementation types like 'Stack'; use the interface instead 3 1067
LocalVariableCouldBeFinal Local variable 'equalities' could be declared final 3 1067
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 3 1069
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 1082
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1094
AssignmentInOperand Avoid assignment to postDel in operand 3 1097
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 1100
CompareObjectsWithEquals Use equals() to compare object references. 3 1125
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1131
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1133
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1137
AssignmentInOperand Avoid assignment to postDel in operand 3 1140
EmptyControlStatement Empty while statement 3 11561158
CompareObjectsWithEquals Use equals() to compare object references. 3 1156
AssignmentInOperand Avoid assignment to postDel in operand 3 1159
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1165
NcssCount The method 'diffCleanupMerge(LinkedList<Diff>)' has a NCSS line count of 108. 3 1178
CognitiveComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cognitive complexity of 75, current threshold is 15 3 1178
CyclomaticComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has a cyclomatic complexity of 30. 3 1178
NPathComplexity The method 'diffCleanupMerge(LinkedList<Diff>)' has an NPath complexity of 434400, current threshold is 200 3 1178
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1178
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1178
LocalVariableCouldBeFinal Local variable 'textDelete' could be declared final 3 1184
LocalVariableCouldBeFinal Local variable 'textInsert' could be declared final 3 1185
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 3 11901272
LawOfDemeter Call to `getOperation` on foreign value `thisDiff` (degree 1) 3 1190
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1194
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1199
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 1202
LocalVariableCouldBeFinal Local variable 'bothTypes' could be declared final 3 1204
AssignmentInOperand Avoid assignment to countDelete in operand 3 1207
AssignmentInOperand Avoid assignment to countInsert in operand 3 1211
CommentSize Comment is too large: Line too long 3 1222
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 12261227
LocalVariableCouldBeFinal Local variable 'substringIns' could be declared final 3 1229
LocalVariableCouldBeFinal Local variable 'substringDel' could be declared final 3 1232
LocalVariableCouldBeFinal Local variable 'substringIns' could be declared final 3 1241
LocalVariableCouldBeFinal Local variable 'substringDel' could be declared final 3 1244
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1252
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1255
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1258
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1273
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1289
LawOfDemeter Call to `getOperation` on foreign value `prevDiff` (degree 1) 3 1294
LawOfDemeter Call to `getOperation` on foreign value `nextDiff` (degree 1) 3 1295
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1309
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1317
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1323
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1339
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 3 1339
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1345
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1346
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1350
LawOfDemeter Call to `getOperation` on foreign value `lastDiff` (degree 1) 3 1362
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1364
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1375
LocalVariableCouldBeFinal Local variable 'html' could be declared final 3 1376
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 16, but has at least 39 characters appended. 3 1376
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1377
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 1378
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1380
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1402
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 1403
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1404
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1405
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1417
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 1418
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1419
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1420
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1433
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1437
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1438
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1465
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 1467
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1468
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1469
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1471
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1472
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1475
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1478
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 1478
CognitiveComplexity The method 'diffFromDelta(String, String)' has a cognitive complexity of 22, current threshold is 15 3 1498
CyclomaticComplexity The method 'diffFromDelta(String, String)' has a cyclomatic complexity of 18. 3 1498
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 1498
MethodArgumentCouldBeFinal Parameter 'delta' is not assigned and could be declared final 3 1498
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 3 1500
LocalVariableCouldBeFinal Local variable 'tokens' could be declared final 3 1502
LocalVariableCouldBeFinal Local variable 'token' could be declared final 3 1504
ShortVariable Avoid variables with short names like n 3 1528
ShortVariable Avoid variables with short names like p1 3 1541
LocalVariableCouldBeFinal Local variable 'p1' could be declared final 3 1541
ShortVariable Avoid variables with short names like p2 3 1543
LocalVariableCouldBeFinal Local variable 'p2' could be declared final 3 1543
AvoidLiteralsInIfCondition Avoid using literals such as '=' in if statements 3 1550
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 1580
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1580
MethodArgumentCouldBeFinal Parameter 'valueLoc' is not assigned and could be declared final 3 1580
LocalVariableCouldBeFinal Local variable 'loc' could be declared final 3 1586
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1589
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1596
CognitiveComplexity The method 'matchBitap(String, String, int)' has a cognitive complexity of 36, current threshold is 15 3 1611
CyclomaticComplexity The method 'matchBitap(String, String, int)' has a cyclomatic complexity of 14. 3 1611
NPathComplexity The method 'matchBitap(String, String, int)' has an NPath complexity of 453, current threshold is 200 3 1611
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 1611
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1611
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 3 1611
ShortVariable Avoid variables with short names like s 3 1614
LocalVariableCouldBeFinal Local variable 's' could be declared final 3 1614
LocalVariableCouldBeFinal Local variable 'matchmask' could be declared final 3 1632
LocalVariableCouldBeFinal Local variable 'finish' could be declared final 3 1659
ShortVariable Avoid variables with short names like rd 3 1661
LocalVariableCouldBeFinal Local variable 'rd' could be declared final 3 1661
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1661
UselessParentheses Useless parentheses around `((lastRd[j + 1] | lastRd[j]) << 1) | 1`. 4 1678
LocalVariableCouldBeFinal Local variable 'score' could be declared final 3 1682
ShortVariable Avoid variables with short names like e 3 1716
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 1716
ShortVariable Avoid variables with short names like x 3 1716
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 1716
MethodArgumentCouldBeFinal Parameter 'loc' is not assigned and could be declared final 3 1716
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1716
LocalVariableCouldBeFinal Local variable 'accuracy' could be declared final 3 1717
LocalVariableCouldBeFinal Local variable 'proximity' could be declared final 3 1718
MethodArgumentCouldBeFinal Parameter 'pattern' is not assigned and could be declared final 3 1727
ShortVariable Avoid variables with short names like s 3 1728
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1728
LocalVariableCouldBeFinal Local variable 's' could be declared final 3 1728
LocalVariableCouldBeFinal Local variable 'charPattern' could be declared final 3 1729
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 1730
ShortVariable Avoid variables with short names like i 3 1733
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 1734
MethodArgumentCouldBeFinal Parameter 'patch' is not assigned and could be declared final 3 1750
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 1750
LocalVariableCouldBeFinal Local variable 'prefix' could be declared final 3 1770
LocalVariableCouldBeFinal Local variable 'suffix' could be declared final 3 1776
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 1797
MethodArgumentCouldBeFinal Parameter 'text2' is not assigned and could be declared final 3 1797
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1802
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 3 1802
AvoidLiteralsInIfCondition Avoid using literals such as 2 in if statements 3 1803
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1816
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1816
LocalVariableCouldBeFinal Local variable 'text1' could be declared final 3 1821
CognitiveComplexity The method 'patchMake(String, Deque<Diff>)' has a cognitive complexity of 22, current threshold is 15 3 1832
CyclomaticComplexity The method 'patchMake(String, Deque<Diff>)' has a cyclomatic complexity of 19. 3 1832
NPathComplexity The method 'patchMake(String, Deque<Diff>)' has an NPath complexity of 341, current threshold is 200 3 1832
MethodArgumentCouldBeFinal Parameter 'text1' is not assigned and could be declared final 3 1832
MethodArgumentCouldBeFinal Parameter 'diffs' is not assigned and could be declared final 3 1832
LocalVariableCouldBeFinal Local variable 'patches' could be declared final 3 1838
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1840
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1851
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1852
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1858
CompareObjectsWithEquals Use equals() to compare object references. 3 1874
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1889
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1901
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 1904
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1922
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 1922
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1923
LocalVariableCouldBeFinal Local variable 'patchesCopy' could be declared final 3 1923
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 3 1924
LocalVariableCouldBeFinal Local variable 'patchCopy' could be declared final 3 1925
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1925
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 1926
LocalVariableCouldBeFinal Local variable 'diffCopy' could be declared final 3 1927
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 1927
CognitiveComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cognitive complexity of 55, current threshold is 15 3 1947
CyclomaticComplexity The method 'patchApply(LinkedList<Patch>, String)' has a cyclomatic complexity of 17. 3 1947
NPathComplexity The method 'patchApply(LinkedList<Patch>, String)' has an NPath complexity of 207, current threshold is 200 3 1947
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1947
MethodArgumentCouldBeFinal Parameter 'valuePatches' is not assigned and could be declared final 3 1947
MethodArgumentCouldBeFinal Parameter 'valueText' is not assigned and could be declared final 3 1947
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1950
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 1954
LocalVariableCouldBeFinal Local variable 'patches' could be declared final 3 1954
LocalVariableCouldBeFinal Local variable 'nullPadding' could be declared final 3 1956
ShortVariable Avoid variables with short names like x 3 1960
LocalVariableCouldBeFinal Local variable 'results' could be declared final 3 1966
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 3 1967
LocalVariableCouldBeFinal Local variable 'expectedLoc' could be declared final 3 1969
LocalVariableCouldBeFinal Local variable 'text1' could be declared final 3 1970
LocalVariableCouldBeFinal Local variable 'text2' could be declared final 3 2001
LocalVariableCouldBeFinal Local variable 'diffs' could be declared final 3 2017
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 2026
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2027
LocalVariableCouldBeFinal Local variable 'index2' could be declared final 3 2028
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2029
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2033
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 2040
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 2061
LocalVariableCouldBeFinal Local variable 'paddingLength' could be declared final 3 2063
LocalVariableCouldBeFinal Local variable 'nullPadding' could be declared final 3 2064
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 3 2070
LawOfDemeter Call to `getOperation` on foreign value `diffs.getFirst()` (degree 1) 3 2078
LocalVariableCouldBeFinal Local variable 'firstDiff' could be declared final 3 2087
LocalVariableCouldBeFinal Local variable 'extraLength' could be declared final 3 2088
LawOfDemeter Call to `getOperation` on foreign value `diffs.getLast()` (degree 1) 3 2100
LocalVariableCouldBeFinal Local variable 'lastDiff' could be declared final 3 2107
LocalVariableCouldBeFinal Local variable 'extraLength' could be declared final 3 2108
NcssCount The method 'patchSplitMax(List<Patch>)' has a NCSS line count of 73. 3 2123
CognitiveComplexity The method 'patchSplitMax(List<Patch>)' has a cognitive complexity of 55, current threshold is 15 3 2123
CyclomaticComplexity The method 'patchSplitMax(List<Patch>)' has a cyclomatic complexity of 22. 3 2123
NPathComplexity The method 'patchSplitMax(List<Patch>)' has an NPath complexity of 2570, current threshold is 200 3 2123
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 2123
LocalVariableCouldBeFinal Local variable 'patchSize' could be declared final 3 2125
LocalVariableCouldBeFinal Local variable 'pointer' could be declared final 3 2134
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2139
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 2150
LawOfDemeter Call to `getOperation` on foreign value `bigpatch.getDiffs().getFirst()` (degree 1) 3 2160
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getFirst()` (degree 1) 3 2170
LawOfDemeter Call to `getOperation` on foreign value `patch.getDiffs().getLast()` (degree 1) 3 2214
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 2225
MethodArgumentCouldBeFinal Parameter 'patches' is not assigned and could be declared final 3 2234
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 2235
LocalVariableCouldBeFinal Local variable 'aPatch' could be declared final 3 2236
NcssCount The method 'patchFromText(String)' has a NCSS line count of 64. 3 2248
CognitiveComplexity The method 'patchFromText(String)' has a cognitive complexity of 27, current threshold is 15 3 2248
CyclomaticComplexity The method 'patchFromText(String)' has a cyclomatic complexity of 18. 3 2248
MethodArgumentCouldBeFinal Parameter 'textline' is not assigned and could be declared final 3 2248
LocalVariableCouldBeFinal Local variable 'patches' could be declared final 3 2250
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 2252
LocalVariableCouldBeFinal Local variable 'textList' could be declared final 3 2254
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 2255
LocalVariableCouldBeFinal Local variable 'patchHeader' could be declared final 3 2257
ShortVariable Avoid variables with short names like m 3 2258
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 2268
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 3 2274
AvoidLiteralsInIfCondition Avoid using literals such as "0" in if statements 3 2285
AvoidLiteralsInIfCondition Avoid using literals such as '-' in if statements 3 2315
AvoidLiteralsInIfCondition Avoid using literals such as '+' in if statements 3 2318
AvoidLiteralsInIfCondition Avoid using literals such as ' ' in if statements 3 2321
AvoidLiteralsInIfCondition Avoid using literals such as '@' in if statements 3 2324

model - com/jsql/model/injection/strategy/blind/patch/Patch.java

Rule Violation Priority Line
DataClass The class 'Patch' is suspected to be a Data Class (WOC=27.273%, NOPA=0, NOAM=8, WMC=20) 3 10
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 12
LocalVariableCouldBeFinal Local variable 'coords1' could be declared final 3 33
LocalVariableCouldBeFinal Local variable 'coords2' could be declared final 3 34
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 38
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 46
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'aDiff' could be declared final 3 57
LawOfDemeter Call to `getOperation` on foreign value `aDiff` (degree 1) 3 58
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 70
CommentSize Comment is too large: Too many lines 3 7688
MethodArgumentCouldBeFinal Parameter 'str' is not assigned and could be declared final 3 89
LooseCoupling Avoid using implementation types like 'LinkedList'; use the interface instead 3 100
MethodArgumentCouldBeFinal Parameter 'start1' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'start2' is not assigned and could be declared final 3 116
MethodArgumentCouldBeFinal Parameter 'length1' is not assigned and could be declared final 3 124
LinguisticNaming Linguistics Antipattern - The setter 'setLength2' should not return any type except void linguistically 3 132
MethodArgumentCouldBeFinal Parameter 'length2' is not assigned and could be declared final 3 132

model - com/jsql/model/injection/vendor/MediatorVendor.java

Rule Violation Priority Line
DataClass The class 'MediatorVendor' is suspected to be a Data Class (WOC=7.143%, NOPA=0, NOAM=26, WMC=33) 3 26
CommentSize Comment is too large: Line too long 3 40
ShortVariable Avoid variables with short names like h2 3 50
LongVariable Avoid excessively long variable names like vendorsForFingerprint 3 66
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 70
LocalVariableCouldBeFinal Local variable 'access' could be declared final 3 73
LocalVariableCouldBeFinal Local variable 'altibase' could be declared final 3 74
LocalVariableCouldBeFinal Local variable 'ctreeace' could be declared final 3 75
LocalVariableCouldBeFinal Local variable 'exasol' could be declared final 3 76
LocalVariableCouldBeFinal Local variable 'frontbase' could be declared final 3 77
LocalVariableCouldBeFinal Local variable 'hana' could be declared final 3 78
LocalVariableCouldBeFinal Local variable 'ingres' could be declared final 3 79
LocalVariableCouldBeFinal Local variable 'iris' could be declared final 3 80
LocalVariableCouldBeFinal Local variable 'maxdb' could be declared final 3 81
LocalVariableCouldBeFinal Local variable 'netezza' could be declared final 3 82
LocalVariableCouldBeFinal Local variable 'nuodb' could be declared final 3 83
LocalVariableCouldBeFinal Local variable 'presto' could be declared final 3 84
LocalVariableCouldBeFinal Local variable 'teradata' could be declared final 3 85
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 3 104
LocalVariableCouldBeFinal Local variable 'resultSqlite' could be declared final 3 105
UseExplicitTypes Use Explicit Types 3 105
LocalVariableCouldBeFinal Local variable 'columnNameAndType' could be declared final 3 113
CommentSize Comment is too large: Line too long 3 117
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 3 126
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 126
ConstructorCallsOverridableMethod Overridable method called during object construction: MediatorVendor.setVendor(Vendor) 1 147
CompareObjectsWithEquals Use equals() to compare object references. 3 152
ConfusingTernary Avoid if (x != y) ..; else ..; 3 157190
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 157
CompareObjectsWithEquals Use equals() to compare object references. 3 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 158
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 163
LongVariable Avoid excessively long variable names like insertionCharacter 3 167
LocalVariableCouldBeFinal Local variable 'insertionCharacter' could be declared final 3 167
UseExplicitTypes Use Explicit Types 3 167
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 3 168
LocalVariableCouldBeFinal Local variable 'mediatorVendor' could be declared final 3 170
UseExplicitTypes Use Explicit Types 3 170
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 170
LongVariable Avoid excessively long variable names like vendorsWithoutAuto 3 171
LocalVariableCouldBeFinal Local variable 'vendorsWithoutAuto' could be declared final 3 171
LawOfDemeter Call to `filter` on foreign value `mediatorVendor.getVendors().stream()` (degree 2) 3 171173
LawOfDemeter Call to `getVendors` on foreign value `mediatorVendor` (degree 2) 3 171
LawOfDemeter Call to `stream` on foreign value `mediatorVendor.getVendors()` (degree 2) 3 171172
LawOfDemeter Call to `toArray` on foreign value `mediatorVendor.getVendors().stream().filter(v -> v != mediatorVendor.getAuto())` (degree 2) 3 171174
CompareObjectsWithEquals Use equals() to compare object references. 3 173
LocalVariableCouldBeFinal Local variable 'vendorTest' could be declared final 3 177
LawOfDemeter Call to `instance` on foreign value `vendorTest` (degree 2) 3 178
LocalVariableCouldBeFinal Local variable 'urlGitHub' could be declared final 3 192
UseExplicitTypes Use Explicit Types 3 192
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 192
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 3 198
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 3 206
UseExplicitTypes Use Explicit Types 3 206
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 208
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 209
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 217
UseExplicitTypes Use Explicit Types 3 218
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 220
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 225
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 234
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 234
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 237
LongVariable Avoid excessively long variable names like requestDatabaseIdentified 3 241
LocalVariableCouldBeFinal Local variable 'requestDatabaseIdentified' could be declared final 3 241
UseExplicitTypes Use Explicit Types 3 241
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 288
MethodArgumentCouldBeFinal Parameter 'vendorByUser' is not assigned and could be declared final 3 296

model - com/jsql/model/injection/vendor/model/AbstractVendor.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 1150
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 30

model - com/jsql/model/injection/vendor/model/Vendor.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'instanceVendor' is not assigned and could be declared final 3 9
LawOfDemeter Call to `getModelYaml` on foreign value `instanceVendor` (degree 1) 3 10
MethodArgumentCouldBeFinal Parameter 'resultToParse' is not assigned and could be declared final 3 18

model - com/jsql/model/injection/vendor/model/VendorYaml.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 28616
CommentSize Comment is too large: Line too long 3 46
LongVariable Avoid excessively long variable names like SEPARATOR_CELL_SQL 3 48
LongVariable Avoid excessively long variable names like SEPARATOR_CELL_HEX 3 49
CommentSize Comment is too large: Line too long 3 54
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 106
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 108
UseExplicitTypes Use Explicit Types 3 108
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 110
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 119
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 129
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 136
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 144
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 147
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 154
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 157
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 164
LocalVariableCouldBeFinal Local variable 'databaseUtf8' could be declared final 3 169
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 179
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 186
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 189
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 196
LocalVariableCouldBeFinal Local variable 'databaseUtf8' could be declared final 3 201
LocalVariableCouldBeFinal Local variable 'tableUtf8' could be declared final 3 202
MethodArgumentCouldBeFinal Parameter 'namesColumns' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 212
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 217
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 226
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 229
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 238
LocalVariableCouldBeFinal Local variable 'matcherSqlField' could be declared final 3 243
UseExplicitTypes Use Explicit Types 3 243
LocalVariableCouldBeFinal Local variable 'namesColumnUtf8' could be declared final 3 252
UseExplicitTypes Use Explicit Types 3 252
UseExplicitTypes Use Explicit Types 3 253
UseExplicitTypes Use Explicit Types 3 258
UseExplicitTypes Use Explicit Types 3 261
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 3 278
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 278
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 3 279
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 287
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 3 288
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 302
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 302
MethodArgumentCouldBeFinal Parameter 'mid' is not assigned and could be declared final 3 302
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 302
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 3 303
MethodArgumentCouldBeFinal Parameter 'check' is not assigned and could be declared final 3 321
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 321
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 3 322
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 3 323
LocalVariableCouldBeFinal Local variable 'countSleepTimeStrategy' could be declared final 3 323
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 323
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 324
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 334
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 334
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 334
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 334
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 3 335
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 3 336
LocalVariableCouldBeFinal Local variable 'countSleepTimeStrategy' could be declared final 3 336
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 336
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 337
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 353
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 3 354
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 3 355360
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 365
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 365
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 365
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 375
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 375
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 375
MethodArgumentCouldBeFinal Parameter 'inj' is not assigned and could be declared final 3 385
MethodArgumentCouldBeFinal Parameter 'indexChar' is not assigned and could be declared final 3 385
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 385
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 393
MethodArgumentCouldBeFinal Parameter 'errorMethod' is not assigned and could be declared final 3 404
LocalVariableCouldBeFinal Local variable 'indexZeroToFind' could be declared final 3 405
UseExplicitTypes Use Explicit Types 3 405
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'indexMethodError' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 416
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 435
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 435
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 435
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 440
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 445
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 445
MethodArgumentCouldBeFinal Parameter 'blindOperator' is not assigned and could be declared final 3 445
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 445
LocalVariableCouldBeFinal Local variable 'replacement' could be declared final 3 446
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 447
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 452
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 462
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 462
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 462
MethodArgumentCouldBeFinal Parameter 'indexes' is not assigned and could be declared final 3 475
LocalVariableCouldBeFinal Local variable 'regexIndexes' could be declared final 3 476
LongVariable Avoid excessively long variable names like regexVisibleIndexesToFind 3 477
LocalVariableCouldBeFinal Local variable 'regexVisibleIndexesToFind' could be declared final 3 477
MethodArgumentCouldBeFinal Parameter 'nbFields' is not assigned and could be declared final 3 489
LocalVariableCouldBeFinal Local variable 'fields' could be declared final 3 491
UseExplicitTypes Use Explicit Types 3 492
LocalVariableCouldBeFinal Local variable 'field' could be declared final 3 494
MethodArgumentCouldBeFinal Parameter 'limitSqlResult' is not assigned and could be declared final 3 513
UseExplicitTypes Use Explicit Types 3 514
MethodArgumentCouldBeFinal Parameter 'sqlRequest' is not assigned and could be declared final 3 537
MethodArgumentCouldBeFinal Parameter 'isReport' is not assigned and could be declared final 3 558
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 604
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 605

model - com/jsql/model/injection/vendor/model/yaml/Binary.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
DataClass The class 'Binary' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 8
MethodArgumentCouldBeFinal Parameter 'test' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'blind' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'time' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'modeAnd' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'modeOr' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'modeStack' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'multibit' is not assigned and could be declared final 3 70

model - com/jsql/model/injection/vendor/model/yaml/Configuration.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
DataClass The class 'Configuration' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=14) 3 8
MethodArgumentCouldBeFinal Parameter 'slidingWindow' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'limit' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'failsafe' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'calibrator' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'limitBoundary' is not assigned and could be declared final 3 54
MethodArgumentCouldBeFinal Parameter 'endingComment' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'fingerprint' is not assigned and could be declared final 3 70

model - com/jsql/model/injection/vendor/model/yaml/Error.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
MethodArgumentCouldBeFinal Parameter 'method' is not assigned and could be declared final 3 16

model - com/jsql/model/injection/vendor/model/yaml/Fields.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
DataClass The class 'Fields' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 8
MethodArgumentCouldBeFinal Parameter 'field' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'concat' is not assigned and could be declared final 3 25

model - com/jsql/model/injection/vendor/model/yaml/Fingerprint.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 12
AtLeastOneConstructor Each class should declare at least one constructor 3 12
DataClass The class 'Fingerprint' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) 3 12
LongVariable Avoid excessively long variable names like orderByErrorMessage 3 15
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 3 22
LongVariable Avoid excessively long variable names like orderByErrorMessage 3 30
MethodArgumentCouldBeFinal Parameter 'orderByErrorMessage' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'errorMessage' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'vendorSpecific' is not assigned and could be declared final 3 46

model - com/jsql/model/injection/vendor/model/yaml/Method.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
DataClass The class 'Method' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 3 34

model - com/jsql/model/injection/vendor/model/yaml/ModelYaml.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
DataClass The class 'ModelYaml' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'resource' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 3 34

model - com/jsql/model/injection/vendor/model/yaml/Resource.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
DataClass The class 'Resource' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 8
MethodArgumentCouldBeFinal Parameter 'info' is not assigned and could be declared final 3 20
MethodArgumentCouldBeFinal Parameter 'schema' is not assigned and could be declared final 3 28
MethodArgumentCouldBeFinal Parameter 'zip' is not assigned and could be declared final 3 36
MethodArgumentCouldBeFinal Parameter 'dios' is not assigned and could be declared final 3 44
MethodArgumentCouldBeFinal Parameter 'exploit' is not assigned and could be declared final 3 52

model - com/jsql/model/injection/vendor/model/yaml/Row.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Row 4 8
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
AtLeastOneConstructor Each class should declare at least one constructor 3 8
DataClass The class 'Row' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 8
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'fields' is not assigned and could be declared final 3 25

model - com/jsql/model/injection/vendor/model/yaml/Schema.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
DataClass The class 'Schema' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 8
MethodArgumentCouldBeFinal Parameter 'database' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 3 35
MethodArgumentCouldBeFinal Parameter 'row' is not assigned and could be declared final 3 43

model - com/jsql/model/injection/vendor/model/yaml/Strategy.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
DataClass The class 'Strategy' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 3 8
MethodArgumentCouldBeFinal Parameter 'configuration' is not assigned and could be declared final 3 21
MethodArgumentCouldBeFinal Parameter 'union' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'binary' is not assigned and could be declared final 3 37
MethodArgumentCouldBeFinal Parameter 'error' is not assigned and could be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'stack' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'dns' is not assigned and could be declared final 3 61

model - com/jsql/model/injection/vendor/model/yaml/Test.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Test 4 11
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 11
AtLeastOneConstructor Each class should declare at least one constructor 3 11
DataClass The class 'Test' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=20, WMC=24) 3 11
TestClassWithoutTestCases The class 'Test' might be a test class, but it contains no test cases. 3 11
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 3 66
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'init' is not assigned and could be declared final 3 90
MethodArgumentCouldBeFinal Parameter 'bit' is not assigned and could be declared final 3 98
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'truthyBit' is not assigned and could be declared final 3 114
MethodArgumentCouldBeFinal Parameter 'falsyBit' is not assigned and could be declared final 3 122
MethodArgumentCouldBeFinal Parameter 'truthyBin' is not assigned and could be declared final 3 130
MethodArgumentCouldBeFinal Parameter 'falsyBin' is not assigned and could be declared final 3 138
MethodArgumentCouldBeFinal Parameter 'bin' is not assigned and could be declared final 3 146

model - com/jsql/model/injection/vendor/model/yaml/Union.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
DataClass The class 'Union' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 8
MethodArgumentCouldBeFinal Parameter 'indices' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'capacity' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'orderBy' is not assigned and could be declared final 3 34

model - com/jsql/model/injection/vendor/model/yaml/Write.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
DataClass The class 'Write' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 8
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 3 17
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 25

model - com/jsql/model/suspendable/AbstractSuspendable.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'isStopped' 3 19
RedundantFieldInitializer Avoid using redundant field initializer for 'isPaused' 3 24
AvoidFieldNameMatchingMethodName Field isPaused has the same name as a method 3 24
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 28
CommentSize Comment is too large: Line too long 3 39
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 3 43
CommentSize Comment is too large: Line too long 3 44
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 50
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 3 90

model - com/jsql/model/suspendable/SuspendableGetCharInsertion.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 3 48
LongVariable Avoid excessively long variable names like characterInsertionByUser 3 49
LocalVariableCouldBeFinal Local variable 'characterInsertionByUser' could be declared final 3 49
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 51
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 51
LongVariable Avoid excessively long variable names like taskCompletionService 3 52
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 3 52
LongVariable Avoid excessively long variable names like charFromBooleanMatch 3 54
LocalVariableCouldBeFinal Local variable 'charFromBooleanMatch' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
LongVariable Avoid excessively long variable names like charactersInsertion 3 55
LocalVariableCouldBeFinal Local variable 'charactersInsertion' could be declared final 3 55
LocalVariableCouldBeFinal Local variable 'mediatorVendor' could be declared final 3 57
UseExplicitTypes Use Explicit Types 3 57
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 3 68
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 3 70
LongVariable Avoid excessively long variable names like vendorsOrderByMatch 3 72
LocalVariableCouldBeFinal Local variable 'vendorsOrderByMatch' could be declared final 3 72
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 3 76
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 3 77
UseExplicitTypes Use Explicit Types 3 77
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 79
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 79
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 79
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 80
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 2) 3 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 91
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 96
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 3 103
LongVariable Avoid excessively long variable names like vendorsOrderByMatch 3 103
MethodArgumentCouldBeFinal Parameter 'vendorsOrderByMatch' is not assigned and could be declared final 3 103
CompareObjectsWithEquals Use equals() to compare object references. 3 106
LawOfDemeter Call to `getVendor` on foreign value `mediatorVendor` (degree 1) 3 106
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 109
MethodArgumentCouldBeFinal Parameter 'mediatorVendor' is not assigned and could be declared final 3 120
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 120
CompareObjectsWithEquals Use equals() to compare object references. 3 123
LawOfDemeter Call to `getAuto` on foreign value `mediatorVendor` (degree 1) 3 123
LongVariable Avoid excessively long variable names like optionalOrderByErrorMatch 3 128
LocalVariableCouldBeFinal Local variable 'optionalOrderByErrorMatch' could be declared final 3 128
LongVariable Avoid excessively long variable names like taskCompletionService 3 150
MethodArgumentCouldBeFinal Parameter 'taskCompletionService' is not assigned and could be declared final 3 150
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 150
LongVariable Avoid excessively long variable names like charFromBooleanMatch 3 150
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 3 150
LocalVariableCouldBeFinal Local variable 'prefixValues' could be declared final 3 151
LocalVariableCouldBeFinal Local variable 'prefixQuotes' could be declared final 3 155
LocalVariableCouldBeFinal Local variable 'prefixParentheses' could be declared final 3 162
LongVariable Avoid excessively long variable names like charactersInsertion 3 163
LocalVariableCouldBeFinal Local variable 'charactersInsertion' could be declared final 3 163
LocalVariableCouldBeFinal Local variable 'prefixValue' could be declared final 3 165
LocalVariableCouldBeFinal Local variable 'prefixQuote' could be declared final 3 166
LocalVariableCouldBeFinal Local variable 'prefixParenthesis' could be declared final 3 167
LongVariable Avoid excessively long variable names like characterInsertion 3 172
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 3 172
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 174181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 177
LongVariable Avoid excessively long variable names like charFromBooleanMatch 3 188
MethodArgumentCouldBeFinal Parameter 'charFromBooleanMatch' is not assigned and could be declared final 3 188
LongVariable Avoid excessively long variable names like charactersInsertion 3 189
MethodArgumentCouldBeFinal Parameter 'charactersInsertion' is not assigned and could be declared final 3 189
MethodArgumentCouldBeFinal Parameter 'prefixValue' is not assigned and could be declared final 3 190
MethodArgumentCouldBeFinal Parameter 'prefixQuote' is not assigned and could be declared final 3 191
MethodArgumentCouldBeFinal Parameter 'prefixParenthesis' is not assigned and could be declared final 3 192
LongVariable Avoid excessively long variable names like characterInsertion 3 194
LocalVariableCouldBeFinal Local variable 'characterInsertion' could be declared final 3 194
LongVariable Avoid excessively long variable names like injectionCharInsertion 3 198
LocalVariableCouldBeFinal Local variable 'injectionCharInsertion' could be declared final 3 198
UseExplicitTypes Use Explicit Types 3 198
LongVariable Avoid excessively long variable names like characterInsertionByUser 3 217
MethodArgumentCouldBeFinal Parameter 'characterInsertionByUser' is not assigned and could be declared final 3 217
LongVariable Avoid excessively long variable names like characterInsertionDetected 3 217
MethodArgumentCouldBeFinal Parameter 'characterInsertionDetected' is not assigned and could be declared final 3 217
LongVariable Avoid excessively long variable names like characterInsertionDetectedFixed 3 218
LongVariable Avoid excessively long variable names like logCharacterInsertion 3 221
LocalVariableCouldBeFinal Local variable 'logCharacterInsertion' could be declared final 3 221
ConfusingTernary Avoid if (x != y) ..; else ..; 3 227247
LongVariable Avoid excessively long variable names like characterInsertionByUserFormat 3 228
LocalVariableCouldBeFinal Local variable 'characterInsertionByUserFormat' could be declared final 3 228
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 232

model - com/jsql/model/suspendable/SuspendableGetIndexes.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 27
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 10. 3 32
CloseResource Ensure that resources like this ExecutorService object are closed after use 3 34
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 34
LongVariable Avoid excessively long variable names like taskCompletionService 3 35
LocalVariableCouldBeFinal Local variable 'taskCompletionService' could be declared final 3 35
LocalVariableCouldBeFinal Local variable 'countUnionIndex' could be declared final 3 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 41
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 4954
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 50
LocalVariableCouldBeFinal Local variable 'currentCallable' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'regexAllIndexes' could be declared final 3 67
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 71
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 74
LongVariable Avoid excessively long variable names like regexIndexesExceptFirst 3 75
LocalVariableCouldBeFinal Local variable 'regexIndexesExceptFirst' could be declared final 3 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 92

model - com/jsql/model/suspendable/SuspendableGetRows.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 3142
GodClass Possible God Class (WMC=57, ATFD=27, TCC=0.833%) 3 43
TooManyMethods This class has too many methods, consider refactoring it. 3 43423
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 47
CognitiveComplexity The method 'run(Object[])' has a cognitive complexity of 19, current threshold is 15 3 52
CyclomaticComplexity The method 'run(Object[])' has a cyclomatic complexity of 12. 3 52
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'initialSqlQuery' could be declared final 3 54
LocalVariableCouldBeFinal Local variable 'sourcePage' could be declared final 3 55
LocalVariableCouldBeFinal Local variable 'isMultipleRows' could be declared final 3 56
LocalVariableCouldBeFinal Local variable 'countRowsToFind' could be declared final 3 57
LocalVariableCouldBeFinal Local variable 'elementDatabase' could be declared final 3 58
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 59
LocalVariableCouldBeFinal Local variable 'metadataInjectionProcess' could be declared final 3 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 63
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 67
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 71
LocalVariableCouldBeFinal Local variable 'slidingWindowAllRows' could be declared final 3 71
UseExplicitTypes Use Explicit Types 3 71
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 3 72
LocalVariableCouldBeFinal Local variable 'slidingWindowCurrentRow' could be declared final 3 72
UseExplicitTypes Use Explicit Types 3 72
UseExplicitTypes Use Explicit Types 3 75
LongVariable Avoid excessively long variable names like charPositionInCurrentRow 3 76
UseExplicitTypes Use Explicit Types 3 76
UseExplicitTypes Use Explicit Types 3 77
LocalVariableCouldBeFinal Local variable 'regexLeadFound' could be declared final 3 86
LongVariable Avoid excessively long variable names like regexTrailOnlyFound 3 87
LocalVariableCouldBeFinal Local variable 'regexTrailOnlyFound' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'countChunkRows' could be declared final 3 116
CommentSize Comment is too large: Line too long 3 141
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 151
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 155
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 158
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 166
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 3 166
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 172176
MethodArgumentCouldBeFinal Parameter 'initialSqlQuery' is not assigned and could be declared final 3 181
MethodArgumentCouldBeFinal Parameter 'countAllRows' is not assigned and could be declared final 3 181
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 182
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 185
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 185
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 3 185
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 185
CommentSize Comment is too large: Line too long 3 186
LongVariable Avoid excessively long variable names like regexAtLeastOneRow 3 187
LocalVariableCouldBeFinal Local variable 'regexAtLeastOneRow' could be declared final 3 187
UseExplicitTypes Use Explicit Types 3 187
LongVariable Avoid excessively long variable names like regexRowIncomplete 3 198
LocalVariableCouldBeFinal Local variable 'regexRowIncomplete' could be declared final 3 198
UseExplicitTypes Use Explicit Types 3 198
CommentSize Comment is too large: Line too long 3 205
LocalVariableCouldBeFinal Local variable 'allLine' could be declared final 3 208
UseExplicitTypes Use Explicit Types 3 208
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 221
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 3 226
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 226
LocalVariableCouldBeFinal Local variable 'currentRow' could be declared final 3 229
UseExplicitTypes Use Explicit Types 3 229
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 3 238
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 238
LongVariable Avoid excessively long variable names like regexAtLeastOneRow 3 239
LocalVariableCouldBeFinal Local variable 'regexAtLeastOneRow' could be declared final 3 239
UseExplicitTypes Use Explicit Types 3 239
UseExplicitTypes Use Explicit Types 3 249
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 3 256
ShortVariable Avoid variables with short names like e 3 256
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 256
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 260
UseExplicitTypes Use Explicit Types 3 260
LocalVariableCouldBeFinal Local variable 'messageError' could be declared final 3 265
UseExplicitTypes Use Explicit Types 3 265
InsufficientStringBufferDeclaration StringBuilder has been initialized with size 48, but has at least 65 characters appended. 3 265
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 275
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 276
UseExplicitTypes Use Explicit Types 3 276
MethodArgumentCouldBeFinal Parameter 'loop' is not assigned and could be declared final 3 292
MethodArgumentCouldBeFinal Parameter 'previousChunk' is not assigned and could be declared final 3 293
MethodArgumentCouldBeFinal Parameter 'currentChunk' is not assigned and could be declared final 3 294
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 3 295
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 295
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 296
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 296
AvoidLiteralsInIfCondition Avoid using literals such as 20 in if statements 3 301
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 3 312
LongVariable Avoid excessively long variable names like sourcePageUnicodeDecoded 3 313
LocalVariableCouldBeFinal Local variable 'sourcePageUnicodeDecoded' could be declared final 3 313
MethodArgumentCouldBeFinal Parameter 'sourcePage' is not assigned and could be declared final 3 328
MethodArgumentCouldBeFinal Parameter 'performanceLength' is not assigned and could be declared final 3 328
LongVariable Avoid excessively long variable names like regexAtLeastOneRow 3 329
LocalVariableCouldBeFinal Local variable 'regexAtLeastOneRow' could be declared final 3 329
MethodArgumentCouldBeFinal Parameter 'strategy' is not assigned and could be declared final 3 343
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 344
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 344
LongVariable Avoid excessively long variable names like slidingWindowCurrentRow 3 345
MethodArgumentCouldBeFinal Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final 3 345
LongVariable Avoid excessively long variable names like slidingWindowAllRows 3 358
MethodArgumentCouldBeFinal Parameter 'slidingWindowAllRows' is not assigned and could be declared final 3 358
LocalVariableCouldBeFinal Local variable 'allRowsLimit' could be declared final 3 362
UseExplicitTypes Use Explicit Types 3 362
MethodArgumentCouldBeFinal Parameter 'numberToFind' is not assigned and could be declared final 3 379
MethodArgumentCouldBeFinal Parameter 'countProgress' is not assigned and could be declared final 3 379
MethodArgumentCouldBeFinal Parameter 'searchName' is not assigned and could be declared final 3 379
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 381
UseExplicitTypes Use Explicit Types 3 381
MethodArgumentCouldBeFinal Parameter 'rows' is not assigned and could be declared final 3 388
LocalVariableCouldBeFinal Local variable 'regexSearch' could be declared final 3 390
UseExplicitTypes Use Explicit Types 3 390
UseExplicitTypes Use Explicit Types 3 404
LocalVariableCouldBeFinal Local variable 'listValues' could be declared final 3 405
LocalVariableCouldBeFinal Local variable 'values' could be declared final 3 410
LocalVariableCouldBeFinal Local variable 'instances' could be declared final 3 411
UseExplicitTypes Use Explicit Types 3 411
LocalVariableCouldBeFinal Local variable 'cellValue' could be declared final 3 416

model - com/jsql/model/suspendable/SuspendableGetVendor.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 24
LocalVariableCouldBeFinal Local variable 'isVendorFound' could be declared final 3 32
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream().filter(vendor -> vendor != this.injectionModel.getMediatorVendor().getAuto())` (degree 2) 3 3338
LawOfDemeter Call to `filter` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint().stream()` (degree 2) 3 3335
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 33
LawOfDemeter Call to `getVendorsForFingerprint` on foreign value `this.injectionModel.getMediatorVendor()` (degree 2) 3 33
LawOfDemeter Call to `stream` on foreign value `this.injectionModel.getMediatorVendor().getVendorsForFingerprint()` (degree 2) 3 3334
CompareObjectsWithEquals Use equals() to compare object references. 3 35
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 35
LongVariable Avoid excessively long variable names like vendorSpecificWithOperator 3 43
LocalVariableCouldBeFinal Local variable 'vendorSpecificWithOperator' could be declared final 3 43
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 43
LongVariable Avoid excessively long variable names like injectionCharInsertion 3 48
LocalVariableCouldBeFinal Local variable 'injectionCharInsertion' could be declared final 3 48
UseExplicitTypes Use Explicit Types 3 48
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 55
LocalVariableCouldBeFinal Local variable 'requestSetVendor' could be declared final 3 58
UseExplicitTypes Use Explicit Types 3 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 60
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 61
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 62
ExceptionAsFlowControl Exception thrown at line 51 is caught in this block. 3 6668

model - com/jsql/model/suspendable/callable/CallablePageSource.java

Rule Violation Priority Line
DataClass The class 'CallablePageSource' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=7) 3 14
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 21
LongVariable Avoid excessively long variable names like characterInsertion 3 31
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 38
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 38
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'nbIndex' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 49
LongVariable Avoid excessively long variable names like characterInsertion 3 50
MethodArgumentCouldBeFinal Parameter 'characterInsertion' is not assigned and could be declared final 3 50
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 51
LongVariable Avoid excessively long variable names like metadataInjectionProcess 3 52
MethodArgumentCouldBeFinal Parameter 'metadataInjectionProcess' is not assigned and could be declared final 3 52

model - com/jsql/model/suspendable/callable/ThreadFactoryCallable.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 3 9
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 14
MethodArgumentCouldBeFinal Parameter 'runnable' is not assigned and could be declared final 3 14
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 15

model - com/jsql/util/AnsiColorUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 3
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 29

model - com/jsql/util/AuthenticationUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 18
RedundantFieldInitializer Avoid using redundant field initializer for 'isAuthentication' 3 25
LongVariable Avoid excessively long variable names like usernameAuthentication 3 30
LongVariable Avoid excessively long variable names like passwordAuthentication 3 35
RedundantFieldInitializer Avoid using redundant field initializer for 'isKerberos' 3 40
AvoidFieldNameMatchingMethodName Field isKerberos has the same name as a method 3 40
CommentSize Comment is too large: Too many lines 3 5261
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 62
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 3 63
LongVariable Avoid excessively long variable names like usernameAuthentication 3 64
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 3 64
LongVariable Avoid excessively long variable names like passwordAuthentication 3 65
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 3 66
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 3 68
LocalVariableCouldBeFinal Local variable 'isRestartRequired' could be declared final 3 70
MethodArgumentCouldBeFinal Parameter 'isAuthentication' is not assigned and could be declared final 3 76
LongVariable Avoid excessively long variable names like usernameAuthentication 3 76
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 3 76
LongVariable Avoid excessively long variable names like passwordAuthentication 3 76
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 3 76
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 77
UseExplicitTypes Use Explicit Types 3 77
MethodArgumentCouldBeFinal Parameter 'isKerberos' is not assigned and could be declared final 3 87
MethodArgumentCouldBeFinal Parameter 'kerberosKrb5Conf' is not assigned and could be declared final 3 87
MethodArgumentCouldBeFinal Parameter 'kerberosLoginConf' is not assigned and could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 89
UseExplicitTypes Use Explicit Types 3 89
LocalVariableCouldBeFinal Local variable 'isRestartRequired' could be declared final 3 96
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 123
UseExplicitTypes Use Explicit Types 3 123
LongVariable Avoid excessively long variable names like usernameAuthentication 3 205
MethodArgumentCouldBeFinal Parameter 'usernameAuthentication' is not assigned and could be declared final 3 205
LongVariable Avoid excessively long variable names like passwordAuthentication 3 210
MethodArgumentCouldBeFinal Parameter 'passwordAuthentication' is not assigned and could be declared final 3 210

model - com/jsql/util/CertificateUtil.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'sslContext' 3 23
CommentSize Comment is too large: Line too long 3 29
LocalVariableCouldBeFinal Local variable 'trustAllCerts' could be declared final 3 30
UseExplicitTypes Use Explicit Types 3 30

model - com/jsql/util/ConnectionUtil.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 1318
GodClass Possible God Class (WMC=49, ATFD=80, TCC=11.688%) 3 39
LongVariable Avoid excessively long variable names like randomForUserAgent 3 47
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'httpClientBuilder' could be declared final 3 56
UseExplicitTypes Use Explicit Types 3 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 64
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 67
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 70
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 3 75
LawOfDemeter Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) 3 76
MethodArgumentCouldBeFinal Parameter 'httpResponse' is not assigned and could be declared final 3 84
LocalVariableCouldBeFinal Local variable 'sortedMap' could be declared final 3 85
LocalVariableCouldBeFinal Local variable 'responseCodeHttp' could be declared final 3 86
MethodArgumentCouldBeFinal Parameter 'httpHeaders' is not assigned and could be declared final 3 91
LocalVariableCouldBeFinal Local variable 'unsortedMap' could be declared final 3 92
LocalVariableCouldBeFinal Local variable 'queryString' could be declared final 3 113
UseExplicitTypes Use Explicit Types 3 113
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 113
UseExplicitTypes Use Explicit Types 3 114
LongVariable Avoid excessively long variable names like contentTypeRequest 3 120
UseExplicitTypes Use Explicit Types 3 122
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 122
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 124
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 126
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 128
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 3 133
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 147
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 148
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 153
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 157
CyclomaticComplexity The method 'testConnection()' has a cyclomatic complexity of 11. 3 160
CommentSize Comment is too large: Line too long 3 161
LawOfDemeter Call to `getCookieStore` on foreign value `this.getCookieManager()` (degree 1) 3 163
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 168
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 170
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 174
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 176
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 182
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 192
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 196
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 200
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 3 200
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 200
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 204
MethodArgumentCouldBeFinal Parameter 'lineFeed' is not assigned and could be declared final 3 204
LongVariable Avoid excessively long variable names like isConnectIssueIgnored 3 204
MethodArgumentCouldBeFinal Parameter 'isConnectIssueIgnored' is not assigned and could be declared final 3 204
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 205
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 205
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 3 211
UseExplicitTypes Use Explicit Types 3 211
LocalVariableCouldBeFinal Local variable 'httpHeaders' could be declared final 3 216
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 218
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 222
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 236
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 240
UseExplicitTypes Use Explicit Types 3 240
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 249
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 250
LocalVariableCouldBeFinal Local variable 'agents' could be declared final 3 251
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 251
LocalVariableCouldBeFinal Local variable 'listAgents' could be declared final 3 252
LocalVariableCouldBeFinal Local variable 'randomElement' could be declared final 3 255
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 263
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 3 268
MethodArgumentCouldBeFinal Parameter 'urlByUser' is not assigned and could be declared final 3 280
MethodArgumentCouldBeFinal Parameter 'urlBase' is not assigned and could be declared final 3 288
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 296
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 3 304
CommentSize Comment is too large: Line too long 3 309
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 312

model - com/jsql/util/CookiesUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 20
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 24
ConfusingTernary Avoid if (x != y) ..; else ..; 3 2532
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 26
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 31
LocalVariableCouldBeFinal Local variable 'rawHeader' could be declared final 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 34
LocalVariableCouldBeFinal Local variable 'cookies' could be declared final 3 36
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 36
LocalVariableCouldBeFinal Local variable 'cookie' could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'keyValue' could be declared final 3 52
LongVariable Avoid excessively long variable names like headerCookieWithStar 3 53
LocalVariableCouldBeFinal Local variable 'headerCookieWithStar' could be declared final 3 53
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 55
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 66

model - com/jsql/util/CsrfUtil.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenCsrf' 3 18
LongVariable Avoid excessively long variable names like SET_COOKIE_RESPONSE 3 20
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'headers' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 35
LocalVariableCouldBeFinal Local variable 'tags' could be declared final 3 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 55
LocalVariableCouldBeFinal Local variable 'optionalTokenCsrf' could be declared final 3 60
LocalVariableCouldBeFinal Local variable 'tokenCsrfFound' could be declared final 3 73
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 81
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 82
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 96
LongVariable Avoid excessively long variable names like optionalCookieCsrf 3 97
LocalVariableCouldBeFinal Local variable 'cookieValues' could be declared final 3 102
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 104
LocalVariableCouldBeFinal Local variable 'cookieEntry' could be declared final 3 106
LocalVariableCouldBeFinal Local variable 'cookieCsrf' could be declared final 3 116
LocalVariableCouldBeFinal Local variable 'headerCsrf' could be declared final 3 123
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 128
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 129
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 138
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 146
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 148
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 154
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 158164
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 171
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 175
MethodArgumentCouldBeFinal Parameter 'urlInjection' is not assigned and could be declared final 3 182
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 185
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 187
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 192
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 196
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 197
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 199
MethodArgumentCouldBeFinal Parameter 'tokenCsrf' is not assigned and could be declared final 3 217

model - com/jsql/util/DigestUtil.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'tokenDigest' 3 23
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 31
LocalVariableCouldBeFinal Local variable 'digestParts' could be declared final 3 36
LocalVariableCouldBeFinal Local variable 'cookieValues' could be declared final 3 41
LocalVariableCouldBeFinal Local variable 'cookieEntry' could be declared final 3 43
LocalVariableCouldBeFinal Local variable 'realm' could be declared final 3 53
LocalVariableCouldBeFinal Local variable 'qop' could be declared final 3 54
LocalVariableCouldBeFinal Local variable 'nonce' could be declared final 3 55
LocalVariableCouldBeFinal Local variable 'username' could be declared final 3 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 58
LocalVariableCouldBeFinal Local variable 'password' could be declared final 3 59
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 59
ShortVariable Avoid variables with short names like nc 3 60
LocalVariableCouldBeFinal Local variable 'nc' could be declared final 3 60
LocalVariableCouldBeFinal Local variable 'cnonce' could be declared final 3 61
LocalVariableCouldBeFinal Local variable 'url' could be declared final 3 63
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 63
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'ha1' could be declared final 3 66
LocalVariableCouldBeFinal Local variable 'ha2' could be declared final 3 69
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 70
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 72
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 86
MethodArgumentCouldBeFinal Parameter 'tokenDigest' is not assigned and could be declared final 3 97

model - com/jsql/util/ExceptionUtil.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like exceptionsMd5Cached 3 28
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 30
AtLeastOneConstructor Each class should declare at least one constructor 3 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 38
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 41
MethodArgumentCouldBeFinal Parameter 'thread' is not assigned and could be declared final 3 41
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 3 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 3 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 62
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 3 69
UseExplicitTypes Use Explicit Types 3 69
LocalVariableCouldBeFinal Local variable 'stackTrace' could be declared final 3 71
LocalVariableCouldBeFinal Local variable 'passwordString' could be declared final 3 72
UseExplicitTypes Use Explicit Types 3 72
LocalVariableCouldBeFinal Local variable 'passwordByte' could be declared final 3 74
LocalVariableCouldBeFinal Local variable 'encodedPassword' could be declared final 3 77
LocalVariableCouldBeFinal Local variable 'md5Exception' could be declared final 3 78
UseExplicitTypes Use Explicit Types 3 78
LawOfDemeter Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) 3 81
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 98
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 101
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 105

model - com/jsql/util/FormUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'pageSource' is not assigned and could be declared final 3 27
LocalVariableCouldBeFinal Local variable 'elementsForm' could be declared final 3 28
UseExplicitTypes Use Explicit Types 3 28
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 33
UseExplicitTypes Use Explicit Types 3 33
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 34
LocalVariableCouldBeFinal Local variable 'mapForms' could be declared final 3 34
LocalVariableCouldBeFinal Local variable 'form' could be declared final 3 36
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 37
LocalVariableCouldBeFinal Local variable 'input' could be declared final 3 45
ConfusingTernary Avoid if (x != y) ..; else ..; 3 5862
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 58
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 3 65
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 65
MethodArgumentCouldBeFinal Parameter 'mapForms' is not assigned and could be declared final 3 65
LocalVariableCouldBeFinal Local variable 'form' could be declared final 3 73
LocalVariableCouldBeFinal Local variable 'input' could be declared final 3 74
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 76
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 84
MethodArgumentCouldBeFinal Parameter 'statusCode' is not assigned and could be declared final 3 96
LooseCoupling Avoid using implementation types like 'Elements'; use the interface instead 3 96
MethodArgumentCouldBeFinal Parameter 'elementsForm' is not assigned and could be declared final 3 96
MethodArgumentCouldBeFinal Parameter 'result' is not assigned and could be declared final 3 96
AvoidLiteralsInIfCondition Avoid using literals such as 200 in if statements 3 103

model - com/jsql/util/GitUtil.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like NO 3 43
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 47
LongVariable Avoid excessively long variable names like displayUpdateMessage 3 55
MethodArgumentCouldBeFinal Parameter 'displayUpdateMessage' is not assigned and could be declared final 3 55
LocalVariableCouldBeFinal Local variable 'versionGit' could be declared final 3 60
UseExplicitTypes Use Explicit Types 3 60
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 3 61
MethodArgumentCouldBeFinal Parameter 'threadName' is not assigned and could be declared final 3 78
MethodArgumentCouldBeFinal Parameter 'throwable' is not assigned and could be declared final 3 78
LocalVariableCouldBeFinal Local variable 'screenSize' could be declared final 3 79
LawOfDemeter Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) 3 79
LocalVariableCouldBeFinal Local variable 'width' could be declared final 3 80
LocalVariableCouldBeFinal Local variable 'height' could be declared final 3 81
LocalVariableCouldBeFinal Local variable 'osMetadata' could be declared final 3 83
UseExplicitTypes Use Explicit Types 3 83
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 3 87
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 110
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 111
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 116
LocalVariableCouldBeFinal Local variable 'exceptionText' could be declared final 3 120
UseExplicitTypes Use Explicit Types 3 120
UseExplicitTypes Use Explicit Types 3 121
CommentSize Comment is too large: Line too long 3 129
CommentSize Comment is too large: Line too long 3 131
MethodArgumentCouldBeFinal Parameter 'reportBody' is not assigned and could be declared final 3 134
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 134
MethodArgumentCouldBeFinal Parameter 'reportTitle' is not assigned and could be declared final 3 134
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 135
LocalVariableCouldBeFinal Local variable 'token' could be declared final 3 139
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 142
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 3 148
UseExplicitTypes Use Explicit Types 3 148
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 149
LocalVariableCouldBeFinal Local variable 'response' could be declared final 3 161
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 161
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 169
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 3 173
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 173
LongVariable Avoid excessively long variable names like jsonObjectResponse 3 176
LocalVariableCouldBeFinal Local variable 'jsonObjectResponse' could be declared final 3 176
UseExplicitTypes Use Explicit Types 3 176
LocalVariableCouldBeFinal Local variable 'urlIssue' could be declared final 3 177
UseExplicitTypes Use Explicit Types 3 177
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 180
PreserveStackTrace Thrown exception does not preserve the stack trace of exception 'e' on all code paths 3 181
CommentSize Comment is too large: Line too long 3 187
LocalVariableCouldBeFinal Local variable 'news' could be declared final 3 192
UseExplicitTypes Use Explicit Types 3 192
UseExplicitTypes Use Explicit Types 3 193
LocalVariableCouldBeFinal Local variable 'json' could be declared final 3 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 209
CommentSize Comment is too large: Line too long 3 213

model - com/jsql/util/HeaderUtil.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like CONTENT_TYPE_REQUEST 3 32
LongVariable Avoid excessively long variable names like WWW_AUTHENTICATE_RESPONSE 3 33
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 39
MethodArgumentCouldBeFinal Parameter 'httpRequest' is not assigned and could be declared final 3 49
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 3 49
LocalVariableCouldBeFinal Local variable 'keyHeader' could be declared final 3 50
LocalVariableCouldBeFinal Local variable 'cookies' could be declared final 3 55
CommentSize Comment is too large: Line too long 3 61
LongVariable Avoid excessively long variable names like httpRequestBuilder 3 85
MethodArgumentCouldBeFinal Parameter 'httpRequestBuilder' is not assigned and could be declared final 3 85
MethodArgumentCouldBeFinal Parameter 'body' is not assigned and could be declared final 3 85
LocalVariableCouldBeFinal Local variable 'httpRequest' could be declared final 3 86
UseExplicitTypes Use Explicit Types 3 86
LocalVariableCouldBeFinal Local variable 'httpResponse' could be declared final 3 87
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 87
LocalVariableCouldBeFinal Local variable 'pageSource' could be declared final 3 91
LocalVariableCouldBeFinal Local variable 'cookies' could be declared final 3 93
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 93
LocalVariableCouldBeFinal Local variable 'responseCode' could be declared final 3 98
UseExplicitTypes Use Explicit Types 3 98
LongVariable Avoid excessively long variable names like mapResponseHeaders 3 99
LocalVariableCouldBeFinal Local variable 'mapResponseHeaders' could be declared final 3 99
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 105
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 107
LocalVariableCouldBeFinal Local variable 'msgHeader' could be declared final 3 107
LocalVariableCouldBeFinal Local variable 'sizeHeaders' could be declared final 3 109
LocalVariableCouldBeFinal Local variable 'size' could be declared final 3 115
LocalVariableCouldBeFinal Local variable 'decimalFormat' could be declared final 3 116
UseExplicitTypes Use Explicit Types 3 116
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 128
UseExplicitTypes Use Explicit Types 3 128
MethodArgumentCouldBeFinal Parameter 'response' is not assigned and could be declared final 3 136
AvoidLiteralsInIfCondition Avoid using literals such as 400 in if statements 3 137
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 138
CognitiveComplexity The method 'checkResponse(String, Map<String, String>)' has a cognitive complexity of 18, current threshold is 15 3 146
CyclomaticComplexity The method 'checkResponse(String, Map<String, String>)' has a cyclomatic complexity of 11. 3 146
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 146
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 146
ConfusingTernary Avoid if (x != y) ..; else ..; 3 181185
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 181
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 195
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 195
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'responseCode' is not assigned and could be declared final 3 214
MethodArgumentCouldBeFinal Parameter 'mapResponse' is not assigned and could be declared final 3 214

model - com/jsql/util/I18nUtil.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 12
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 18
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 3 42
CommentSize Comment is too large: Line too long 3 47
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 51
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 51
LocalVariableCouldBeFinal Local variable 'languageHost' could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 69

model - com/jsql/util/JsonUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'param' is not assigned and could be declared final 3 29
LongVariable Avoid excessively long variable names like exceptionJSONObject 3 33
LongVariable Avoid excessively long variable names like exceptionJSONArray 3 36
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 3 43
LocalVariableCouldBeFinal Local variable 'attributesXPath' could be declared final 3 44
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 3 53
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 3 53
LocalVariableCouldBeFinal Local variable 'jsonArrayEntity' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
UseExplicitTypes Use Explicit Types 3 55
LocalVariableCouldBeFinal Local variable 'value' could be declared final 3 56
LocalVariableCouldBeFinal Local variable 'xpath' could be declared final 3 57
CommentSize Comment is too large: Line too long 3 59
LocalVariableCouldBeFinal Local variable 'stringValue' could be declared final 3 63
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 63
MethodArgumentCouldBeFinal Parameter 'jsonEntity' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'parentName' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'parentXPath' is not assigned and could be declared final 3 75
MethodArgumentCouldBeFinal Parameter 'attributesXPath' is not assigned and could be declared final 3 75
LocalVariableCouldBeFinal Local variable 'jsonObjectEntity' could be declared final 3 76
UseExplicitTypes Use Explicit Types 3 76
LocalVariableCouldBeFinal Local variable 'keys' could be declared final 3 77
LocalVariableCouldBeFinal Local variable 'key' could be declared final 3 79
LocalVariableCouldBeFinal Local variable 'value' could be declared final 3 80
UseExplicitTypes Use Explicit Types 3 80
LocalVariableCouldBeFinal Local variable 'xpath' could be declared final 3 81
CommentSize Comment is too large: Line too long 3 83
LocalVariableCouldBeFinal Local variable 'stringValue' could be declared final 3 88
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 88
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 100
MethodArgumentCouldBeFinal Parameter 'paramStar' is not assigned and could be declared final 3 100
UseExplicitTypes Use Explicit Types 3 101
LocalVariableCouldBeFinal Local variable 'jsonEntity' could be declared final 3 107
LocalVariableCouldBeFinal Local variable 'attributesJson' could be declared final 3 110
LocalVariableCouldBeFinal Local variable 'parentXPath' could be declared final 3 113
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 131

model - com/jsql/util/LogLevelUtil.java

Rule Violation Priority Line
DataClass The class 'LogLevelUtil' is suspected to be a Data Class (WOC=0.000%, NOPA=9, NOAM=0, WMC=1) 3 7
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 7

model - com/jsql/util/MultipartUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 22
ConfusingTernary Avoid if (x != y) ..; else ..; 3 2327
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 26
LocalVariableCouldBeFinal Local variable 'rawHeader' could be declared final 3 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 29
LocalVariableCouldBeFinal Local variable 'rawRequest' could be declared final 3 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 30
LocalVariableCouldBeFinal Local variable 'matcherBoundary' could be declared final 3 32
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 34
LocalVariableCouldBeFinal Local variable 'boundary' could be declared final 3 37
LongVariable Avoid excessively long variable names like matcherFormDataParameters 3 39
LocalVariableCouldBeFinal Local variable 'matcherFormDataParameters' could be declared final 3 39
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 45
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 51
LongVariable Avoid excessively long variable names like matcherFormDataParameters 3 51
MethodArgumentCouldBeFinal Parameter 'matcherFormDataParameters' is not assigned and could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'nameParameter' could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'valueParameter' could be declared final 3 53
LongVariable Avoid excessively long variable names like rawRequestWithStar 3 55
LocalVariableCouldBeFinal Local variable 'rawRequestWithStar' could be declared final 3 55
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 70
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 70

model - com/jsql/util/ParameterUtil.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=83, ATFD=81, TCC=16.190%) 3 25
CyclomaticComplexity The class 'ParameterUtil' has a total cyclomatic complexity of 83 (highest 13). 3 25
TooManyMethods This class has too many methods, consider refactoring it. 3 25412
LongVariable Avoid excessively long variable names like isMultipartRequest 3 47
RedundantFieldInitializer Avoid using redundant field initializer for 'isMultipartRequest' 3 47
AvoidFieldNameMatchingMethodName Field isMultipartRequest has the same name as a method 3 47
FieldNamingConventions The constant name 'tchar' doesn't match '[A-Z][A-Z_0-9]*' 1 51
LocalVariableCouldBeFinal Local variable 'allowedTokenChars' could be declared final 3 54
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 59
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 66
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 75
CyclomaticComplexity The method 'controlInput(String, String, String, AbstractMethodInjection, String, boolean)' has a cyclomatic complexity of 13. 3 75
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 3 77
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 3 78
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 79
MethodArgumentCouldBeFinal Parameter 'typeRequest' is not assigned and could be declared final 3 80
MethodArgumentCouldBeFinal Parameter 'isScanning' is not assigned and could be declared final 3 81
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8994
LocalVariableCouldBeFinal Local variable 'port' could be declared final 3 97
AvoidLiteralsInIfCondition Avoid using literals such as 65535 in if statements 3 98
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 3 98
LocalVariableCouldBeFinal Local variable 'authority' could be declared final 3 101
LocalVariableCouldBeFinal Local variable 'authorityPunycode' could be declared final 3 105
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 115
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 116
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 121
ExceptionAsFlowControl Exception thrown at line 103 is caught in this block. 3 123130
ExceptionAsFlowControl Exception thrown at line 87 is caught in this block. 3 123130
ExceptionAsFlowControl Exception thrown at line 93 is caught in this block. 3 123130
ExceptionAsFlowControl Exception thrown at line 99 is caught in this block. 3 123130
LocalVariableCouldBeFinal Local variable 'request' could be declared final 3 127
UseExplicitTypes Use Explicit Types 3 127
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 142
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 145
MethodArgumentCouldBeFinal Parameter 'token' is not assigned and could be declared final 3 153
ShortVariable Avoid variables with short names like c 3 155
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 155
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 157
LocalVariableCouldBeFinal Local variable 'matcherBoundary' could be declared final 3 177
LocalVariableCouldBeFinal Local variable 'boundary' could be declared final 3 179
ConfusingTernary Avoid if (x != y) ..; else ..; 3 180186
UseExplicitTypes Use Explicit Types 3 192
CyclomaticComplexity The method 'checkStarMatchMethod()' has a cyclomatic complexity of 13. 3 215
LocalVariableCouldBeFinal Local variable 'methodInjection' could be declared final 3 216
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 216
LongVariable Avoid excessively long variable names like isCheckingAllParam 3 217
LocalVariableCouldBeFinal Local variable 'isCheckingAllParam' could be declared final 3 217
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 217
CompareObjectsWithEquals Use equals() to compare object references. 3 221
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 221
CompareObjectsWithEquals Use equals() to compare object references. 3 227
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 227
CompareObjectsWithEquals Use equals() to compare object references. 3 233
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 233
CyclomaticComplexity The method 'checkMethodNotEmpty()' has a cyclomatic complexity of 12. 3 240
LocalVariableCouldBeFinal Local variable 'methodInjection' could be declared final 3 241
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 241
LongVariable Avoid excessively long variable names like isCheckingAllParam 3 242
LocalVariableCouldBeFinal Local variable 'isCheckingAllParam' could be declared final 3 242
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 242
CompareObjectsWithEquals Use equals() to compare object references. 3 245
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 245
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 248
CompareObjectsWithEquals Use equals() to compare object references. 3 252
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 252
CompareObjectsWithEquals Use equals() to compare object references. 3 257
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 257
MethodArgumentCouldBeFinal Parameter 'parameterToInject' is not assigned and could be declared final 3 264
LongVariable Avoid excessively long variable names like characterInsertionByUser 3 265
LocalVariableCouldBeFinal Local variable 'characterInsertionByUser' could be declared final 3 265
MethodArgumentCouldBeFinal Parameter 'urlQuery' is not assigned and could be declared final 3 275
LocalVariableCouldBeFinal Local variable 'url' could be declared final 3 277
UseExplicitTypes Use Explicit Types 3 277
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 286
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 287
LocalVariableCouldBeFinal Local variable 'regexQueryString' could be declared final 3 291
UseExplicitTypes Use Explicit Types 3 291
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 296
MethodArgumentCouldBeFinal Parameter 'rawRequest' is not assigned and could be declared final 3 309
MethodArgumentCouldBeFinal Parameter 'rawHeader' is not assigned and could be declared final 3 331
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 350
CompareObjectsWithEquals Use equals() to compare object references. 3 350
LawOfDemeter Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) 3 350

model - com/jsql/util/PreferencesUtil.java

Rule Violation Priority Line
CyclomaticComplexity The class 'PreferencesUtil' has a total cyclomatic complexity of 136 (highest 3). 3 22
ExcessivePublicCount This class has a bunch of public methods and attributes 3 22
TooManyMethods This class has too many methods, consider refactoring it. 3 22897
TooManyFields Too many fields 3 22897
AvoidFieldNameMatchingMethodName Field isCheckingUpdate has the same name as a method 3 35
AvoidFieldNameMatchingMethodName Field isShowNews has the same name as a method 3 36
AvoidFieldNameMatchingMethodName Field isReportingBugs has the same name as a method 3 39
RedundantFieldInitializer Avoid using redundant field initializer for 'is4K' 3 41
AvoidFieldNameMatchingMethodName Field is4K has the same name as a method 3 41
LongVariable Avoid excessively long variable names like isFollowingRedirection 3 43
RedundantFieldInitializer Avoid using redundant field initializer for 'isFollowingRedirection' 3 43
AvoidFieldNameMatchingMethodName Field isFollowingRedirection has the same name as a method 3 43
RedundantFieldInitializer Avoid using redundant field initializer for 'isHttp2Disabled' 3 44
AvoidFieldNameMatchingMethodName Field isHttp2Disabled has the same name as a method 3 44
LongVariable Avoid excessively long variable names like isNotInjectingMetadata 3 46
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotInjectingMetadata' 3 46
AvoidFieldNameMatchingMethodName Field isNotInjectingMetadata has the same name as a method 3 46
LongVariable Avoid excessively long variable names like isNotSearchingCharInsertion 3 47
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotSearchingCharInsertion' 3 47
AvoidFieldNameMatchingMethodName Field isNotSearchingCharInsertion has the same name as a method 3 47
LongVariable Avoid excessively long variable names like isNotShowingVulnReport 3 48
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotShowingVulnReport' 3 48
AvoidFieldNameMatchingMethodName Field isNotShowingVulnReport has the same name as a method 3 48
LongVariable Avoid excessively long variable names like isCheckingAllParam 3 50
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllParam' 3 50
AvoidFieldNameMatchingMethodName Field isCheckingAllParam has the same name as a method 3 50
LongVariable Avoid excessively long variable names like isCheckingAllURLParam 3 51
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllURLParam' 3 51
AvoidFieldNameMatchingMethodName Field isCheckingAllURLParam has the same name as a method 3 51
LongVariable Avoid excessively long variable names like isCheckingAllRequestParam 3 52
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllRequestParam' 3 52
AvoidFieldNameMatchingMethodName Field isCheckingAllRequestParam has the same name as a method 3 52
LongVariable Avoid excessively long variable names like isCheckingAllHeaderParam 3 53
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllHeaderParam' 3 53
AvoidFieldNameMatchingMethodName Field isCheckingAllHeaderParam has the same name as a method 3 53
LongVariable Avoid excessively long variable names like isCheckingAllBase64Param 3 54
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllBase64Param' 3 54
AvoidFieldNameMatchingMethodName Field isCheckingAllBase64Param has the same name as a method 3 54
LongVariable Avoid excessively long variable names like isCheckingAllJsonParam 3 55
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllJsonParam' 3 55
AvoidFieldNameMatchingMethodName Field isCheckingAllJsonParam has the same name as a method 3 55
LongVariable Avoid excessively long variable names like isCheckingAllCookieParam 3 56
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllCookieParam' 3 56
AvoidFieldNameMatchingMethodName Field isCheckingAllCookieParam has the same name as a method 3 56
LongVariable Avoid excessively long variable names like isCheckingAllSoapParam 3 57
RedundantFieldInitializer Avoid using redundant field initializer for 'isCheckingAllSoapParam' 3 57
AvoidFieldNameMatchingMethodName Field isCheckingAllSoapParam has the same name as a method 3 57
LongVariable Avoid excessively long variable names like isPerfIndexDisabled 3 59
RedundantFieldInitializer Avoid using redundant field initializer for 'isPerfIndexDisabled' 3 59
AvoidFieldNameMatchingMethodName Field isPerfIndexDisabled has the same name as a method 3 59
RedundantFieldInitializer Avoid using redundant field initializer for 'isDefaultStrategy' 3 60
AvoidFieldNameMatchingMethodName Field isDefaultStrategy has the same name as a method 3 60
RedundantFieldInitializer Avoid using redundant field initializer for 'isZipStrategy' 3 61
AvoidFieldNameMatchingMethodName Field isZipStrategy has the same name as a method 3 61
RedundantFieldInitializer Avoid using redundant field initializer for 'isDiosStrategy' 3 62
AvoidFieldNameMatchingMethodName Field isDiosStrategy has the same name as a method 3 62
LongVariable Avoid excessively long variable names like isUrlEncodingDisabled 3 63
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlEncodingDisabled' 3 63
AvoidFieldNameMatchingMethodName Field isUrlEncodingDisabled has the same name as a method 3 63
LongVariable Avoid excessively long variable names like isUrlRandomSuffixDisabled 3 64
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlRandomSuffixDisabled' 3 64
AvoidFieldNameMatchingMethodName Field isUrlRandomSuffixDisabled has the same name as a method 3 64
RedundantFieldInitializer Avoid using redundant field initializer for 'isParsingForm' 3 66
AvoidFieldNameMatchingMethodName Field isParsingForm has the same name as a method 3 66
LongVariable Avoid excessively long variable names like isNotTestingConnection 3 67
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotTestingConnection' 3 67
AvoidFieldNameMatchingMethodName Field isNotTestingConnection has the same name as a method 3 67
LongVariable Avoid excessively long variable names like isNotProcessingCookies 3 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isNotProcessingCookies' 3 68
AvoidFieldNameMatchingMethodName Field isNotProcessingCookies has the same name as a method 3 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isProcessingCsrf' 3 69
AvoidFieldNameMatchingMethodName Field isProcessingCsrf has the same name as a method 3 69
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingBase64' 3 71
AvoidFieldNameMatchingMethodName Field isTamperingBase64 has the same name as a method 3 71
LongVariable Avoid excessively long variable names like isTamperingFunctionComment 3 72
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingFunctionComment' 3 72
AvoidFieldNameMatchingMethodName Field isTamperingFunctionComment has the same name as a method 3 72
LongVariable Avoid excessively long variable names like isTamperingVersionComment 3 73
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingVersionComment' 3 73
AvoidFieldNameMatchingMethodName Field isTamperingVersionComment has the same name as a method 3 73
LongVariable Avoid excessively long variable names like isTamperingEqualToLike 3 74
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEqualToLike' 3 74
AvoidFieldNameMatchingMethodName Field isTamperingEqualToLike has the same name as a method 3 74
LongVariable Avoid excessively long variable names like isTamperingRandomCase 3 75
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingRandomCase' 3 75
AvoidFieldNameMatchingMethodName Field isTamperingRandomCase has the same name as a method 3 75
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingEval' 3 76
AvoidFieldNameMatchingMethodName Field isTamperingEval has the same name as a method 3 76
LongVariable Avoid excessively long variable names like isTamperingSpaceToMultilineComment 3 77
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToMultilineComment' 3 77
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToMultilineComment has the same name as a method 3 77
LongVariable Avoid excessively long variable names like isTamperingSpaceToDashComment 3 78
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToDashComment' 3 78
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToDashComment has the same name as a method 3 78
LongVariable Avoid excessively long variable names like isTamperingSpaceToSharpComment 3 79
RedundantFieldInitializer Avoid using redundant field initializer for 'isTamperingSpaceToSharpComment' 3 79
AvoidFieldNameMatchingMethodName Field isTamperingSpaceToSharpComment has the same name as a method 3 79
AvoidFieldNameMatchingMethodName Field csrfUserTag has the same name as a method 3 81
AvoidFieldNameMatchingMethodName Field csrfUserTagOutput has the same name as a method 3 82
RedundantFieldInitializer Avoid using redundant field initializer for 'isCsrfUserTag' 3 83
AvoidFieldNameMatchingMethodName Field isCsrfUserTag has the same name as a method 3 83
AvoidFieldNameMatchingMethodName Field isLimitingThreads has the same name as a method 3 84
LongVariable Avoid excessively long variable names like countLimitingThreads 3 85
AvoidFieldNameMatchingMethodName Field countLimitingThreads has the same name as a method 3 85
LongVariable Avoid excessively long variable names like isConnectionTimeout 3 86
RedundantFieldInitializer Avoid using redundant field initializer for 'isConnectionTimeout' 3 86
AvoidFieldNameMatchingMethodName Field isConnectionTimeout has the same name as a method 3 86
LongVariable Avoid excessively long variable names like countConnectionTimeout 3 87
AvoidFieldNameMatchingMethodName Field countConnectionTimeout has the same name as a method 3 87
LongVariable Avoid excessively long variable names like isUnicodeDecodeDisabled 3 88
RedundantFieldInitializer Avoid using redundant field initializer for 'isUnicodeDecodeDisabled' 3 88
AvoidFieldNameMatchingMethodName Field isUnicodeDecodeDisabled has the same name as a method 3 88
LongVariable Avoid excessively long variable names like isUrlDecodeDisabled 3 89
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeDisabled' 3 89
AvoidFieldNameMatchingMethodName Field isUrlDecodeDisabled has the same name as a method 3 89
LongVariable Avoid excessively long variable names like isStrategyTimeDisabled 3 91
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyTimeDisabled' 3 91
AvoidFieldNameMatchingMethodName Field isStrategyTimeDisabled has the same name as a method 3 91
LongVariable Avoid excessively long variable names like isStrategyBlindBinDisabled 3 92
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBinDisabled' 3 92
AvoidFieldNameMatchingMethodName Field isStrategyBlindBinDisabled has the same name as a method 3 92
LongVariable Avoid excessively long variable names like isStrategyBlindBitDisabled 3 93
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyBlindBitDisabled' 3 93
AvoidFieldNameMatchingMethodName Field isStrategyBlindBitDisabled has the same name as a method 3 93
LongVariable Avoid excessively long variable names like isStrategyMultibitDisabled 3 94
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyMultibitDisabled' 3 94
AvoidFieldNameMatchingMethodName Field isStrategyMultibitDisabled has the same name as a method 3 94
LongVariable Avoid excessively long variable names like isStrategyDnsDisabled 3 95
AvoidFieldNameMatchingMethodName Field isStrategyDnsDisabled has the same name as a method 3 95
LongVariable Avoid excessively long variable names like isStrategyStackDisabled 3 96
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyStackDisabled' 3 96
AvoidFieldNameMatchingMethodName Field isStrategyStackDisabled has the same name as a method 3 96
LongVariable Avoid excessively long variable names like isStrategyErrorDisabled 3 97
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyErrorDisabled' 3 97
AvoidFieldNameMatchingMethodName Field isStrategyErrorDisabled has the same name as a method 3 97
LongVariable Avoid excessively long variable names like isStrategyUnionDisabled 3 98
RedundantFieldInitializer Avoid using redundant field initializer for 'isStrategyUnionDisabled' 3 98
AvoidFieldNameMatchingMethodName Field isStrategyUnionDisabled has the same name as a method 3 98
LongVariable Avoid excessively long variable names like isLimitingUnionIndex 3 100
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingUnionIndex' 3 100
AvoidFieldNameMatchingMethodName Field isLimitingUnionIndex has the same name as a method 3 100
AvoidFieldNameMatchingMethodName Field countUnionIndex has the same name as a method 3 101
LongVariable Avoid excessively long variable names like isLimitingSleepTimeStrategy 3 102
RedundantFieldInitializer Avoid using redundant field initializer for 'isLimitingSleepTimeStrategy' 3 102
AvoidFieldNameMatchingMethodName Field isLimitingSleepTimeStrategy has the same name as a method 3 102
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 3 103
AvoidFieldNameMatchingMethodName Field countSleepTimeStrategy has the same name as a method 3 103
RedundantFieldInitializer Avoid using redundant field initializer for 'isUserAgentRandom' 3 107
AvoidFieldNameMatchingMethodName Field isUserAgentRandom has the same name as a method 3 107
LongVariable Avoid excessively long variable names like isUrlDecodeNetworkTab 3 108
RedundantFieldInitializer Avoid using redundant field initializer for 'isUrlDecodeNetworkTab' 3 108
AvoidFieldNameMatchingMethodName Field isUrlDecodeNetworkTab has the same name as a method 3 108
LongVariable Avoid excessively long variable names like commandsReverseYaml 3 114
LocalVariableCouldBeFinal Local variable 'loaderOptions' could be declared final 3 118
UseExplicitTypes Use Explicit Types 3 118
ConstructorCallsOverridableMethod Overridable method called during object construction: PreferencesUtil.parseReverseCommands(String) 1 122
LongVariable Avoid excessively long variable names like commandsReverseYaml 3 128
MethodArgumentCouldBeFinal Parameter 'commandsReverseYaml' is not assigned and could be declared final 3 128
LongVariable Avoid excessively long variable names like commandsReverseMap 3 129
LocalVariableCouldBeFinal Local variable 'commandsReverseMap' could be declared final 3 129
NcssCount The method 'loadSavedPreferences()' has a NCSS line count of 65. 3 143
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 146
NcssCount The method 'persist()' has a NCSS line count of 64. 3 228
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 230
UseExplicitTypes Use Explicit Types 3 230
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 308
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 310
MethodArgumentCouldBeFinal Parameter 'isCheckingUpdate' is not assigned and could be declared final 3 584
MethodArgumentCouldBeFinal Parameter 'isShowNews' is not assigned and could be declared final 3 589
MethodArgumentCouldBeFinal Parameter 'isReportingBugs' is not assigned and could be declared final 3 593
MethodArgumentCouldBeFinal Parameter 'is4K' is not assigned and could be declared final 3 598
LongVariable Avoid excessively long variable names like isFollowingRedirection 3 603
MethodArgumentCouldBeFinal Parameter 'isFollowingRedirection' is not assigned and could be declared final 3 603
MethodArgumentCouldBeFinal Parameter 'isHttp2Disabled' is not assigned and could be declared final 3 608
LongVariable Avoid excessively long variable names like isUnicodeDecodeDisabled 3 613
MethodArgumentCouldBeFinal Parameter 'isUnicodeDecodeDisabled' is not assigned and could be declared final 3 613
LongVariable Avoid excessively long variable names like isUrlDecodeDisabled 3 618
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeDisabled' is not assigned and could be declared final 3 618
LongVariable Avoid excessively long variable names like isNotInjectingMetadata 3 623
MethodArgumentCouldBeFinal Parameter 'isNotInjectingMetadata' is not assigned and could be declared final 3 623
LongVariable Avoid excessively long variable names like isNotSearchingCharInsertion 3 628
MethodArgumentCouldBeFinal Parameter 'isNotSearchingCharInsertion' is not assigned and could be declared final 3 628
LongVariable Avoid excessively long variable names like isNotShowingVulnReport 3 633
MethodArgumentCouldBeFinal Parameter 'isNotShowingVulnReport' is not assigned and could be declared final 3 633
LongVariable Avoid excessively long variable names like isCheckingAllParam 3 638
MethodArgumentCouldBeFinal Parameter 'isCheckingAllParam' is not assigned and could be declared final 3 638
LongVariable Avoid excessively long variable names like isCheckingAllURLParam 3 643
MethodArgumentCouldBeFinal Parameter 'isCheckingAllURLParam' is not assigned and could be declared final 3 643
LongVariable Avoid excessively long variable names like isCheckingAllRequestParam 3 648
MethodArgumentCouldBeFinal Parameter 'isCheckingAllRequestParam' is not assigned and could be declared final 3 648
LongVariable Avoid excessively long variable names like isCheckingAllHeaderParam 3 653
MethodArgumentCouldBeFinal Parameter 'isCheckingAllHeaderParam' is not assigned and could be declared final 3 653
LongVariable Avoid excessively long variable names like isCheckingAllBase64Param 3 658
MethodArgumentCouldBeFinal Parameter 'isCheckingAllBase64Param' is not assigned and could be declared final 3 658
LongVariable Avoid excessively long variable names like isCheckingAllJSONParam 3 663
MethodArgumentCouldBeFinal Parameter 'isCheckingAllJSONParam' is not assigned and could be declared final 3 663
LongVariable Avoid excessively long variable names like isCheckingAllCookieParam 3 668
MethodArgumentCouldBeFinal Parameter 'isCheckingAllCookieParam' is not assigned and could be declared final 3 668
LongVariable Avoid excessively long variable names like isCheckingAllSOAPParam 3 673
MethodArgumentCouldBeFinal Parameter 'isCheckingAllSOAPParam' is not assigned and could be declared final 3 673
MethodArgumentCouldBeFinal Parameter 'isParsingForm' is not assigned and could be declared final 3 678
LongVariable Avoid excessively long variable names like isNotTestingConnection 3 683
MethodArgumentCouldBeFinal Parameter 'isNotTestingConnection' is not assigned and could be declared final 3 683
LongVariable Avoid excessively long variable names like isNotProcessingCookies 3 688
MethodArgumentCouldBeFinal Parameter 'isNotProcessingCookies' is not assigned and could be declared final 3 688
MethodArgumentCouldBeFinal Parameter 'isProcessingCsrf' is not assigned and could be declared final 3 693
MethodArgumentCouldBeFinal Parameter 'isTamperingBase64' is not assigned and could be declared final 3 698
LongVariable Avoid excessively long variable names like isTamperingFunctionComment 3 703
MethodArgumentCouldBeFinal Parameter 'isTamperingFunctionComment' is not assigned and could be declared final 3 703
LongVariable Avoid excessively long variable names like isTamperingVersionComment 3 708
MethodArgumentCouldBeFinal Parameter 'isTamperingVersionComment' is not assigned and could be declared final 3 708
LongVariable Avoid excessively long variable names like isTamperingEqualToLike 3 713
MethodArgumentCouldBeFinal Parameter 'isTamperingEqualToLike' is not assigned and could be declared final 3 713
LongVariable Avoid excessively long variable names like isTamperingRandomCase 3 718
MethodArgumentCouldBeFinal Parameter 'isTamperingRandomCase' is not assigned and could be declared final 3 718
MethodArgumentCouldBeFinal Parameter 'isTamperingEval' is not assigned and could be declared final 3 723
LongVariable Avoid excessively long variable names like isTamperingSpaceToMultilineComment 3 728
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToMultilineComment' is not assigned and could be declared final 3 728
LongVariable Avoid excessively long variable names like isTamperingSpaceToDashComment 3 733
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToDashComment' is not assigned and could be declared final 3 733
LongVariable Avoid excessively long variable names like isTamperingSpaceToSharpComment 3 738
MethodArgumentCouldBeFinal Parameter 'isTamperingSpaceToSharpComment' is not assigned and could be declared final 3 738
MethodArgumentCouldBeFinal Parameter 'csrfUserTag' is not assigned and could be declared final 3 743
MethodArgumentCouldBeFinal Parameter 'csrfUserTagOutput' is not assigned and could be declared final 3 748
MethodArgumentCouldBeFinal Parameter 'isCsrfUserTag' is not assigned and could be declared final 3 753
MethodArgumentCouldBeFinal Parameter 'isLimitingThreads' is not assigned and could be declared final 3 758
LongVariable Avoid excessively long variable names like isConnectionTimeout 3 763
MethodArgumentCouldBeFinal Parameter 'isConnectionTimeout' is not assigned and could be declared final 3 763
LongVariable Avoid excessively long variable names like isLimitingSleepTimeStrategy 3 768
MethodArgumentCouldBeFinal Parameter 'isLimitingSleepTimeStrategy' is not assigned and could be declared final 3 768
LongVariable Avoid excessively long variable names like countLimitingThreads 3 773
MethodArgumentCouldBeFinal Parameter 'countLimitingThreads' is not assigned and could be declared final 3 773
LongVariable Avoid excessively long variable names like countConnectionTimeout 3 778
MethodArgumentCouldBeFinal Parameter 'countConnectionTimeout' is not assigned and could be declared final 3 778
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 3 783
MethodArgumentCouldBeFinal Parameter 'countSleepTimeStrategy' is not assigned and could be declared final 3 783
MethodArgumentCouldBeFinal Parameter 'isZipStrategy' is not assigned and could be declared final 3 788
MethodArgumentCouldBeFinal Parameter 'isDefaultStrategy' is not assigned and could be declared final 3 793
MethodArgumentCouldBeFinal Parameter 'isDiosStrategy' is not assigned and could be declared final 3 798
LongVariable Avoid excessively long variable names like isPerfIndexDisabled 3 803
MethodArgumentCouldBeFinal Parameter 'isPerfIndexDisabled' is not assigned and could be declared final 3 803
LongVariable Avoid excessively long variable names like isUrlEncodingDisabled 3 808
MethodArgumentCouldBeFinal Parameter 'isUrlEncodingDisabled' is not assigned and could be declared final 3 808
LongVariable Avoid excessively long variable names like isUrlRandomSuffixDisabled 3 813
MethodArgumentCouldBeFinal Parameter 'isUrlRandomSuffixDisabled' is not assigned and could be declared final 3 813
LongVariable Avoid excessively long variable names like isLimitingUnionIndex 3 818
MethodArgumentCouldBeFinal Parameter 'isLimitingUnionIndex' is not assigned and could be declared final 3 818
MethodArgumentCouldBeFinal Parameter 'countUnionIndex' is not assigned and could be declared final 3 823
MethodArgumentCouldBeFinal Parameter 'dnsDomain' is not assigned and could be declared final 3 828
MethodArgumentCouldBeFinal Parameter 'dnsPort' is not assigned and could be declared final 3 833
LongVariable Avoid excessively long variable names like isStrategyTimeDisabled 3 838
MethodArgumentCouldBeFinal Parameter 'isStrategyTimeDisabled' is not assigned and could be declared final 3 838
LongVariable Avoid excessively long variable names like isStrategyBlindBitDisabled 3 843
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBitDisabled' is not assigned and could be declared final 3 843
LongVariable Avoid excessively long variable names like isStrategyBlindBinDisabled 3 848
MethodArgumentCouldBeFinal Parameter 'isStrategyBlindBinDisabled' is not assigned and could be declared final 3 848
LongVariable Avoid excessively long variable names like isStrategyMultibitDisabled 3 853
MethodArgumentCouldBeFinal Parameter 'isStrategyMultibitDisabled' is not assigned and could be declared final 3 853
LongVariable Avoid excessively long variable names like isStrategyStackDisabled 3 858
MethodArgumentCouldBeFinal Parameter 'isStrategyStackDisabled' is not assigned and could be declared final 3 858
LongVariable Avoid excessively long variable names like isStrategyDnsDisabled 3 863
MethodArgumentCouldBeFinal Parameter 'isStrategyDnsDisabled' is not assigned and could be declared final 3 863
LongVariable Avoid excessively long variable names like isStrategyErrorDisabled 3 868
MethodArgumentCouldBeFinal Parameter 'isStrategyErrorDisabled' is not assigned and could be declared final 3 868
LongVariable Avoid excessively long variable names like isStrategyUnionDisabled 3 873
MethodArgumentCouldBeFinal Parameter 'isStrategyUnionDisabled' is not assigned and could be declared final 3 873
MethodArgumentCouldBeFinal Parameter 'themeFlatLafName' is not assigned and could be declared final 3 878
LongVariable Avoid excessively long variable names like isUrlDecodeNetworkTab 3 883
MethodArgumentCouldBeFinal Parameter 'isUrlDecodeNetworkTab' is not assigned and could be declared final 3 883
MethodArgumentCouldBeFinal Parameter 'languageTag' is not assigned and could be declared final 3 888
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 893

model - com/jsql/util/PropertiesUtil.java

Rule Violation Priority Line
LocalVariableCouldBeFinal Local variable 'filename' could be declared final 3 29
UseExplicitTypes Use Explicit Types 3 29
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 30
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 41
LocalVariableCouldBeFinal Local variable 'countJvm' could be declared final 3 42
UseExplicitTypes Use Explicit Types 3 43
LocalVariableCouldBeFinal Local variable 'countGui' could be declared final 3 44
UseExplicitTypes Use Explicit Types 3 45
LocalVariableCouldBeFinal Local variable 'propertiesRoot' could be declared final 3 46
UseExplicitTypes Use Explicit Types 3 46
LocalVariableCouldBeFinal Local variable 'bundleUser' could be declared final 3 49
UseExplicitTypes Use Explicit Types 3 49
LiteralsFirstInComparisons Position literals first in String comparisons 3 60
LocalVariableCouldBeFinal Local variable 'propertiesJvm' could be declared final 3 61
UseExplicitTypes Use Explicit Types 3 61
GuardLogStatement Logger calls should be surrounded by log level guards. 2 7377
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 81
LocalVariableCouldBeFinal Local variable 'properties' could be declared final 3 82
UseExplicitTypes Use Explicit Types 3 82
LocalVariableCouldBeFinal Local variable 'uri' could be declared final 3 84
UseExplicitTypes Use Explicit Types 3 84
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 85
UseExplicitTypes Use Explicit Types 3 85
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 86
LocalVariableCouldBeFinal Local variable 'rootI18n' could be declared final 3 87
UseExplicitTypes Use Explicit Types 3 87
LocalVariableCouldBeFinal Local variable 'rootI18nFixed' could be declared final 3 88
MethodArgumentCouldBeFinal Parameter 'property' is not assigned and could be declared final 3 102

model - com/jsql/util/ProxyUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 17
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttp' 3 36
AvoidFieldNameMatchingMethodName Field isUsingProxyHttp has the same name as a method 3 36
RedundantFieldInitializer Avoid using redundant field initializer for 'isUsingProxyHttps' 3 37
AvoidFieldNameMatchingMethodName Field isUsingProxyHttps has the same name as a method 3 37
LongVariable Avoid excessively long variable names like PROPERTIES_HTTP_PROXY_HOST 3 39
LongVariable Avoid excessively long variable names like PROPERTIES_HTTP_PROXY_PORT 3 40
LongVariable Avoid excessively long variable names like PROPERTIES_HTTPS_PROXY_HOST 3 41
LongVariable Avoid excessively long variable names like PROPERTIES_HTTPS_PROXY_PORT 3 42
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 50
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 3 51
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'prefs' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 95
UseExplicitTypes Use Explicit Types 3 95
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 102
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 105
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 126
UseExplicitTypes Use Explicit Types 3 127
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 3 145
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 3 145
UseExplicitTypes Use Explicit Types 3 146
CloseResource Ensure that resources like this Socket object are closed after use 3 148
LocalVariableCouldBeFinal Local variable 'socket' could be declared final 3 148
UseExplicitTypes Use Explicit Types 3 148
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 151
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 3 158
MethodArgumentCouldBeFinal Parameter 'showOnConsole' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'address' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 3 170
MethodArgumentCouldBeFinal Parameter 'protocol' is not assigned and could be declared final 3 170
ShortVariable Avoid variables with short names like e 3 170
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 170
LocalVariableCouldBeFinal Local variable 'message' could be declared final 3 172
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttp' is not assigned and could be declared final 3 193
MethodArgumentCouldBeFinal Parameter 'proxyPortHttp' is not assigned and could be declared final 3 201
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttp' is not assigned and could be declared final 3 209
MethodArgumentCouldBeFinal Parameter 'proxyAddressHttps' is not assigned and could be declared final 3 217
MethodArgumentCouldBeFinal Parameter 'proxyPortHttps' is not assigned and could be declared final 3 225
MethodArgumentCouldBeFinal Parameter 'isUsingProxyHttps' is not assigned and could be declared final 3 233

model - com/jsql/util/SoapUtil.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 31
MethodArgumentCouldBeFinal Parameter 'hasFoundInjection' is not assigned and could be declared final 3 35
ConfusingTernary Avoid if (x != y) ..; else ..; 3 3640
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 39
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 43
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 44
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 3 47
UseExplicitTypes Use Explicit Types 3 47
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 47
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 49
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 50
MethodArgumentCouldBeFinal Parameter 'xmlStr' is not assigned and could be declared final 3 57
LocalVariableCouldBeFinal Local variable 'factory' could be declared final 3 58
UseExplicitTypes Use Explicit Types 3 58
LocalVariableCouldBeFinal Local variable 'builder' could be declared final 3 63
UseExplicitTypes Use Explicit Types 3 63
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 3 67
LocalVariableCouldBeFinal Local variable 'nodeList' could be declared final 3 68
UseExplicitTypes Use Explicit Types 3 68
UseExplicitTypes Use Explicit Types 3 69
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 3 70
UseExplicitTypes Use Explicit Types 3 70
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 73
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 79
LawOfDemeter Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) 3 89
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 90
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 3 108
LocalVariableCouldBeFinal Local variable 'nodeList' could be declared final 3 109
UseExplicitTypes Use Explicit Types 3 109
UseExplicitTypes Use Explicit Types 3 110
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 3 111
UseExplicitTypes Use Explicit Types 3 111
MethodArgumentCouldBeFinal Parameter 'doc' is not assigned and could be declared final 3 124
LongVariable Avoid excessively long variable names like transformerFactory 3 125
LocalVariableCouldBeFinal Local variable 'transformerFactory' could be declared final 3 125
UseExplicitTypes Use Explicit Types 3 125
LocalVariableCouldBeFinal Local variable 'transformer' could be declared final 3 131
UseExplicitTypes Use Explicit Types 3 131
LocalVariableCouldBeFinal Local variable 'writer' could be declared final 3 132
UseExplicitTypes Use Explicit Types 3 132
EmptyCatchBlock Avoid empty catch blocks 3 135137

model - com/jsql/util/StringUtil.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
GodClass Possible God Class (WMC=60, ATFD=15, TCC=0.135%) 3 39
TooManyMethods This class has too many methods, consider refactoring it. 3 39374
LongVariable Avoid excessively long variable names like DECIMAL_HTML_ENCODER 3 44
LongVariable Avoid excessively long variable names like INFORMATION_SCHEMA 3 47
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 3 60
MethodArgumentCouldBeFinal Parameter 'radix' is not assigned and could be declared final 3 60
ShortVariable Avoid variables with short names like c 3 66
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 66
MethodArgumentCouldBeFinal Parameter 'buff' is not assigned and could be declared final 3 66
CommentSize Comment is too large: Line too long 3 79
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 83
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 92
LocalVariableCouldBeFinal Local variable 'buff' could be declared final 3 93
UseExplicitTypes Use Explicit Types 3 93
UseExplicitTypes Use Explicit Types 3 94
AvoidLiteralsInIfCondition Avoid using literals such as 128 in if statements 3 95
MethodArgumentCouldBeFinal Parameter 'hex' is not assigned and could be declared final 3 109
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 3 110
UseExplicitTypes Use Explicit Types 3 110
UseExplicitTypes Use Explicit Types 3 111
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 117
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 119
LocalVariableCouldBeFinal Local variable 'detector' could be declared final 3 122
UseExplicitTypes Use Explicit Types 3 122
LocalVariableCouldBeFinal Local variable 'encoding' could be declared final 3 125
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 131
LocalVariableCouldBeFinal Local variable 'detector' could be declared final 3 138
UseExplicitTypes Use Explicit Types 3 138
ShortVariable Avoid variables with short names like s 3 154
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 154
LocalVariableCouldBeFinal Local variable 'base32' could be declared final 3 155
UseExplicitTypes Use Explicit Types 3 155
ShortVariable Avoid variables with short names like s 3 159
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 159
LocalVariableCouldBeFinal Local variable 'base32' could be declared final 3 160
UseExplicitTypes Use Explicit Types 3 160
ShortVariable Avoid variables with short names like s 3 164
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 164
ShortVariable Avoid variables with short names like s 3 168
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 168
ShortVariable Avoid variables with short names like s 3 172
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 172
LocalVariableCouldBeFinal Local variable 'base16' could be declared final 3 173
UseExplicitTypes Use Explicit Types 3 173
ShortVariable Avoid variables with short names like s 3 177
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 177
LocalVariableCouldBeFinal Local variable 'base16' could be declared final 3 178
UseExplicitTypes Use Explicit Types 3 178
ShortVariable Avoid variables with short names like s 3 182
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 182
ShortVariable Avoid variables with short names like s 3 186
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 186
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 190
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 194
LocalVariableCouldBeFinal Local variable 'hex' could be declared final 3 195
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 199
LocalVariableCouldBeFinal Local variable 'zip' could be declared final 3 200
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 204
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 208
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 209
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 212
LongVariable Avoid excessively long variable names like decompressedBArray 3 213
LocalVariableCouldBeFinal Local variable 'decompressedBArray' could be declared final 3 213
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 217
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 221
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 225
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 229
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 233
CommentSize Comment is too large: Line too long 3 243
MethodArgumentCouldBeFinal Parameter 'query' is not assigned and could be declared final 3 246
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 3 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 253
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 266
ShortVariable Avoid variables with short names like os 3 267
LocalVariableCouldBeFinal Local variable 'os' could be declared final 3 267
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 269
MethodArgumentCouldBeFinal Parameter 'compressedTxt' is not assigned and could be declared final 3 274
ShortVariable Avoid variables with short names like os 3 275
LocalVariableCouldBeFinal Local variable 'os' could be declared final 3 275
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 3 282
LocalVariableCouldBeFinal Local variable 'firstDigit' could be declared final 3 283
LocalVariableCouldBeFinal Local variable 'secondDigit' could be declared final 3 284
MethodArgumentCouldBeFinal Parameter 'hexChar' is not assigned and could be declared final 3 288
LocalVariableCouldBeFinal Local variable 'digit' could be declared final 3 289
MethodArgumentCouldBeFinal Parameter 'num' is not assigned and could be declared final 3 296
LocalVariableCouldBeFinal Local variable 'hexDigits' could be declared final 3 297
MethodArgumentCouldBeFinal Parameter 'byteArray' is not assigned and could be declared final 3 303
LocalVariableCouldBeFinal Local variable 'hexStringBuffer' could be declared final 3 304
LocalVariableCouldBeFinal Local variable 'b' could be declared final 3 305
MethodArgumentCouldBeFinal Parameter 'hexString' is not assigned and could be declared final 3 311
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 312
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 3 315
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 322
MethodArgumentCouldBeFinal Parameter 'bytes' is not assigned and could be declared final 3 326
MethodArgumentCouldBeFinal Parameter 'plaintext' is not assigned and could be declared final 3 330
MethodArgumentCouldBeFinal Parameter 'key' is not assigned and could be declared final 3 330
LocalVariableCouldBeFinal Local variable 'ciphertext' could be declared final 3 331
UseExplicitTypes Use Explicit Types 3 331
UseExplicitTypes Use Explicit Types 3 332
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 3 338
LocalVariableCouldBeFinal Local variable 'hexString' could be declared final 3 339
LocalVariableCouldBeFinal Local variable 'b' could be declared final 3 340
LocalVariableCouldBeFinal Local variable 'chunkSize' could be declared final 3 343
LocalVariableCouldBeFinal Local variable 'chunks' could be declared final 3 344
LocalVariableCouldBeFinal Local variable 'endIndex' could be declared final 3 346
MethodArgumentCouldBeFinal Parameter 'path' is not assigned and could be declared final 3 352
LocalVariableCouldBeFinal Local variable 'content' could be declared final 3 353
UseExplicitTypes Use Explicit Types 3 353
UseExplicitTypes Use Explicit Types 3 355
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 355
UseExplicitTypes Use Explicit Types 3 356
UseExplicitTypes Use Explicit Types 3 357
AssignmentInOperand Avoid assignment to line in operand 3 360
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 361
MethodArgumentCouldBeFinal Parameter 'fileData' is not assigned and could be declared final 3 369
LocalVariableCouldBeFinal Local variable 'fileDataUncloaked' could be declared final 3 370
UseUnderscoresInNumericLiterals Number 353837730 should separate every third digit with an underscore 3 370

model - com/jsql/util/TamperingUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 14
TooManyMethods This class has too many methods, consider refactoring it. 3 14276
RedundantFieldInitializer Avoid using redundant field initializer for 'isBase64' 3 21
RedundantFieldInitializer Avoid using redundant field initializer for 'isVersionComment' 3 22
RedundantFieldInitializer Avoid using redundant field initializer for 'isFunctionComment' 3 23
RedundantFieldInitializer Avoid using redundant field initializer for 'isEqualToLike' 3 24
RedundantFieldInitializer Avoid using redundant field initializer for 'isRandomCase' 3 25
RedundantFieldInitializer Avoid using redundant field initializer for 'isHexToChar' 3 26
RedundantFieldInitializer Avoid using redundant field initializer for 'isStringToChar' 3 27
RedundantFieldInitializer Avoid using redundant field initializer for 'isQuoteToUtf8' 3 28
RedundantFieldInitializer Avoid using redundant field initializer for 'isCharToEncoding' 3 29
RedundantFieldInitializer Avoid using redundant field initializer for 'isEval' 3 30
LongVariable Avoid excessively long variable names like isSpaceToMultilineComment 3 31
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToMultilineComment' 3 31
LongVariable Avoid excessively long variable names like isSpaceToDashComment 3 32
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToDashComment' 3 32
LongVariable Avoid excessively long variable names like isSpaceToSharpComment 3 33
RedundantFieldInitializer Avoid using redundant field initializer for 'isSpaceToSharpComment' 3 33
RedundantFieldInitializer Avoid using redundant field initializer for 'customTamper' 3 35
LongVariable Avoid excessively long variable names like SCRIPT_ENGINE_MANAGER 3 37
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 39
MethodArgumentCouldBeFinal Parameter 'jsTampering' is not assigned and could be declared final 3 39
LocalVariableCouldBeFinal Local variable 'nashornEngine' could be declared final 3 46
LocalVariableCouldBeFinal Local variable 'nashornInvocable' could be declared final 3 49
UseExplicitTypes Use Explicit Types 3 49
ExceptionAsFlowControl Exception thrown at line 43 is caught in this block. 3 5259
MethodArgumentCouldBeFinal Parameter 'sqlQueryDefault' is not assigned and could be declared final 3 71
LocalVariableCouldBeFinal Local variable 'lead' could be declared final 3 72
LocalVariableCouldBeFinal Local variable 'trail' could be declared final 3 74
CommentSize Comment is too large: Line too long 3 76
LongVariable Avoid excessively long variable names like regexToMatchTamperTags 3 77
LocalVariableCouldBeFinal Local variable 'regexToMatchTamperTags' could be declared final 3 77
LocalVariableCouldBeFinal Local variable 'matcherSql' could be declared final 3 78
UseExplicitTypes Use Explicit Types 3 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 85
LongVariable Avoid excessively long variable names like regexToRemoveTamperTags 3 101
LocalVariableCouldBeFinal Local variable 'regexToRemoveTamperTags' 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 106
MethodArgumentCouldBeFinal Parameter 'sqlQuery' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'shouldApply' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'tamperingType' is not assigned and could be declared final 3 126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 128
MethodArgumentCouldBeFinal Parameter 'customTamper' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 212
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 217
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 222
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 227
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 232
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 237
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 242
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 247
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 252
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 257
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 262
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 267
MethodArgumentCouldBeFinal Parameter 'selected' is not assigned and could be declared final 3 272

model - com/jsql/util/ThreadUtil.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 30
CommentSize Comment is too large: Line too long 3 41
MethodArgumentCouldBeFinal Parameter 'injectionModel' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 3 56
MethodArgumentCouldBeFinal Parameter 'suspendable' is not assigned and could be declared final 3 56
CommentSize Comment is too large: Line too long 3 62
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 3 67
MethodArgumentCouldBeFinal Parameter 'elementDatabase' is not assigned and could be declared final 3 76
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 89
MethodArgumentCouldBeFinal Parameter 'nameThread' is not assigned and could be declared final 3 89
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 90
LocalVariableCouldBeFinal Local variable 'taskExecutor' could be declared final 3 90
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 92
LocalVariableCouldBeFinal Local variable 'countThreads' could be declared final 3 93
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 93
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 96
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 101
MethodArgumentCouldBeFinal Parameter 'taskExecutor' is not assigned and could be declared final 3 101
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 103
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 104
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 108
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 109
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 110
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 114

model - com/jsql/util/UserAgentUtil.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 5
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 3 9
MethodArgumentCouldBeFinal Parameter 'customUserAgent' is not assigned and could be declared final 3 20

model - com/jsql/util/bruter/ActionCoder.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 22
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 28
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 64
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 70
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 76
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 82
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 88
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 94
LongVariable Avoid excessively long variable names like ENCODE_TO_BASE64_ZIP 3 98
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 100
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 112
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 118
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 124
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 130
LongVariable Avoid excessively long variable names like ENCODE_TO_HTML_DECIMAL 3 134
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 142
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 148
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 154
LongVariable Avoid excessively long variable names like DECODE_FROM_HEX_ZIP 3 158
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 160
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE64_ZIP 3 164
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 166
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE64 3 170
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 172
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE32 3 176
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 178
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE58 3 182
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 184
LongVariable Avoid excessively long variable names like DECODE_FROM_BASE16 3 188
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 190
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 196
LongVariable Avoid excessively long variable names like DECODE_FROM_UNICODE 3 200
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 202
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 220
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 3 223
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'isHash' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'isEmptyPossible' is not assigned and could be declared final 3 226
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 246

model - com/jsql/util/bruter/Base58.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 8
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 3 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 30
LocalVariableCouldBeFinal Local variable 'copyInput' could be declared final 3 33
UseExplicitTypes Use Explicit Types 3 35
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 3 40
UseExplicitTypes Use Explicit Types 3 40
ShortVariable Avoid variables with short names like j 3 41
LocalVariableCouldBeFinal Local variable 'mod' could be declared final 3 44
AssignmentInOperand Avoid assignment to j in operand 3 48
AssignmentInOperand Avoid assignment to zeroCount in operand 3 55
AssignmentInOperand Avoid assignment to j in operand 3 56
LocalVariableCouldBeFinal Local variable 'output' could be declared final 3 58
CyclomaticComplexity The method 'decode(String)' has a cyclomatic complexity of 13. 3 62
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 3 62
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 65
LocalVariableCouldBeFinal Local variable 'input58' could be declared final 3 67
UseExplicitTypes Use Explicit Types 3 67
UseExplicitTypes Use Explicit Types 3 69
ShortVariable Avoid variables with short names like c 3 70
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 70
UseExplicitTypes Use Explicit Types 3 70
UseExplicitTypes Use Explicit Types 3 82
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 3 88
UseExplicitTypes Use Explicit Types 3 88
ShortVariable Avoid variables with short names like j 3 89
LocalVariableCouldBeFinal Local variable 'mod' could be declared final 3 93
AssignmentInOperand Avoid assignment to j in operand 3 97
MethodArgumentCouldBeFinal Parameter 'number' is not assigned and could be declared final 3 106
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 3 106
UseExplicitTypes Use Explicit Types 3 107
LocalVariableCouldBeFinal Local variable 'digit256' could be declared final 3 109
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 3 110
MethodArgumentCouldBeFinal Parameter 'number58' is not assigned and could be declared final 3 117
MethodArgumentCouldBeFinal Parameter 'startAt' is not assigned and could be declared final 3 117
UseExplicitTypes Use Explicit Types 3 118
LocalVariableCouldBeFinal Local variable 'digit58' could be declared final 3 120
LocalVariableCouldBeFinal Local variable 'temp' could be declared final 3 121
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 128
MethodArgumentCouldBeFinal Parameter 'from' is not assigned and could be declared final 3 128
ShortVariable Avoid variables with short names like to 3 128
MethodArgumentCouldBeFinal Parameter 'to' is not assigned and could be declared final 3 128
LocalVariableCouldBeFinal Local variable 'range' could be declared final 3 129
UseExplicitTypes Use Explicit Types 3 129

model - com/jsql/util/bruter/Bruter.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 11
RedundantFieldInitializer Avoid using redundant field initializer for 'found' 3 18
FieldNamingConventions The constant name 'specialCharacters' doesn't match '[A-Z][A-Z_0-9]*' 1 28
RedundantFieldInitializer Avoid using redundant field initializer for 'done' 3 34
UseExplicitTypes Use Explicit Types 3 49
UseExplicitTypes Use Explicit Types 3 55
UseExplicitTypes Use Explicit Types 3 61
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 67
ShortVariable Avoid variables with short names like s 3 72
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 72
LocalVariableCouldBeFinal Local variable 'arrayChars' could be declared final 3 73
LocalVariableCouldBeFinal Local variable 'arrayChar' could be declared final 3 74
ShortVariable Avoid variables with short names like i 3 80
LocalVariableCouldBeFinal Local variable 'i' could be declared final 3 80
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 83
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 85
LocalVariableCouldBeFinal Local variable 'timeTaken' could be declared final 3 91
UseExplicitTypes Use Explicit Types 3 94
UseExplicitTypes Use Explicit Types 3 96
LocalVariableCouldBeFinal Local variable 'days' could be declared final 3 98
UseExplicitTypes Use Explicit Types 3 98
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 3 118
MethodArgumentCouldBeFinal Parameter 'endtime' is not assigned and could be declared final 3 118
MethodArgumentCouldBeFinal Parameter 'maxLength' is not assigned and could be declared final 3 122
MethodArgumentCouldBeFinal Parameter 'minLength' is not assigned and could be declared final 3 126
MethodArgumentCouldBeFinal Parameter 'found' is not assigned and could be declared final 3 134
MethodArgumentCouldBeFinal Parameter 'done' is not assigned and could be declared final 3 142

model - com/jsql/util/bruter/Coder.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'label' is not assigned and could be declared final 3 30

model - com/jsql/util/bruter/Crc16Helper.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 520
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 21
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 3 27
LocalVariableCouldBeFinal Local variable 'table' could be declared final 3 28
UseExplicitTypes Use Explicit Types 3 28
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 63
LocalVariableCouldBeFinal Local variable 'b' could be declared final 3 64

model - com/jsql/util/bruter/Crc64Helper.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 111
CommentSize Comment is too large: Too many lines 3 1422
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 23
ShortVariable Avoid variables with short names like v 3 36
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 38
LocalVariableCouldBeFinal Local variable 'element' could be declared final 3 57

model - com/jsql/util/bruter/DigestMD4.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 2336
ShortVariable Avoid variables with short names like X 3 65
FieldNamingConventions The final field name 'X' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
ConstructorCallsOverridableMethod Overridable method called during object construction: DigestMD4.engineReset() 1 73
ShortVariable Avoid variables with short names like md 3 79
MethodArgumentCouldBeFinal Parameter 'md' is not assigned and could be declared final 3 79
ProperCloneImplementation Object clone() should be implemented with super.clone() 2 94
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 3 94
ShortVariable Avoid variables with short names like b 3 126
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 126
ShortVariable Avoid variables with short names like i 3 128
LocalVariableCouldBeFinal Local variable 'i' could be declared final 3 128
CommentSize Comment is too large: Too many lines 3 137148
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'offset' is not assigned and could be declared final 3 150
MethodArgumentCouldBeFinal Parameter 'len' is not assigned and could be declared final 3 150
LocalVariableCouldBeFinal Local variable 'partLen' could be declared final 3 159
ShortVariable Avoid variables with short names like i 3 160
LocalVariableCouldBeFinal Local variable 'bufferNdx' could be declared final 3 191
LocalVariableCouldBeFinal Local variable 'padLen' could be declared final 3 192
LocalVariableCouldBeFinal Local variable 'tail' could be declared final 3 195
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 207
CommentSize Comment is too large: Too many lines 3 226234
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 235
AssignmentInOperand Avoid assignment to offset in operand 3 240
AvoidReassigningParameters Avoid reassigning parameters such as 'offset' 2 240
AssignmentInOperand Avoid assignment to offset in operand 3 241
AssignmentInOperand Avoid assignment to offset in operand 3 242
AssignmentInOperand Avoid assignment to offset in operand 3 243
ShortVariable Avoid variables with short names like A 3 246
LocalVariableNamingConventions The local variable name 'A' doesn't match '[a-z][a-zA-Z0-9]*' 1 246
ShortVariable Avoid variables with short names like B 3 247
LocalVariableNamingConventions The local variable name 'B' doesn't match '[a-z][a-zA-Z0-9]*' 1 247
ShortVariable Avoid variables with short names like C 3 248
LocalVariableNamingConventions The local variable name 'C' doesn't match '[a-z][a-zA-Z0-9]*' 1 248
ShortVariable Avoid variables with short names like D 3 249
LocalVariableNamingConventions The local variable name 'D' doesn't match '[a-z][a-zA-Z0-9]*' 1 249
ShortMethodName Avoid using short method names 3 310
MethodNamingConventions The instance method name 'FF' doesn't match '[a-z][a-zA-Z0-9]*' 1 310
ShortVariable Avoid variables with short names like a 3 310
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 3 310
ShortVariable Avoid variables with short names like b 3 310
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 310
ShortVariable Avoid variables with short names like c 3 310
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 310
ShortVariable Avoid variables with short names like d 3 310
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 3 310
ShortVariable Avoid variables with short names like x 3 310
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 310
ShortVariable Avoid variables with short names like s 3 310
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 310
ShortVariable Avoid variables with short names like t 3 311
LocalVariableCouldBeFinal Local variable 't' could be declared final 3 311
ShortMethodName Avoid using short method names 3 315
MethodNamingConventions The instance method name 'GG' doesn't match '[a-z][a-zA-Z0-9]*' 1 315
ShortVariable Avoid variables with short names like a 3 315
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 3 315
ShortVariable Avoid variables with short names like b 3 315
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 315
ShortVariable Avoid variables with short names like c 3 315
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 315
ShortVariable Avoid variables with short names like d 3 315
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 3 315
ShortVariable Avoid variables with short names like x 3 315
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 315
ShortVariable Avoid variables with short names like s 3 315
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 315
ShortVariable Avoid variables with short names like t 3 316
LocalVariableCouldBeFinal Local variable 't' could be declared final 3 316
ShortMethodName Avoid using short method names 3 320
MethodNamingConventions The instance method name 'HH' doesn't match '[a-z][a-zA-Z0-9]*' 1 320
ShortVariable Avoid variables with short names like a 3 320
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 3 320
ShortVariable Avoid variables with short names like b 3 320
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 320
ShortVariable Avoid variables with short names like c 3 320
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 320
ShortVariable Avoid variables with short names like d 3 320
MethodArgumentCouldBeFinal Parameter 'd' is not assigned and could be declared final 3 320
ShortVariable Avoid variables with short names like x 3 320
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 320
ShortVariable Avoid variables with short names like s 3 320
MethodArgumentCouldBeFinal Parameter 's' is not assigned and could be declared final 3 320
ShortVariable Avoid variables with short names like t 3 321
LocalVariableCouldBeFinal Local variable 't' could be declared final 3 321

model - com/jsql/util/bruter/HashBruter.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 11
DataClass The class 'HashBruter' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=22) 3 11
CognitiveComplexity The method 'generateAllPossibleCombinations(String, int)' has a cognitive complexity of 15, current threshold is 15 3 38
CyclomaticComplexity The method 'generateAllPossibleCombinations(String, int)' has a cyclomatic complexity of 13. 3 38
MethodArgumentCouldBeFinal Parameter 'baseString' is not assigned and could be declared final 3 38
MethodArgumentCouldBeFinal Parameter 'length' is not assigned and could be declared final 3 38
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 41
LocalVariableCouldBeFinal Local variable 'element' could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'hash' is not assigned and could be declared final 3 72
MethodArgumentCouldBeFinal Parameter 'digestType' is not assigned and could be declared final 3 76

model - com/jsql/util/bruter/HashUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 11
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 17
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 3 18
LocalVariableCouldBeFinal Local variable 'checksum' could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 25
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 33
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 3 34
UseExplicitTypes Use Explicit Types 3 34
LocalVariableCouldBeFinal Local variable 'password' could be declared final 3 36
UseExplicitTypes Use Explicit Types 3 36
LocalVariableCouldBeFinal Local variable 'passwordBytes' could be declared final 3 38
LocalVariableCouldBeFinal Local variable 'hashSHA1' could be declared final 3 41
LocalVariableCouldBeFinal Local variable 'stringSHA1' could be declared final 3 42
UseExplicitTypes Use Explicit Types 3 42
LocalVariableCouldBeFinal Local variable 'passwordSHA1' could be declared final 3 44
UseExplicitTypes Use Explicit Types 3 44
LocalVariableCouldBeFinal Local variable 'passwordSHA1Bytes' could be declared final 3 45
LocalVariableCouldBeFinal Local variable 'hashSHA1SH1' could be declared final 3 48
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'bytes' could be declared final 3 53
LocalVariableCouldBeFinal Local variable 'checksum' could be declared final 3 55
LocalVariableCouldBeFinal Local variable 'lngChecksum' could be declared final 3 58
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 62
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'passwordString' could be declared final 3 65
UseExplicitTypes Use Explicit Types 3 65
LocalVariableCouldBeFinal Local variable 'passwordByte' could be declared final 3 66
LocalVariableCouldBeFinal Local variable 'encodedPassword' could be declared final 3 69
MethodArgumentCouldBeFinal Parameter 'nameMethod' is not assigned and could be declared final 3 73
MethodArgumentCouldBeFinal Parameter 'textInput' is not assigned and could be declared final 3 73
LocalVariableCouldBeFinal Local variable 'messageDigest' could be declared final 3 74
UseExplicitTypes Use Explicit Types 3 74
LocalVariableCouldBeFinal Local variable 'passwordString' could be declared final 3 76
UseExplicitTypes Use Explicit Types 3 76
LocalVariableCouldBeFinal Local variable 'passwordByte' could be declared final 3 77
LocalVariableCouldBeFinal Local variable 'encodedPassword' could be declared final 3 80
MethodArgumentCouldBeFinal Parameter 'block' is not assigned and could be declared final 3 89
LocalVariableCouldBeFinal Local variable 'buf' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
LocalVariableCouldBeFinal Local variable 'b' could be declared final 3 91
ShortVariable Avoid variables with short names like b 3 102
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 102
MethodArgumentCouldBeFinal Parameter 'buf' is not assigned and could be declared final 3 102
LocalVariableCouldBeFinal Local variable 'hexChars' could be declared final 3 103
UseExplicitTypes Use Explicit Types 3 103
LocalVariableCouldBeFinal Local variable 'high' could be declared final 3 104
LocalVariableCouldBeFinal Local variable 'low' could be declared final 3 105
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 106

model - com/jsql/util/reverse/ModelReverse.java

Rule Violation Priority Line
DataClass The class 'ModelReverse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) 3 3
CommentDefaultAccessModifier Missing commented default access modifier on field 'name' 3 4
CommentDefaultAccessModifier Missing commented default access modifier on field 'command' 3 5
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 7
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 7
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 24

model - com/jsql/util/tampering/ModelYamlTampering.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 5
DataClass The class 'ModelYamlTampering' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 5
MethodArgumentCouldBeFinal Parameter 'tooltip' is not assigned and could be declared final 3 16
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 3 24
MethodArgumentCouldBeFinal Parameter 'group' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'javascript' is not assigned and could be declared final 3 40

model - com/jsql/util/tampering/TamperingType.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like COMMENT_TO_METHOD_SIGNATURE 3 12
LongVariable Avoid excessively long variable names like SPACE_TO_DASH_COMMENT 3 15
LongVariable Avoid excessively long variable names like SPACE_TO_MULTILINE_COMMENT 3 16
LongVariable Avoid excessively long variable names like SPACE_TO_SHARP_COMMENT 3 17
LongVariable Avoid excessively long variable names like VERSIONED_COMMENT_TO_METHOD_SIGNATURE 3 18
NonSerializableClass The field 'instanceModelYaml' of serializable class 'com.jsql.util.tampering.TamperingType' is of non-serializable type 'com.jsql.util.tampering.ModelYamlTampering'. 3 24
MethodArgumentCouldBeFinal Parameter 'fileYaml' is not assigned and could be declared final 3 26
LocalVariableCouldBeFinal Local variable 'yaml' could be declared final 3 27
UseExplicitTypes Use Explicit Types 3 27
UseExplicitTypes Use Explicit Types 3 28
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 28

model - com/jsql/view/interaction/InteractionCommand.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110

model - com/jsql/view/interaction/SubscriberInteraction.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like packageInteraction 3 19
LongVariable Avoid excessively long variable names like packageInteraction 3 29
MethodArgumentCouldBeFinal Parameter 'packageInteraction' is not assigned and could be declared final 3 29
MethodArgumentCouldBeFinal Parameter 'subscription' is not assigned and could be declared final 3 34
MethodArgumentCouldBeFinal Parameter 'request' is not assigned and could be declared final 3 40
LocalVariableCouldBeFinal Local variable 'nameThread' could be declared final 3 48
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 48
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 51
ShortVariable Avoid variables with short names like cl 3 53
LocalVariableCouldBeFinal Local variable 'cl' could be declared final 3 53
LawOfDemeter Call to `getMessage` on foreign value `request` (degree 1) 3 53
LocalVariableCouldBeFinal Local variable 'types' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
LocalVariableCouldBeFinal Local variable 'constructor' could be declared final 3 55
LongVariable Avoid excessively long variable names like interactionCommand 3 57
LocalVariableCouldBeFinal Local variable 'interactionCommand' could be declared final 3 57
UnnecessaryVarargsArrayCreation Unnecessary explicit array creation for varargs method call 3 58
ShortVariable Avoid variables with short names like e 3 78
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 78

model - com/jsql/view/terminal/SystemOutTerminal.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 16

model - com/jsql/view/terminal/interaction/AddColumns.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 37
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 37
LocalVariableCouldBeFinal Local variable 'column' could be declared final 3 44

model - com/jsql/view/terminal/interaction/AddDatabases.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 37
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 37
LocalVariableCouldBeFinal Local variable 'database' could be declared final 3 44

model - com/jsql/view/terminal/interaction/AddExploitWebTab.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22

model - com/jsql/view/terminal/interaction/AddTables.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 37
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 37
LocalVariableCouldBeFinal Local variable 'table' could be declared final 3 44

model - com/jsql/view/terminal/interaction/CreateValuesTab.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 33
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

model - com/jsql/view/terminal/interaction/GetTerminalResult.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkBlindBinInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkBlindBinVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkBlindBitInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkBlindBitVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkDnsInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkDnsVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkErrorInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 3 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 4344

model - com/jsql/view/terminal/interaction/MarkErrorVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 3 34
LawOfDemeter Call to `getMediatorVendor` on foreign value `this.injectionModel` (degree 1) 3 4344

model - com/jsql/view/terminal/interaction/MarkFileSystemInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkFileSystemVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkMultibitVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkStackVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkTimeInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkTimeVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkUnionInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MarkUnionVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 25

model - com/jsql/view/terminal/interaction/MessageBinary.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 26
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 26

model - com/jsql/view/terminal/interaction/MessageHeader.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 34
MethodArgumentCouldBeFinal Parameter 'interactionParams' is not assigned and could be declared final 3 34
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 35

view - com/jsql/MainApp.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 18
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 3 33
LocalVariableCouldBeFinal Local variable 'nameTheme' could be declared final 3 35
UseExplicitTypes Use Explicit Types 3 35
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 51
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 3 52
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 3 53
LocalVariableCouldBeFinal Local variable 'view' could be declared final 3 56
UseExplicitTypes Use Explicit Types 3 56
LawOfDemeter Call to `getMediatorUtils` on foreign value `MainApp.INJECTION_MODEL` (degree 1) 3 71

view - com/jsql/view/scan/ScanListTerminal.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110

view - com/jsql/view/scan/interaction/DatabaseIdentified.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 30

view - com/jsql/view/scan/interaction/MarkBlindBinVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 35
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 35

view - com/jsql/view/scan/interaction/MarkBlindBitVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 35
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 35

view - com/jsql/view/scan/interaction/MarkDnsVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 36

view - com/jsql/view/scan/interaction/MarkErrorVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 36

view - com/jsql/view/scan/interaction/MarkStackVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 35
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 35

view - com/jsql/view/scan/interaction/MarkTimeVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 36

view - com/jsql/view/scan/interaction/MarkUnionVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 36
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 36

view - com/jsql/view/scan/interaction/SetVendor.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 30

view - com/jsql/view/swing/JFrameView.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'menubar' could be declared final 3 95
UseExplicitTypes Use Explicit Types 3 95
LocalVariableCouldBeFinal Local variable 'panelAddressBar' could be declared final 3 99
UseExplicitTypes Use Explicit Types 3 99
LocalVariableCouldBeFinal Local variable 'mainPanel' could be declared final 3 103
UseExplicitTypes Use Explicit Types 3 103
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 113
UseExplicitTypes Use Explicit Types 3 113
AssignmentInOperand Avoid assignments in operands 3 114
LocalVariableCouldBeFinal Local variable 'nsProportion' could be declared final 3 118
CommentSize Comment is too large: Line too long 3 122
ShortVariable Avoid variables with short names like e 3 130
LocalVariableCouldBeFinal Local variable 'nsDividerLocation' could be declared final 3 137
LocalVariableCouldBeFinal Local variable 'nsHeight' could be declared final 3 138
LocalVariableCouldBeFinal Local variable 'nsProportion' could be declared final 3 139
LongVariable Avoid excessively long variable names like nsLocationProportionCapped 3 140
LocalVariableCouldBeFinal Local variable 'nsLocationProportionCapped' could be declared final 3 140
CommentSize Comment is too large: Line too long 3 144
UseExplicitTypes Use Explicit Types 3 151
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_BINARY_LABEL" in if statements 3 152
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_CHUNK_LABEL" in if statements 3 154
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_NETWORK_LABEL" in if statements 3 156
AvoidLiteralsInIfCondition Avoid using literals such as "CONSOLE_JAVA_LABEL" in if statements 3 158
UseExplicitTypes Use Explicit Types 3 181
LocalVariableCouldBeFinal Local variable 'tabComponent' could be declared final 3 182
UseExplicitTypes Use Explicit Types 3 182
LawOfDemeter Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) 3 199
LocalVariableCouldBeFinal Local variable 'screenSize' could be declared final 3 207
LawOfDemeter Call to `getScreenSize` on foreign value `Toolkit.getDefaultToolkit()` (degree 1) 3 207
LocalVariableCouldBeFinal Local variable 'width' could be declared final 3 208
LawOfDemeter Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) 3 209

view - com/jsql/view/swing/action/ActionCheckIp.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 16
ShortVariable Avoid variables with short names like e 3 21
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
LocalVariableCouldBeFinal Local variable 'addressIp' could be declared final 3 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 31

view - 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
ShortVariable Avoid variables with short names like e 3 14
MethodArgumentCouldBeFinal Parameter 'closeTabNumber' is not assigned and could be declared final 3 18
LongVariable Avoid excessively long variable names like splitPaneTopBottom 3 23
LocalVariableCouldBeFinal Local variable 'splitPaneTopBottom' could be declared final 3 23
UseExplicitTypes Use Explicit Types 3 23
LongVariable Avoid excessively long variable names like splitPaneLeftRight 3 24
LocalVariableCouldBeFinal Local variable 'splitPaneLeftRight' could be declared final 3 24
UseExplicitTypes Use Explicit Types 3 24
LocalVariableCouldBeFinal Local variable 'dividerLocation' could be declared final 3 25
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 27
UseExplicitTypes Use Explicit Types 3 27

view - com/jsql/view/swing/action/ActionNewWindow.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
CallSuperInConstructor It is a good practice to call super() in a constructor 3 52
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
LocalVariableCouldBeFinal Local variable 'processBuilder' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62

view - com/jsql/view/swing/action/ActionSaveTab.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 34
LongVariable Avoid excessively long variable names like replaceFileChooser 3 38
CallSuperInConstructor It is a good practice to call super() in a constructor 3 40
CommentSize Comment is too large: Line too long 3 44
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
ShortVariable Avoid variables with short names like e 3 59
LocalVariableCouldBeFinal Local variable 'componentResult' could be declared final 3 61
UseExplicitTypes Use Explicit Types 3 61
LocalVariableCouldBeFinal Local variable 'table' could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'textarea' could be declared final 3 69
MethodArgumentCouldBeFinal Parameter 'textarea' is not assigned and could be declared final 3 74
LocalVariableCouldBeFinal Local variable 'stateSave' could be declared final 3 81
LongVariable Avoid excessively long variable names like folderSelectedFile 3 83
LocalVariableCouldBeFinal Local variable 'folderSelectedFile' could be declared final 3 83
UseExplicitTypes Use Explicit Types 3 83
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
LocalVariableCouldBeFinal Local variable 'fileSelected' could be declared final 3 97
UseExplicitTypes Use Explicit Types 3 97
UseExplicitTypes Use Explicit Types 3 99
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 99
LocalVariableCouldBeFinal Local variable 'tableModel' could be declared final 3 100
UseExplicitTypes Use Explicit Types 3 100
LawOfDemeter Call to `getModel` on foreign value `tableResults` (degree 1) 3 100
UseExplicitTypes Use Explicit Types 3 101
UseExplicitTypes Use Explicit Types 3 106
UseExplicitTypes Use Explicit Types 3 107
CommentSize Comment is too large: Line too long 3 108
UseExplicitTypes Use Explicit Types 3 112
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
LocalVariableCouldBeFinal Local variable 'fileSelected' could be declared final 3 132
UseExplicitTypes Use Explicit Types 3 132
UseExplicitTypes Use Explicit Types 3 134
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 134
UseExplicitTypes Use Explicit Types 3 135

view - 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
LongVariable Avoid excessively long variable names like wasAltGraphPressed 3 14
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
LongVariable Avoid excessively long variable names like shouldNotTakeFurtherAction 3 18
UseExplicitTypes Use Explicit Types 3 18
LocalVariableCouldBeFinal Local variable 'isAltDPressed' could be declared final 3 28
LocalVariableCouldBeFinal Local variable 'isAltReleased' could be declared final 3 31
LocalVariableCouldBeFinal Local variable 'isAltPressed' could be declared final 3 34
LongVariable Avoid excessively long variable names like wasAltPressedAlready 3 38
LocalVariableCouldBeFinal Local variable 'wasAltPressedAlready' could be declared final 3 38
LongVariable Avoid excessively long variable names like wasAltPressedAlready 3 62
MethodArgumentCouldBeFinal Parameter 'wasAltPressedAlready' is not assigned and could be declared final 3 62

view - com/jsql/view/swing/action/HotkeyUtil.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
LongVariable Avoid excessively long variable names like STR_CTRL_SHIFT_TAB 3 31
LongVariable Avoid excessively long variable names like propertyChangeEvent 3 44
LocalVariableCouldBeFinal Local variable 'textField' could be declared final 3 47
MethodArgumentCouldBeFinal Parameter 'tabbedPane' is not assigned and could be declared final 3 58
LocalVariableCouldBeFinal Local variable 'ctrlTab' could be declared final 3 59
UseExplicitTypes Use Explicit Types 3 59
LocalVariableCouldBeFinal Local variable 'ctrlShiftTab' could be declared final 3 60
UseExplicitTypes Use Explicit Types 3 60
LocalVariableCouldBeFinal Local variable 'forwardKeys' could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'backwardKeys' could be declared final 3 68
LocalVariableCouldBeFinal Local variable 'inputMap' could be declared final 3 73
UseExplicitTypes Use Explicit Types 3 73
MethodArgumentCouldBeFinal Parameter 'rootPane' is not assigned and could be declared final 3 81
LocalVariableCouldBeFinal Local variable 'closeTab' could be declared final 3 82
LocalVariableCouldBeFinal Local variable 'nextTab' could be declared final 3 83
ShortVariable Avoid variables with short names like e 3 85
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'previousTab' could be declared final 3 96
ShortVariable Avoid variables with short names like e 3 98
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 3 100
LocalVariableCouldBeFinal Local variable 'forwardKeys' could be declared final 3 110
LocalVariableCouldBeFinal Local variable 'backwardKeys' could be declared final 3 114
LocalVariableCouldBeFinal Local variable 'inputMap' could be declared final 3 118
UseExplicitTypes Use Explicit Types 3 118
LocalVariableCouldBeFinal Local variable 'actionMap' could be declared final 3 119
UseExplicitTypes Use Explicit Types 3 119
LocalVariableCouldBeFinal Local variable 'tabCount' could be declared final 3 130
UseExplicitTypes Use Explicit Types 3 132
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 137142
ShortVariable Avoid variables with short names like e 3 139
CommentSize Comment is too large: Line too long 3 150
LongVariable Avoid excessively long variable names like propertyChangeEvent 3 156

view - 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 3541
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
LocalVariableCouldBeFinal Local variable 'isCaretAtEnd' could be declared final 3 54
LawOfDemeter Call to `getDocument` on foreign value `this.getProxy()` (degree 1) 3 54
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 3 56
LocalVariableCouldBeFinal Local variable 'scrollBar' could be declared final 3 57
LocalVariableCouldBeFinal Local variable 'extent' could be declared final 3 58
LawOfDemeter Call to `getModel` on foreign value `scrollBar` (degree 1) 3 58
LocalVariableCouldBeFinal Local variable 'isScrollBarAtEnd' could be declared final 3 59
LocalVariableCouldBeFinal Local variable 'logMessage' could be declared final 3 61
UseExplicitTypes Use Explicit Types 3 61
LocalVariableCouldBeFinal Local variable 'logTimestamp' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
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
UseExplicitTypes Use Explicit Types 3 80
LocalVariableCouldBeFinal Local variable 'tabIndex' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'tabHeader' could be declared final 3 89
UseExplicitTypes Use Explicit Types 3 89
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 97

view - 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
LocalVariableCouldBeFinal Local variable 'layoutTextPane' could be declared final 3 51
UseExplicitTypes Use Explicit Types 3 51
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 3 56
LocalVariableCouldBeFinal Local variable 'messageLogEvent' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
LocalVariableCouldBeFinal Local variable 'level' could be declared final 3 66
UseExplicitTypes Use Explicit Types 3 66
LocalVariableCouldBeFinal Local variable 'message' could be declared final 3 71
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

view - com/jsql/view/swing/console/SimpleConsoleAdapter.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 10
LongVariable Avoid excessively long variable names like attributeTimestamp 3 12
MethodArgumentCouldBeFinal Parameter 'tabName' is not assigned and could be declared final 3 18
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 3 18

view - com/jsql/view/swing/dialog/DialogAbout.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'escapeListener' could be declared final 3 57
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.getRootPane() 1 58
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.setLayout(LayoutManager) 1 64
LocalVariableCouldBeFinal Local variable 'dialogPane' could be declared final 3 66
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.getContentPane() 1 66
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 3 67
LocalVariableCouldBeFinal Local variable 'labelIcon' could be declared final 3 69
UseExplicitTypes Use Explicit Types 3 69
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
UseExplicitTypes Use Explicit Types 3 81
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 85
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 3 95
UseExplicitTypes Use Explicit Types 3 95
LocalVariableCouldBeFinal Local variable 'editorPane' could be declared final 3 105
UseExplicitTypes Use Explicit Types 3 105
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 109
UseExplicitTypes Use Explicit Types 3 110
UseExplicitTypes Use Explicit Types 3 111
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 114
UseExplicitTypes Use Explicit Types 3 114
AssignmentInOperand Avoid assignment to line in operand 3 116
LawOfDemeter Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) 3 121
ShortVariable Avoid variables with short names like e 3 129
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

view - com/jsql/view/swing/dialog/DialogTranslate.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LongVariable Avoid excessively long variable names like progressBarTranslation 3 49
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.setDefaultCloseOperation(int) 1 57
ConstructorCallsOverridableMethod Overridable method called during object construction: Window.setIconImages(List<? extends Image>) 1 58
LocalVariableCouldBeFinal Local variable 'escapeListener' could be declared final 3 60
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.getRootPane() 1 61
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 3 67
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: JDialog.setLayout(LayoutManager) (call stack: [DialogTranslate.initLastLine(), JDialog.setLayout(LayoutManager)]) 1 67
LocalVariableCouldBeFinal Local variable 'contentPane' could be declared final 3 70
UseExplicitTypes Use Explicit Types 3 70
ConstructorCallsOverridableMethod Overridable method called during object construction: JDialog.getContentPane() 1 70
LocalVariableCouldBeFinal Local variable 'bundleInto' could be declared final 3 87
UseExplicitTypes Use Explicit Types 3 87
LocalVariableCouldBeFinal Local variable 'localeInto' could be declared final 3 88
UseExplicitTypes Use Explicit Types 3 88
CommentSize Comment is too large: Line too long 3 101
CommentSize Comment is too large: Line too long 3 103
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 3 124
UseExplicitTypes Use Explicit Types 3 124
LocalVariableCouldBeFinal Local variable 'clientDescription' could be declared final 3 145
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 150
ShortVariable Avoid variables with short names like e 3 172
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 172
LawOfDemeter Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) 3 180
LawOfDemeter Call to `getCaret` on foreign value `DialogTranslate.this.textToTranslate` (degree 1) 3 181
LawOfDemeter Call to `getCaret` on foreign value `this.textToTranslate` (degree 1) 3 186
MethodArgumentCouldBeFinal Parameter 'textBeforeChange' is not assigned and could be declared final 3 201

view - com/jsql/view/swing/dialog/ReplaceFileChooser.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 21
LongVariable Avoid excessively long variable names like currentDirectoryPath 3 26
MethodArgumentCouldBeFinal Parameter 'currentDirectoryPath' is not assigned and could be declared final 3 26
LocalVariableCouldBeFinal Local variable 'file' could be declared final 3 35
UseExplicitTypes Use Explicit Types 3 35
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 37
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

view - com/jsql/view/swing/dialog/translate/Language.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like AR 3 11
ShortVariable Avoid variables with short names like RU 3 12
ShortVariable Avoid variables with short names like ZH 3 13
ShortVariable Avoid variables with short names like TR 3 14
ShortVariable Avoid variables with short names like EN 3 15
ShortVariable Avoid variables with short names like FR 3 16
ShortVariable Avoid variables with short names like HI 3 17
ShortVariable Avoid variables with short names like CS 3 18
ShortVariable Avoid variables with short names like DE 3 19
ShortVariable Avoid variables with short names like NL 3 20
ShortVariable Avoid variables with short names like IN 3 21
ShortVariable Avoid variables with short names like IT 3 22
ShortVariable Avoid variables with short names like ES 3 23
ShortVariable Avoid variables with short names like PT 3 24
ShortVariable Avoid variables with short names like PL 3 25
ShortVariable Avoid variables with short names like KO 3 26
ShortVariable Avoid variables with short names like JA 3 27
ShortVariable Avoid variables with short names like RO 3 28
ShortVariable Avoid variables with short names like TA 3 29
ShortVariable Avoid variables with short names like SE 3 30
ShortVariable Avoid variables with short names like FI 3 31
ShortVariable Avoid variables with short names like OT 3 32
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
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 57
UseExplicitTypes Use Explicit Types 3 57

view - 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
LocalVariableCouldBeFinal Local variable 'keysEnum' could be declared final 3 9
LocalVariableCouldBeFinal Local variable 'keyList' could be declared final 3 10
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 21
LocalVariableCouldBeFinal Local variable 'treeMap' could be declared final 3 21
LocalVariableCouldBeFinal Local variable 'entrySet' could be declared final 3 22
LocalVariableCouldBeFinal Local variable 'entry' could be declared final 3 23

view - com/jsql/view/swing/dialog/translate/WorkerTranslateInto.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like propertiesLanguageToTranslate 3 29
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
LongVariable Avoid excessively long variable names like propertiesToTranslate 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
CallSuperInConstructor It is a good practice to call super() in a constructor 3 40
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
LocalVariableCouldBeFinal Local variable 'percentTranslated' could be declared final 3 76
LocalVariableCouldBeFinal Local variable 'bundleInto' could be declared final 3 79
UseExplicitTypes Use Explicit Types 3 79
LocalVariableCouldBeFinal Local variable 'localeInto' could be declared final 3 80
UseExplicitTypes Use Explicit Types 3 80
ShortVariable Avoid variables with short names like e 3 99
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 99
LocalVariableCouldBeFinal Local variable 'pageSourceRoot' could be declared final 3 109
LongVariable Avoid excessively long variable names like pageSourceRootFixed 3 112
LocalVariableCouldBeFinal Local variable 'pageSourceRootFixed' could be declared final 3 112
LocalVariableCouldBeFinal Local variable 'uri' could be declared final 3 115
UseExplicitTypes Use Explicit Types 3 115
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 116
UseExplicitTypes Use Explicit Types 3 116
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 117
LocalVariableCouldBeFinal Local variable 'rootI18n' could be declared final 3 118
UseExplicitTypes Use Explicit Types 3 118
LocalVariableCouldBeFinal Local variable 'rootI18nFixed' could be declared final 3 119
LongVariable Avoid excessively long variable names like pageSourceLanguage 3 128
LocalVariableCouldBeFinal Local variable 'pageSourceLanguage' could be declared final 3 128
LocalVariableCouldBeFinal Local variable 'uri' could be declared final 3 137
UseExplicitTypes Use Explicit Types 3 137
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 141
UseExplicitTypes Use Explicit Types 3 141
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 142
LocalVariableCouldBeFinal Local variable 'localeI18n' could be declared final 3 143
UseExplicitTypes Use Explicit Types 3 143
LocalVariableCouldBeFinal Local variable 'localeI18nFixed' could be declared final 3 144

view - com/jsql/view/swing/interaction/AddColumns.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/interaction/AddDatabases.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/interaction/AddTabExploitSql.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 32
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfExtensionPostgres.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfH2.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfLibraryPostgres.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfMysql.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfOracle.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfProgramPostgres.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfSqlite.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitUdfWalPostgres.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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

view - com/jsql/view/swing/interaction/AddTabExploitWeb.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 31
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

view - com/jsql/view/swing/interaction/AddTables.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/interaction/CreateAdminPageTab.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 49
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
CommentSize Comment is too large: Line too long 3 66
UseExplicitTypes Use Explicit Types 3 86
LocalVariableCouldBeFinal Local variable 'itemCopyUrl' could be declared final 3 99
LocalVariableCouldBeFinal Local variable 'itemCopy' could be declared final 3 102
LocalVariableCouldBeFinal Local variable 'itemSelectAll' could be declared final 3 109
UseExplicitTypes Use Explicit Types 3 116
LocalVariableCouldBeFinal Local variable 'stringSelection' could be declared final 3 124
UseExplicitTypes Use Explicit Types 3 124
LocalVariableCouldBeFinal Local variable 'clipboard' could be declared final 3 125
UseExplicitTypes Use Explicit Types 3 125
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
UseExplicitTypes Use Explicit Types 3 166
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 179
UseExplicitTypes Use Explicit Types 3 179

view - com/jsql/view/swing/interaction/CreateAnalysisReport.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 25
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

view - com/jsql/view/swing/interaction/CreateFileTab.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 41
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

view - com/jsql/view/swing/interaction/CreateValuesTab.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 29
CallSuperInConstructor It is a good practice to call super() in a constructor 3 31
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

view - com/jsql/view/swing/interaction/EndIndeterminateProgress.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
LongVariable Avoid excessively long variable names like dataElementDatabase 3 26
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

view - com/jsql/view/swing/interaction/EndPreparation.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 21

view - com/jsql/view/swing/interaction/EndProgress.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
LongVariable Avoid excessively long variable names like dataElementDatabase 3 25
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

view - com/jsql/view/swing/interaction/GetTerminalResult.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 36
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
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 3 45

view - com/jsql/view/swing/interaction/MarkBlindBinInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkBlindBinStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkBlindBinVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkBlindBitInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkBlindBitStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkBlindBitVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkDnsInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkDnsStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkDnsVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkErrorInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 3 28

view - com/jsql/view/swing/interaction/MarkErrorStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 21

view - com/jsql/view/swing/interaction/MarkErrorVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'mapHeader' could be declared final 3 28

view - com/jsql/view/swing/interaction/MarkFileSystemInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 21

view - com/jsql/view/swing/interaction/MarkFileSystemVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 21

view - com/jsql/view/swing/interaction/MarkMultibitInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkMultibitStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkMultibitVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkStackInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkStackStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkStackVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkTimeInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkTimeStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkTimeVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkUnionInvulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkUnionStrategy.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MarkUnionVulnerable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 22
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 28
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 28

view - com/jsql/view/swing/interaction/MessageBinary.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/interaction/MessageChunk.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/interaction/MessageHeader.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 46
LocalVariableCouldBeFinal Local variable 'table' could be declared final 3 60
LocalVariableCouldBeFinal Local variable 'model' could be declared final 3 62
LawOfDemeter Call to `getModel` on foreign value `table` (degree 1) 3 62
LocalVariableCouldBeFinal Local variable 'rect' could be declared final 3 72
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 76

view - com/jsql/view/swing/interaction/SetVendor.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'params' could be declared final 3 29

view - com/jsql/view/swing/interaction/StartIndeterminateProgress.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
LongVariable Avoid excessively long variable names like dataElementDatabase 3 26
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

view - com/jsql/view/swing/interaction/StartProgress.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
LongVariable Avoid excessively long variable names like dataElementDatabase 3 25
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

view - com/jsql/view/swing/interaction/UpdateProgress.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
LongVariable Avoid excessively long variable names like dataElementDatabase 3 25
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

view - com/jsql/view/swing/list/AbstractListTransfertHandler.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
ShortVariable Avoid variables with short names like c 3 46
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'list' could be declared final 3 52
LongVariable Avoid excessively long variable names like stringTransferable 3 54
LocalVariableCouldBeFinal Local variable 'stringTransferable' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
ShortVariable Avoid variables with short names like c 3 60
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
LocalVariableCouldBeFinal Local variable 'list' could be declared final 3 62
LocalVariableCouldBeFinal Local variable 'model' could be declared final 3 63
LawOfDemeter Call to `getModel` on foreign value `list` (degree 1) 3 63
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 3 65
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
LocalVariableCouldBeFinal Local variable 'list' could be declared final 3 90
LawOfDemeter Call to `getComponent` on foreign value `support` (degree 1) 3 90
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 3 91
LawOfDemeter Call to `getModel` on foreign value `list` (degree 1) 3 91
LongVariable Avoid excessively long variable names like transferableFromClipboard 3 100
LocalVariableCouldBeFinal Local variable 'transferableFromClipboard' could be declared final 3 100
UseExplicitTypes Use Explicit Types 3 100
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
LocalVariableCouldBeFinal Local variable 'dropLocation' could be declared final 3 114
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 3 114
LocalVariableCouldBeFinal Local variable 'childIndex' could be declared final 3 115
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
LongVariable Avoid excessively long variable names like transferableFromClipboard 3 126
MethodArgumentCouldBeFinal Parameter 'transferableFromClipboard' is not assigned and could be declared final 3 126
LocalVariableCouldBeFinal Local variable 'clipboardText' could be declared final 3 128
LongVariable Avoid excessively long variable names like selectedIndexPaste 3 129
LocalVariableCouldBeFinal Local variable 'selectedIndexPaste' could be declared final 3 129
UseExplicitTypes Use Explicit Types 3 129
LocalVariableCouldBeFinal Local variable 'selectedIndexes' could be declared final 3 131
LongVariable Avoid excessively long variable names like selectedIndexesPasted 3 132
LocalVariableCouldBeFinal Local variable 'selectedIndexesPasted' could be declared final 3 132
UseExplicitTypes Use Explicit Types 3 132
ShortVariable Avoid variables with short names like i 3 133
UseExplicitTypes Use Explicit Types 3 133
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 3 135
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
LongVariable Avoid excessively long variable names like transferableFromClipboard 3 154
MethodArgumentCouldBeFinal Parameter 'transferableFromClipboard' is not assigned and could be declared final 3 154
LocalVariableCouldBeFinal Local variable 'selectedIndex' could be declared final 3 156
UseExplicitTypes Use Explicit Types 3 156

view - 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 3435
LawOfDemeter Call to `findAny` on foreign value `MediatorHelper.model().getMediatorMethod().getMethods().stream().filter(m -> m.name().equalsIgnoreCase(nameMethod))` (degree 2) 3 3436
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 3437
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 4344
LawOfDemeter Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(v -> v.toString().equals(vendor))` (degree 2) 3 4345
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 4346
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

view - com/jsql/view/swing/list/DnDList.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 33
CallSuperInConstructor It is a good practice to call super() in a constructor 3 51
MethodArgumentCouldBeFinal Parameter 'newList' is not assigned and could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 55
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
LocalVariableCouldBeFinal Local variable 'listActionMap' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
ShortVariable Avoid variables with short names like e 3 93
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 93
LocalVariableCouldBeFinal Local variable 'selectedValues' could be declared final 3 98
LocalVariableCouldBeFinal Local variable 'siblings' could be declared final 3 99
LocalVariableCouldBeFinal Local variable 'value' could be declared final 3 100
LocalVariableCouldBeFinal Local variable 'valueIndex' could be declared final 3 101
LocalVariableCouldBeFinal Local variable 'sibling' could be declared final 3 111
LocalVariableCouldBeFinal Local variable 'selectedValues' could be declared final 3 135
LocalVariableCouldBeFinal Local variable 'itemSelected' could be declared final 3 136
LongVariable Avoid excessively long variable names like indexOfItemSelected 3 137
LocalVariableCouldBeFinal Local variable 'indexOfItemSelected' could be declared final 3 137
LocalVariableCouldBeFinal Local variable 'rectangle' could be declared final 3 147
UseExplicitTypes Use Explicit Types 3 147
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
LocalVariableCouldBeFinal Local variable 'fileToImport' could be declared final 3 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 191
LocalVariableCouldBeFinal Local variable 'options' could be declared final 3 195
UseExplicitTypes Use Explicit Types 3 195
LocalVariableCouldBeFinal Local variable 'answer' could be declared final 3 200
LongVariable Avoid excessively long variable names like startPositionFinal 3 219
LocalVariableCouldBeFinal Local variable 'startPositionFinal' could be declared final 3 219
MethodArgumentCouldBeFinal Parameter 'startPosition' is not assigned and could be declared final 3 223
LocalVariableCouldBeFinal Local variable 'file' could be declared final 3 225
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
UseExplicitTypes Use Explicit Types 3 249
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 249
UseExplicitTypes Use Explicit Types 3 250
AssignmentInOperand Avoid assignment to line in operand 3 253
AssignmentInOperand Avoid assignment to endPosition in operand 3 260
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 272
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

view - com/jsql/view/swing/list/DnDListScan.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/list/ItemList.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/list/ItemListScan.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/list/ListTransfertHandler.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 28
AtLeastOneConstructor Each class should declare at least one constructor 3 28
LongVariable Avoid excessively long variable names like stringTransferable 3 34
LocalVariableCouldBeFinal Local variable 'stringTransferable' could be declared final 3 34
UseExplicitTypes Use Explicit Types 3 34
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 3 35
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
LocalVariableCouldBeFinal Local variable 'dropLocation' could be declared final 3 43
UseExplicitTypes Use Explicit Types 3 43
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 3 43
LocalVariableCouldBeFinal Local variable 'childIndex' could be declared final 3 44
LongVariable Avoid excessively long variable names like listSelectedIndices 3 45
LocalVariableCouldBeFinal Local variable 'listSelectedIndices' could be declared final 3 45
LocalVariableCouldBeFinal Local variable 'selectedIndices' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
ShortVariable Avoid variables with short names like i 3 55
UseExplicitTypes Use Explicit Types 3 55
LocalVariableCouldBeFinal Local variable 'integer' could be declared final 3 56
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
LongVariable Avoid excessively long variable names like listSelectedIndices 3 63
MethodArgumentCouldBeFinal Parameter 'listSelectedIndices' is not assigned and could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'importString' could be declared final 3 66
UseExplicitTypes Use Explicit Types 3 66
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
LocalVariableCouldBeFinal Local variable 'value' could be declared final 3 67
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
LongVariable Avoid excessively long variable names like listSelectedIndices 3 78
MethodArgumentCouldBeFinal Parameter 'listSelectedIndices' is not assigned and could be declared final 3 78
LocalVariableCouldBeFinal Local variable 'value' could be declared final 3 80
LocalVariableCouldBeFinal Local variable 'newValue' could be declared final 3 82
UseExplicitTypes Use Explicit Types 3 82
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
LocalVariableCouldBeFinal Local variable 'selectedIndexes' could be declared final 3 92
LocalVariableCouldBeFinal Local variable 'line' could be declared final 3 93
LocalVariableCouldBeFinal Local variable 'newLine' could be declared final 3 95
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 3 96
UseExplicitTypes Use Explicit Types 3 96
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 96
AssignmentInOperand Avoid assignment to selectedIndexTo in operand 3 98

view - com/jsql/view/swing/list/ListTransfertHandlerScan.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'selectedIndexes' could be declared final 3 38
LocalVariableCouldBeFinal Local variable 'itemListScan' could be declared final 3 39
AssignmentInOperand Avoid assignment to selectedIndexTo in operand 3 41
LocalVariableCouldBeFinal Local variable 'jsons' could be declared final 3 48
LongVariable Avoid excessively long variable names like stringTransferable 3 49
LocalVariableCouldBeFinal Local variable 'stringTransferable' could be declared final 3 49
UseExplicitTypes Use Explicit Types 3 49
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'itemScanPath' could be declared final 3 52
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
LocalVariableCouldBeFinal Local variable 'dropLocation' could be declared final 3 64
UseExplicitTypes Use Explicit Types 3 64
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 3 64
LongVariable Avoid excessively long variable names like listSelectedIndices 3 67
LocalVariableCouldBeFinal Local variable 'listSelectedIndices' could be declared final 3 67
LocalVariableCouldBeFinal Local variable 'itemPath' could be declared final 3 70
LocalVariableCouldBeFinal Local variable 'itemDrag' could be declared final 3 72
LocalVariableCouldBeFinal Local variable 'itemDrop' could be declared final 3 73
UseExplicitTypes Use Explicit Types 3 73
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 73
AssignmentInOperand Avoid assignment to indexDropLocation in operand 3 75
LocalVariableCouldBeFinal Local variable 'importString' could be declared final 3 80
UseExplicitTypes Use Explicit Types 3 80
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
LocalVariableCouldBeFinal Local variable 'itemListScan' could be declared final 3 81
AssignmentInOperand Avoid assignment to indexDropLocation in operand 3 83
LocalVariableCouldBeFinal Local variable 'selectedIndices' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
ShortVariable Avoid variables with short names like i 3 91
UseExplicitTypes Use Explicit Types 3 91
LocalVariableCouldBeFinal Local variable 'integer' could be declared final 3 92
MethodArgumentCouldBeFinal Parameter 'clipboardText' is not assigned and could be declared final 3 99
LocalVariableCouldBeFinal Local variable 'itemsParsed' could be declared final 3 100
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
LocalVariableCouldBeFinal Local variable 'itemsJsonArray' could be declared final 3 110
UseExplicitTypes Use Explicit Types 3 110
UseExplicitTypes Use Explicit Types 3 111
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 3 112
UseExplicitTypes Use Explicit Types 3 112
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
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 3 119
UseExplicitTypes Use Explicit Types 3 119
LocalVariableCouldBeFinal Local variable 'url' could be declared final 3 122
LocalVariableCouldBeFinal Local variable 'beanInjection' could be declared final 3 123
UseExplicitTypes Use Explicit Types 3 123
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 123
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 3 124
UseExplicitTypes Use Explicit Types 3 124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 124

view - com/jsql/view/swing/list/MenuActionExport.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'file' could be declared final 3 52
UseExplicitTypes Use Explicit Types 3 52
LocalVariableCouldBeFinal Local variable 'replace' could be declared final 3 54
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
LocalVariableCouldBeFinal Local variable 'choice' could be declared final 3 81
UseExplicitTypes Use Explicit Types 3 87
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 87
UseExplicitTypes Use Explicit Types 3 88
LocalVariableCouldBeFinal Local variable 'len' could be declared final 3 90
LawOfDemeter Call to `getModel` on foreign value `this.myList` (degree 1) 3 90
UseExplicitTypes Use Explicit Types 3 91
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

view - com/jsql/view/swing/list/MenuActionNewValue.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'myList' is not assigned and could be declared final 3 46
LocalVariableCouldBeFinal Local variable 'panel' could be declared final 3 52
UseExplicitTypes Use Explicit Types 3 52
LocalVariableCouldBeFinal Local variable 'labelAddValue' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
ShortVariable Avoid variables with short names like e 3 64
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
UseExplicitTypes Use Explicit Types 3 97
LocalVariableCouldBeFinal Local variable 'firstIndex' could be declared final 3 98
MethodArgumentCouldBeFinal Parameter 'index' is not assigned and could be declared final 3 116
LocalVariableCouldBeFinal Local variable 'newItem' could be declared final 3 119
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
LocalVariableCouldBeFinal Local variable 'listParsedItems' could be declared final 3 132
LocalVariableCouldBeFinal Local variable 'item' could be declared final 3 134
LawOfDemeter Call to `getModel` on foreign value `this.myList` (degree 1) 3 135
AssignmentInOperand Avoid assignment to lastIndex in operand 3 135

view - com/jsql/view/swing/list/MouseAdapterMenuAction.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CallSuperInConstructor It is a good practice to call super() in a constructor 3 43
MethodArgumentCouldBeFinal Parameter 'dndList' is not assigned and could be declared final 3 43
LocalVariableCouldBeFinal Local variable 'list' could be declared final 3 54
LocalVariableCouldBeFinal Local variable 'popupMenuList' could be declared final 3 56
LocalVariableCouldBeFinal Local variable 'popupMenuList' could be declared final 3 81
UseExplicitTypes Use Explicit Types 3 81
LocalVariableCouldBeFinal Local variable 'isNonUbuntu' could be declared final 3 83
LocalVariableCouldBeFinal Local variable 'menuImport' could be declared final 3 85
LocalVariableCouldBeFinal Local variable 'menuExport' could be declared final 3 86
LocalVariableCouldBeFinal Local variable 'menuCut' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'menuCopy' could be declared final 3 88
LocalVariableCouldBeFinal Local variable 'menuPaste' could be declared final 3 89
LocalVariableCouldBeFinal Local variable 'menuDelete' could be declared final 3 90
LocalVariableCouldBeFinal Local variable 'menuNew' could be declared final 3 91
LongVariable Avoid excessively long variable names like menuRestoreDefault 3 92
LocalVariableCouldBeFinal Local variable 'menuRestoreDefault' could be declared final 3 92
LocalVariableCouldBeFinal Local variable 'menuSelectAll' could be declared final 3 93
UseExplicitTypes Use Explicit Types 3 121
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 121
UseExplicitTypes Use Explicit Types 3 128
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 133
LocalVariableCouldBeFinal Local variable 'action' could be declared final 3 145
UseExplicitTypes Use Explicit Types 3 145
LocalVariableCouldBeFinal Local variable 'action' could be declared final 3 154
UseExplicitTypes Use Explicit Types 3 154
LocalVariableCouldBeFinal Local variable 'action' could be declared final 3 163
UseExplicitTypes Use Explicit Types 3 163
LocalVariableCouldBeFinal Local variable 'start' could be declared final 3 175
UseExplicitTypes Use Explicit Types 3 175
LocalVariableCouldBeFinal Local variable 'end' could be declared final 3 176
LawOfDemeter Call to `getModel` on foreign value `this.dndList` (degree 1) 3 176
ShortVariable Avoid variables with short names like e 3 199
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 199
LocalVariableCouldBeFinal Local variable 'clickIndex' could be declared final 3 201
UseExplicitTypes Use Explicit Types 3 202
LocalVariableCouldBeFinal Local variable 'currentIndex' could be declared final 3 203
ShortVariable Avoid variables with short names like e 3 217
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 217

view - com/jsql/view/swing/manager/AbstractManagerList.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 42
CommentSize Comment is too large: Line too long 3 68
LongVariable Avoid excessively long variable names like labelI18nRunButton 3 70
LongVariable Avoid excessively long variable names like tooltipI18nRunButton 3 71
CallSuperInConstructor It is a good practice to call super() in a constructor 3 79
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
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 3 95
UseExplicitTypes Use Explicit Types 3 95
MethodArgumentCouldBeFinal Parameter 'nameFile' is not assigned and could be declared final 3 107
UseExplicitTypes Use Explicit Types 3 109
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 109
UseExplicitTypes Use Explicit Types 3 110
UseExplicitTypes Use Explicit Types 3 111
AssignmentInOperand Avoid assignment to line in operand 3 114
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 3 124
UseExplicitTypes Use Explicit Types 3 124
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 3 146
LocalVariableCouldBeFinal Local variable 'isFound' could be declared final 3 147
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 3 149
LawOfDemeter Call to `getModel` on foreign value `this.listPaths` (degree 1) 3 149
LocalVariableCouldBeFinal Local variable 'iterable' could be declared final 3 150
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
LocalVariableCouldBeFinal Local variable 'itemLabel' could be declared final 3 161
UseExplicitTypes Use Explicit Types 3 161
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 3 162
LawOfDemeter Call to `getModel` on foreign value `this.listPaths` (degree 1) 3 162
UseExplicitTypes Use Explicit Types 3 163
LocalVariableCouldBeFinal Local variable 'itemList' could be declared final 3 164
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

view - com/jsql/view/swing/manager/ManagerAdminPage.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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 5864
LocalVariableCouldBeFinal Local variable 'urlFinal' could be declared final 3 67
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

view - com/jsql/view/swing/manager/ManagerBruteForce.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LongVariable Avoid excessively long variable names like BRUTEFORCE_RUN_BUTTON_TOOLTIP 3 39
LongVariable Avoid excessively long variable names like BRUTEFORCE_HASH_TOOLTIP 3 40
LongVariable Avoid excessively long variable names like BRUTEFORCE_EXCLUDE_TOOLTIP 3 41
LongVariable Avoid excessively long variable names like lowerCaseCharacters 3 46
LongVariable Avoid excessively long variable names like upperCaseCharacters 3 47
LocalVariableCouldBeFinal Local variable 'panelOptions' could be declared final 3 67
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component, Object) 1 68
LocalVariableCouldBeFinal Local variable 'placeholder' could be declared final 3 70
UseExplicitTypes Use Explicit Types 3 70
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component, Object) 1 75
LocalVariableCouldBeFinal Local variable 'panelButton' could be declared final 3 77
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component, Object) 1 78
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 3 82
UseExplicitTypes Use Explicit Types 3 82
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 3 85
UseExplicitTypes Use Explicit Types 3 85
MethodArgumentCouldBeFinal Parameter 'isVisible' is not assigned and could be declared final 3 110
LocalVariableCouldBeFinal Local variable 'options' could be declared final 3 116
UseExplicitTypes Use Explicit Types 3 116
LocalVariableCouldBeFinal Local variable 'firstLine' could be declared final 3 117
LocalVariableCouldBeFinal Local variable 'thirdLine' could be declared final 3 119
LongVariable Avoid excessively long variable names like secondAndThirdLine 3 121
UseExplicitTypes Use Explicit Types 3 121
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 3 131
UseExplicitTypes Use Explicit Types 3 131
LocalVariableCouldBeFinal Local variable 'placeholder' could be declared final 3 132
UseExplicitTypes Use Explicit Types 3 132
LocalVariableCouldBeFinal Local variable 'firstLine' could be declared final 3 144
UseExplicitTypes Use Explicit Types 3 144
UseExplicitTypes Use Explicit Types 3 150
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 3 165
UseExplicitTypes Use Explicit Types 3 165
LocalVariableCouldBeFinal Local variable 'thirdLine' could be declared final 3 182
UseExplicitTypes Use Explicit Types 3 182
UseExplicitTypes Use Explicit Types 3 185
LongVariable Avoid excessively long variable names like placeholderTooltip 3 186
LocalVariableCouldBeFinal Local variable 'placeholderTooltip' could be declared final 3 186
UseExplicitTypes Use Explicit Types 3 186
UseExplicitTypes Use Explicit Types 3 202
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
LocalVariableCouldBeFinal Local variable 'labelMin' could be declared final 3 224
UseExplicitTypes Use Explicit Types 3 224
LocalVariableCouldBeFinal Local variable 'labelMax' could be declared final 3 231
UseExplicitTypes Use Explicit Types 3 231

view - com/jsql/view/swing/manager/ManagerCoder.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
ShortVariable Avoid variables with short names like e 3 63
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'item' could be declared final 3 65
LocalVariableCouldBeFinal Local variable 'placeholderInput' could be declared final 3 79
UseExplicitTypes Use Explicit Types 3 79
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
LocalVariableCouldBeFinal Local variable 'topMixed' could be declared final 3 92
LocalVariableCouldBeFinal Local variable 'placeholderResult' could be declared final 3 94
UseExplicitTypes Use Explicit Types 3 94
LocalVariableCouldBeFinal Local variable 'bottom' could be declared final 3 101
UseExplicitTypes Use Explicit Types 3 101
LocalVariableCouldBeFinal Local variable 'divider' could be declared final 3 104
UseExplicitTypes Use Explicit Types 3 104
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component, Object) 1 108
LocalVariableCouldBeFinal Local variable 'comboMenubar' could be declared final 3 112
UseExplicitTypes Use Explicit Types 3 112
LocalVariableCouldBeFinal Local variable 'topMixed' could be declared final 3 113
UseExplicitTypes Use Explicit Types 3 113
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 120
LocalVariableCouldBeFinal Local variable 'mapMenus' could be declared final 3 120
LocalVariableCouldBeFinal Local variable 'menuHtml' could be declared final 3 129
UseExplicitTypes Use Explicit Types 3 129
LongVariable Avoid excessively long variable names like menuEncodeHtmlDecimal 3 134
LocalVariableCouldBeFinal Local variable 'menuEncodeHtmlDecimal' could be declared final 3 134
UseExplicitTypes Use Explicit Types 3 134
LocalVariableCouldBeFinal Local variable 'menuEncode' could be declared final 3 140
UseExplicitTypes Use Explicit Types 3 140
LocalVariableCouldBeFinal Local variable 'menuDecode' could be declared final 3 145
UseExplicitTypes Use Explicit Types 3 145
AvoidDuplicateLiterals The String literal "Hash" appears 5 times in this file; the first occurrence is on line 156 3 156
LocalVariableCouldBeFinal Local variable 'menuEncode' could be declared final 3 160
UseExplicitTypes Use Explicit Types 3 160
LocalVariableCouldBeFinal Local variable 'popupMenu' could be declared final 3 167
LocalVariableCouldBeFinal Local variable 'menu' could be declared final 3 168
LocalVariableCouldBeFinal Local variable 'labelMenu' could be declared final 3 172
ShortVariable Avoid variables with short names like e 3 179
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 179
UseExplicitTypes Use Explicit Types 3 182

view - com/jsql/view/swing/manager/ManagerDatabase.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 39
LocalVariableCouldBeFinal Local variable 'nodeModelEmpty' could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 53
UseExplicitTypes Use Explicit Types 3 53
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
ShortVariable Avoid variables with short names like e 3 75
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 75
LocalVariableCouldBeFinal Local variable 'treeNode' could be declared final 3 77
LawOfDemeter Call to `getLastSelectedPathComponent` on foreign value `ManagerDatabase.this.tree` (degree 1) 3 77
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 3 79
LawOfDemeter Call to `getUserObject` on foreign value `treeNode` (degree 1) 3 79
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 8082
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 3 92
LocalVariableCouldBeFinal Local variable 'selRow' could be declared final 3 93
LocalVariableCouldBeFinal Local variable 'selPath' could be declared final 3 94
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

view - com/jsql/view/swing/manager/ManagerExploit.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 46
LongVariable Avoid excessively long variable names like comboBoxExploitTypes 3 61
LongVariable Avoid excessively long variable names like comboBoxExploitModes 3 69
LocalVariableCouldBeFinal Local variable 'tooltipShellUrl' could be declared final 3 81
UseExplicitTypes Use Explicit Types 3 81
LocalVariableCouldBeFinal Local variable 'placeholderResult' could be declared final 3 82
UseExplicitTypes Use Explicit Types 3 82
ConstructorCallsOverridableMethod Overridable method called during object construction: AbstractManagerList.buildRunButton(String, String) 1 93
ConstructorCallsOverridableMethod Overridable method called during object construction: AbstractManagerList.buildPrivilege() 1 95
LocalVariableCouldBeFinal Local variable 'southPanel' could be declared final 3 97
UseExplicitTypes Use Explicit Types 3 97
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component, Object) 1 101
LocalVariableCouldBeFinal Local variable 'userPassPanel' could be declared final 3 103
UseExplicitTypes Use Explicit Types 3 103
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 104
UseExplicitTypes Use Explicit Types 3 104
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 3 114
UseExplicitTypes Use Explicit Types 3 114
LocalVariableCouldBeFinal Local variable 'labelUsing' could be declared final 3 145
UseExplicitTypes Use Explicit Types 3 145
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component, Object) 1 192
LocalVariableCouldBeFinal Local variable 'selectedItem' could be declared final 3 198
LocalVariableCouldBeFinal Local variable 'selectedItem' could be declared final 3 216
LongVariable Avoid excessively long variable names like comboBoxExploitTypes 3 230
LongVariable Avoid excessively long variable names like comboBoxExploitTypes 3 232
MethodArgumentCouldBeFinal Parameter 'comboBoxExploitTypes' is not assigned and could be declared final 3 232
LocalVariableCouldBeFinal Local variable 'modelSelectItem' could be declared final 3 238
UseExplicitTypes Use Explicit Types 3 238
LawOfDemeter Call to `getSelectedItem` on foreign value `this.comboBoxExploitTypes` (degree 1) 3 238
LocalVariableCouldBeFinal Local variable 'labelSelectItem' could be declared final 3 239
UseExplicitTypes Use Explicit Types 3 239
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
LocalVariableCouldBeFinal Local variable 'urlShell' could be declared final 3 266
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 268
LocalVariableCouldBeFinal Local variable 'fileToUpload' could be declared final 3 270
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 304310
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
LocalVariableCouldBeFinal Local variable 'filechooser' could be declared final 3 355
UseExplicitTypes Use Explicit Types 3 355
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 355
LocalVariableCouldBeFinal Local variable 'returnVal' could be declared final 3 357
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
LocalVariableCouldBeFinal Local variable 'exploitMethod' could be declared final 3 365
UseExplicitTypes Use Explicit Types 3 365
LocalVariableCouldBeFinal Local variable 'modelItemType' could be declared final 3 378
UseExplicitTypes Use Explicit Types 3 378
LocalVariableCouldBeFinal Local variable 'keyLabel' could be declared final 3 379
UseExplicitTypes Use Explicit Types 3 379
LocalVariableCouldBeFinal Local variable 'vendor' could be declared final 3 380
UseExplicitTypes Use Explicit Types 3 380
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
LocalVariableCouldBeFinal Local variable 'login' could be declared final 3 422
LocalVariableCouldBeFinal Local variable 'pass' could be declared final 3 423
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

view - com/jsql/view/swing/manager/ManagerFile.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
ShortVariable Avoid variables with short names like e 3 50
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
LocalVariableCouldBeFinal Local variable 'filePaths' could be declared final 3 80
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

view - com/jsql/view/swing/manager/ManagerScan.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 62
LocalVariableCouldBeFinal Local variable 'itemList' could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 3 73
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
LocalVariableCouldBeFinal Local variable 'beanInjection' could be declared final 3 81
UseExplicitTypes Use Explicit Types 3 81
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
LocalVariableCouldBeFinal Local variable 'requestType' could be declared final 3 86
LocalVariableCouldBeFinal Local variable 'method' could be declared final 3 93
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
LocalVariableCouldBeFinal Local variable 'jsonScan' could be declared final 3 106
UseExplicitTypes Use Explicit Types 3 106
UseExplicitTypes Use Explicit Types 3 108
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 108
UseExplicitTypes Use Explicit Types 3 109
UseExplicitTypes Use Explicit Types 3 110
AssignmentInOperand Avoid assignment to line in operand 3 113
LocalVariableCouldBeFinal Local variable 'jsonArrayScan' could be declared final 3 116
UseExplicitTypes Use Explicit Types 3 116
UseExplicitTypes Use Explicit Types 3 117
LocalVariableCouldBeFinal Local variable 'lastLine' could be declared final 3 127
UseExplicitTypes Use Explicit Types 3 127
AtLeastOneConstructor Each class should declare at least one constructor 3 140
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 140
ShortVariable Avoid variables with short names like e 3 142
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 147
LocalVariableCouldBeFinal Local variable 'listModel' could be declared final 3 153
LawOfDemeter Call to `getModel` on foreign value `ManagerScan.this.listPaths` (degree 1) 3 153
UseExplicitTypes Use Explicit Types 3 154
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
LongVariable Avoid excessively long variable names like requestUnsubscribe 3 188
LocalVariableCouldBeFinal Local variable 'requestUnsubscribe' could be declared final 3 188
UseExplicitTypes Use Explicit Types 3 188
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 3 194
LocalVariableCouldBeFinal Local variable 'urlItemList' could be declared final 3 196
LawOfDemeter Call to `getResourceAccess` on foreign value `MediatorHelper.model()` (degree 1) 3 199
LocalVariableCouldBeFinal Local variable 'urlItemListScan' could be declared final 3 204
UseExplicitTypes Use Explicit Types 3 204
LawOfDemeter Call to `getBeanInjection` on foreign value `urlItemListScan` (degree 1) 3 205
LocalVariableCouldBeFinal Local variable 'optionalVendor' could be declared final 3 207
LawOfDemeter Call to `filter` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream()` (degree 2) 3 207209
LawOfDemeter Call to `findAny` on foreign value `MediatorHelper.model().getMediatorVendor().getVendors().stream().filter(vendor -> vendor.toString().equalsIgnoreCase(urlItemListScan.getBeanInjection().getVendor()))` (degree 2) 3 207210
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 207208
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

view - com/jsql/view/swing/manager/util/ActionBruteForce.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
UseExplicitTypes Use Explicit Types 3 84
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
LocalVariableCouldBeFinal Local variable 'selectionStart' could be declared final 3 100
LocalVariableCouldBeFinal Local variable 'selectionEnd' could be declared final 3 101
LocalVariableCouldBeFinal Local variable 'remainingDuration' could be declared final 3 134
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
LocalVariableCouldBeFinal Local variable 'textPane' could be declared final 3 207
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

view - com/jsql/view/swing/manager/util/CoderListener.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'nameMethod' could be declared final 3 53
LocalVariableCouldBeFinal Local variable 'textInput' could be declared final 3 55
ExceptionAsFlowControl Exception thrown at line 62 is caught in this block. 3 6673

view - 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
LocalVariableCouldBeFinal Local variable 'exploitMethods' could be declared final 3 19
UseExplicitTypes Use Explicit Types 3 19

view - 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
LocalVariableCouldBeFinal Local variable 'exploitMethods' could be declared final 3 16
UseExplicitTypes Use Explicit Types 3 16

view - 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

view - 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

view - 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

view - 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

view - 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

view - 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
ShortVariable Avoid variables with short names like e 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

view - 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
ShortVariable Avoid variables with short names like e 3 17
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 18

view - 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

view - com/jsql/view/swing/menubar/AppMenubar.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 11393
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 54
TooManyMethods This class has too many methods, consider refactoring it. 3 54393
CallSuperInConstructor It is a good practice to call super() in a constructor 3 73
ConstructorCallsOverridableMethod Overridable method called during object construction: JMenuBar.add(JMenu) 1 74
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 78
ConstructorCallsOverridableMethod Overridable method called during object construction: JMenuBar.add(JMenu) 1 79
LocalVariableCouldBeFinal Local variable 'menuFile' could be declared final 3 83
UseExplicitTypes Use Explicit Types 3 83
LocalVariableCouldBeFinal Local variable 'itemSave' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'itemExit' could be declared final 3 90
LocalVariableCouldBeFinal Local variable 'menuEdit' could be declared final 3 103
UseExplicitTypes Use Explicit Types 3 103
LocalVariableCouldBeFinal Local variable 'itemCopy' could be declared final 3 107
LocalVariableCouldBeFinal Local variable 'itemSelectAll' could be declared final 3 118
LocalVariableCouldBeFinal Local variable 'menuCommunity' could be declared final 3 138
UseExplicitTypes Use Explicit Types 3 138
LongVariable Avoid excessively long variable names like menuI18nContribution 3 143
LocalVariableCouldBeFinal Local variable 'menuI18nContribution' could be declared final 3 143
LocalVariableCouldBeFinal Local variable 'itemReportIssue' could be declared final 3 146
LongVariable Avoid excessively long variable names like menuI18nContribution 3 156
LocalVariableCouldBeFinal Local variable 'menuI18nContribution' could be declared final 3 156
UseExplicitTypes Use Explicit Types 3 156
UseExplicitTypes Use Explicit Types 3 159
LocalVariableCouldBeFinal Local variable 'itemIntoOther' could be declared final 3 166
UseExplicitTypes Use Explicit Types 3 166
LongVariable Avoid excessively long variable names like modelItemTranslate 3 170
LongVariable Avoid excessively long variable names like modelItemTranslate 3 172
LocalVariableCouldBeFinal Local variable 'itemReportIssue' could be declared final 3 182
LocalVariableCouldBeFinal Local variable 'panel' could be declared final 3 187
UseExplicitTypes Use Explicit Types 3 187
ShortVariable Avoid variables with short names like e 3 210
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 210
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 216
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 231
LocalVariableCouldBeFinal Local variable 'menuHelp' could be declared final 3 239
UseExplicitTypes Use Explicit Types 3 239
LocalVariableCouldBeFinal Local variable 'itemHelp' could be declared final 3 244
LocalVariableCouldBeFinal Local variable 'itemUpdate' could be declared final 3 248
UseExplicitTypes Use Explicit Types 3 253
MethodArgumentCouldBeFinal Parameter 'theme' is not assigned and could be declared final 3 269
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 287
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 290
MethodArgumentCouldBeFinal Parameter 'oldLocale' is not assigned and could be declared final 3 294
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 294
MethodArgumentCouldBeFinal Parameter 'isStartup' is not assigned and could be declared final 3 294
LawOfDemeter Call to `getPropertiesUtil` on foreign value `MediatorHelper.model()` (degree 1) 3 296
MethodArgumentCouldBeFinal Parameter 'oldLocale' is not assigned and could be declared final 3 299
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 299
MethodArgumentCouldBeFinal Parameter 'isStartup' is not assigned and could be declared final 3 299
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 327
MethodArgumentCouldBeFinal Parameter 'oldLocale' is not assigned and could be declared final 3 332
MethodArgumentCouldBeFinal Parameter 'newLocale' is not assigned and could be declared final 3 332
MethodArgumentCouldBeFinal Parameter 'isStartup' is not assigned and could be declared final 3 332
LongVariable Avoid excessively long variable names like componentOrientation 3 333
LocalVariableCouldBeFinal Local variable 'componentOrientation' could be declared final 3 333
UseExplicitTypes Use Explicit Types 3 333
LongVariable Avoid excessively long variable names like splitPaneLeftRight 3 338
LocalVariableCouldBeFinal Local variable 'splitPaneLeftRight' could be declared final 3 338
LocalVariableCouldBeFinal Local variable 'componentLeft' could be declared final 3 339
UseExplicitTypes Use Explicit Types 3 339
LocalVariableCouldBeFinal Local variable 'componentRight' could be declared final 3 340
UseExplicitTypes Use Explicit Types 3 340
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 374
LocalVariableCouldBeFinal Local variable 'columnModel' could be declared final 3 375
LawOfDemeter Call to `getColumnModel` on foreign value `header` (degree 1) 3 375
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 3 376
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 3 377
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 3 378
LawOfDemeter Call to `getColumn` on foreign value `columnModel` (degree 2) 3 379

view - 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
LocalVariableCouldBeFinal Local variable 'itemNewWindows' could be declared final 3 50
ConstructorCallsOverridableMethod Overridable method called during object construction: JMenu.add(JMenuItem) 1 53
LocalVariableCouldBeFinal Local variable 'menuAppearance' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
LocalVariableCouldBeFinal Local variable 'itemNewWindows4k' could be declared final 3 58
LocalVariableCouldBeFinal Local variable 'groupRadio' could be declared final 3 63
UseExplicitTypes Use Explicit Types 3 63
LocalVariableCouldBeFinal Local variable 'menuThemes' could be declared final 3 64
UseExplicitTypes Use Explicit Types 3 64
LocalVariableCouldBeFinal Local variable 'item' could be declared final 3 77
ShortVariable Avoid variables with short names like e 3 80
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
LocalVariableCouldBeFinal Local variable 'accelerator' could be declared final 3 102
LocalVariableCouldBeFinal Local variable 'tabPosition' could be declared final 3 103
LocalVariableCouldBeFinal Local variable 'menuItem' could be declared final 3 105
UseExplicitTypes Use Explicit Types 3 105
UseExplicitTypes Use Explicit Types 3 115
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 3 117
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
LocalVariableCouldBeFinal Local variable 'menuPanel' could be declared final 3 126
UseExplicitTypes Use Explicit Types 3 126
LocalVariableCouldBeFinal Local variable 'menuItem' could be declared final 3 157
UseExplicitTypes Use Explicit Types 3 157
ShortVariable Avoid variables with short names like e 3 163
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
LocalVariableCouldBeFinal Local variable 'itemSqlEngine' could be declared final 3 188
UseExplicitTypes Use Explicit Types 3 188
LocalVariableCouldBeFinal Local variable 'titleTabSqlEngine' could be declared final 3 194
UseExplicitTypes Use Explicit Types 3 194
UseExplicitTypes Use Explicit Types 3 197
LocalVariableCouldBeFinal Local variable 'panelSqlEngine' could be declared final 3 206
UseExplicitTypes Use Explicit Types 3 206
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 211
UseExplicitTypes Use Explicit Types 3 211
LocalVariableCouldBeFinal Local variable 'itemPreferences' could be declared final 3 223
LongVariable Avoid excessively long variable names like titleTabPreferences 3 228
LocalVariableCouldBeFinal Local variable 'titleTabPreferences' could be declared final 3 228
UseExplicitTypes Use Explicit Types 3 228
UseExplicitTypes Use Explicit Types 3 231
LocalVariableCouldBeFinal Local variable 'panelPreferences' could be declared final 3 240
UseExplicitTypes Use Explicit Types 3 240
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 245
UseExplicitTypes Use Explicit Types 3 245
LocalVariableCouldBeFinal Local variable 'menuTranslation' could be declared final 3 258
UseExplicitTypes Use Explicit Types 3 258
LongVariable Avoid excessively long variable names like groupRadioLanguage 3 263
LocalVariableCouldBeFinal Local variable 'groupRadioLanguage' could be declared final 3 263
UseExplicitTypes Use Explicit Types 3 263
LongVariable Avoid excessively long variable names like atomicIsAnySelected 3 264
LocalVariableCouldBeFinal Local variable 'atomicIsAnySelected' could be declared final 3 264
UseExplicitTypes Use Explicit Types 3 264
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 300

view - 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
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 21

view - 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

view - com/jsql/view/swing/panel/PanelAddressBar.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 47
LongVariable Avoid excessively long variable names like atomicTextFieldAddress 3 51
LongVariable Avoid excessively long variable names like atomicTextFieldRequest 3 52
LongVariable Avoid excessively long variable names like atomicTextFieldHeader 3 53
LongVariable Avoid excessively long variable names like atomicRadioRequest 3 55
LongVariable Avoid excessively long variable names like KEY_ADDRESS_BAR_PLACEHOLDER 3 59
LawOfDemeter Call to `getMediatorMethod` on foreign value `MediatorHelper.model()` (degree 1) 3 63
LongVariable Avoid excessively long variable names like panelTrailingAddress 3 66
LongVariable Avoid excessively long variable names like isAdvanceActivated 3 68
RedundantFieldInitializer Avoid using redundant field initializer for 'isAdvanceActivated' 3 68
AvoidFieldNameMatchingMethodName Field isAdvanceActivated has the same name as a method 3 68
CallSuperInConstructor It is a good practice to call super() in a constructor 3 70
LocalVariableCouldBeFinal Local variable 'buttonGroup' could be declared final 3 71
UseExplicitTypes Use Explicit Types 3 71
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
LocalVariableCouldBeFinal Local variable 'i18nTooltip' could be declared final 3 105
UseExplicitTypes Use Explicit Types 3 105
LocalVariableCouldBeFinal Local variable 'tooltipTextfield' could be declared final 3 106
UseExplicitTypes Use Explicit Types 3 106
CompareObjectsWithEquals Use equals() to compare object references. 3 109
LocalVariableCouldBeFinal Local variable 'i18nRadio' could be declared final 3 121
UseExplicitTypes Use Explicit Types 3 121
LocalVariableCouldBeFinal Local variable 'tooltipRadio' could be declared final 3 122
UseExplicitTypes Use Explicit Types 3 122
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
LocalVariableCouldBeFinal Local variable 'panelTextFields' could be declared final 3 170
UseExplicitTypes Use Explicit Types 3 170
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 171
UseExplicitTypes Use Explicit Types 3 171
UseExplicitTypes Use Explicit Types 3 176
UseExplicitTypes Use Explicit Types 3 177
LocalVariableCouldBeFinal Local variable 'method' could be declared final 3 179
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 180
LocalVariableCouldBeFinal Local variable 'tooltipPanel' could be declared final 3 190
UseExplicitTypes Use Explicit Types 3 190
LocalVariableCouldBeFinal Local variable 'panelCustomMethod' could be declared final 3 191
UseExplicitTypes Use Explicit Types 3 191
LocalVariableCouldBeFinal Local variable 'colorBackground' could be declared final 3 198
LongVariable Avoid excessively long variable names like colorSelectionBackground 3 199
LocalVariableCouldBeFinal Local variable 'colorSelectionBackground' could be declared final 3 199
UseExplicitTypes Use Explicit Types 3 202
ShortVariable Avoid variables with short names like e 3 221
LawOfDemeter Call to `getDocument` on foreign value `inputCustomMethod` (degree 1) 3 225
LongVariable Avoid excessively long variable names like tooltipCustomMethod 3 233
LocalVariableCouldBeFinal Local variable 'tooltipCustomMethod' could be declared final 3 233
UseExplicitTypes Use Explicit Types 3 233
LongVariable Avoid excessively long variable names like mouseAdapterSetBackground 3 239
LocalVariableCouldBeFinal Local variable 'mouseAdapterSetBackground' could be declared final 3 239
ShortVariable Avoid variables with short names like e 3 241
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 241
ShortVariable Avoid variables with short names like e 3 247
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 247
ShortVariable Avoid variables with short names like e 3 264
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 264
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 294
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 294
MethodArgumentCouldBeFinal Parameter 'inputCustomMethod' is not assigned and could be declared final 3 349
LocalVariableCouldBeFinal Local variable 'tooltip' could be declared final 3 361
UseExplicitTypes Use Explicit Types 3 361
LocalVariableCouldBeFinal Local variable 'advancedButton' could be declared final 3 362
UseExplicitTypes Use Explicit Types 3 362
ShortVariable Avoid variables with short names like e 3 373
LocalVariableCouldBeFinal Local variable 'isVisible' could be declared final 3 374
LawOfDemeter Call to `getIcon` on foreign value `advancedButton` (degree 1) 3 374
CompareObjectsWithEquals Use equals() to compare object references. 3 374
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) 3 374
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.ARROW_UP` (degree 1) 3 382
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.ARROW_DOWN` (degree 1) 3 382
MethodArgumentCouldBeFinal Parameter 'methodInjection' is not assigned and could be declared final 3 391

view - com/jsql/view/swing/panel/PanelConsoles.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 45
TooManyMethods This class has too many methods, consider refactoring it. 3 45349
LongVariable Avoid excessively long variable names like CONSOLE_JAVA_TOOLTIP 3 49
LongVariable Avoid excessively long variable names like CONSOLE_CHUNK_TOOLTIP 3 50
LongVariable Avoid excessively long variable names like CONSOLE_BINARY_TOOLTIP 3 51
LongVariable Avoid excessively long variable names like CONSOLE_MAIN_TOOLTIP 3 52
LongVariable Avoid excessively long variable names like tabbedPaneNetworkTab 3 75
RedundantFieldInitializer Avoid using redundant field initializer for 'dividerLocation' 3 79
CallSuperInConstructor It is a good practice to call super() in a constructor 3 84
ConstructorCallsOverridableMethod This method may call an overridable method during object construction: PanelConsoles.insertJavaTab() (call stack: [PanelConsoles.initTabsConsoles(), PanelConsoles.insertJavaTab()]) 1 92
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 93
LocalVariableCouldBeFinal Local variable 'expandPanel' could be declared final 3 95
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component) 1 97
LocalVariableCouldBeFinal Local variable 'panelTable' could be declared final 3 111
LocalVariableCouldBeFinal Local variable 'proxyChunk' could be declared final 3 117
UseExplicitTypes Use Explicit Types 3 117
LocalVariableCouldBeFinal Local variable 'proxyBinary' could be declared final 3 123
UseExplicitTypes Use Explicit Types 3 123
LocalVariableCouldBeFinal Local variable 'consoleTextPane' could be declared final 3 129
UseExplicitTypes Use Explicit Types 3 129
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 142
UseExplicitTypes Use Explicit Types 3 142
ShortVariable Avoid variables with short names like e 3 158
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 158
LocalVariableCouldBeFinal Local variable 'tabIndex' could be declared final 3 159
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 3 166
LocalVariableCouldBeFinal Local variable 'currentTabHeader' could be declared final 3 168
UseExplicitTypes Use Explicit Types 3 168
LocalVariableCouldBeFinal Local variable 'labelShowSouth' could be declared final 3 178
UseExplicitTypes Use Explicit Types 3 178
ShortVariable Avoid variables with short names like e 3 182
ShortVariable Avoid variables with short names like e 3 190
LocalVariableCouldBeFinal Local variable 'panelExpander' could be declared final 3 195
UseExplicitTypes Use Explicit Types 3 195
LawOfDemeter Call to `getModel` on foreign value `this.networkTable` (degree 1) 3 212
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 213
LocalVariableCouldBeFinal Local variable 'positionFromChunk' could be declared final 3 237
UseExplicitTypes Use Explicit Types 3 237
ConfusingTernary Avoid if (x != y) ..; else ..; 3 237
LocalVariableCouldBeFinal Local variable 'positionFromJava' could be declared final 3 251
UseExplicitTypes Use Explicit Types 3 251
ConfusingTernary Avoid if (x != y) ..; else ..; 3 251
MethodArgumentCouldBeFinal Parameter 'keyLabel' is not assigned and could be declared final 3 274
MethodArgumentCouldBeFinal Parameter 'keyTooltip' is not assigned and could be declared final 3 274
MethodArgumentCouldBeFinal Parameter 'icon' is not assigned and could be declared final 3 274
MethodArgumentCouldBeFinal Parameter 'manager' is not assigned and could be declared final 3 274
MethodArgumentCouldBeFinal Parameter 'position' is not assigned and could be declared final 3 274
LocalVariableCouldBeFinal Local variable 'refJToolTipI18n' could be declared final 3 275
UseExplicitTypes Use Explicit Types 3 275
LocalVariableCouldBeFinal Local variable 'labelTab' could be declared final 3 277
UseExplicitTypes Use Explicit Types 3 277
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 307
LawOfDemeter Call to `getDocument` on foreign value `this.chunkTextArea` (degree 1) 3 310
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 311
MethodArgumentCouldBeFinal Parameter 'text' is not assigned and could be declared final 3 318
LawOfDemeter Call to `getDocument` on foreign value `this.binaryTextArea` (degree 1) 3 321
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 322
MethodArgumentCouldBeFinal Parameter 'location' is not assigned and could be declared final 3 334

view - 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
LongVariable Avoid excessively long variable names like actionListenerSave 3 17
LongVariable Avoid excessively long variable names like panelAuthentication 3 24
CallSuperInConstructor It is a good practice to call super() in a constructor 3 45
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 46
ConstructorCallsOverridableMethod Overridable method called during object construction: JComponent.setBorder(Border) 1 47
LocalVariableCouldBeFinal Local variable 'cards' could be declared final 3 49
UseExplicitTypes Use Explicit Types 3 49
LocalVariableCouldBeFinal Local variable 'categories' could be declared final 3 52
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
LocalVariableCouldBeFinal Local variable 'categories' could be declared final 3 70
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 3 76
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
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 3 87
UseExplicitTypes Use Explicit Types 3 87

view - 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
ShortVariable Avoid variables with short names like e 3 15

view - 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
ShortVariable Avoid variables with short names like e 3 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 60

view - com/jsql/view/swing/panel/address/ButtonStart.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 26
LongVariable Avoid excessively long variable names like BUTTON_START_TOOLTIP 3 27
CallSuperInConstructor It is a good practice to call super() in a constructor 3 53
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 This method may call an overridable method during object construction: AbstractButton.setIcon(Icon) (call stack: [ButtonStart.setIcons(), AbstractButton.setIcon(Icon)]) 1 63

view - 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

view - com/jsql/view/swing/panel/address/PanelTrailingAddress.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 26
LongVariable Avoid excessively long variable names like itemRadioStrategyError 3 30
LongVariable Avoid excessively long variable names like popupMenuStrategies 3 35
LongVariable Avoid excessively long variable names like I18N_TOOLTIP_STRATEGY 3 39
CallSuperInConstructor It is a good practice to call super() in a constructor 3 51
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
LocalVariableCouldBeFinal Local variable 'nameStrategy' could be declared final 3 59
UseExplicitTypes Use Explicit Types 3 59
LawOfDemeter Call to `getName` on foreign value `strategy` (degree 2) 3 59
LocalVariableCouldBeFinal Local variable 'itemRadioStrategy' could be declared final 3 60
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
LocalVariableCouldBeFinal Local variable 'atomicTooltip' could be declared final 3 66
UseExplicitTypes Use Explicit Types 3 66
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 6668
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 6668
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 6979
LawOfDemeter Call to `toString` on foreign value `strategy` (degree 2) 3 69
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 7276
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
LocalVariableCouldBeFinal Local variable 'groupVendor' could be declared final 3 102
UseExplicitTypes Use Explicit Types 3 102
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
LocalVariableCouldBeFinal Local variable 'itemRadioVendor' could be declared final 3 104
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
LocalVariableCouldBeFinal Local variable 'dimension' could be declared final 3 115
UseExplicitTypes Use Explicit Types 3 115
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component) 1 118
ShortVariable Avoid variables with short names like e 3 122
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 122
ShortVariable Avoid variables with short names like e 3 133
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 133
UseExplicitTypes Use Explicit Types 3 135
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
LocalVariableCouldBeFinal Local variable 'iterable' could be declared final 3 167
MethodArgumentCouldBeFinal Parameter 'vendor' is not assigned and could be declared final 3 173
UseExplicitTypes Use Explicit Types 3 176
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
LocalVariableCouldBeFinal Local variable 'methodError' could be declared final 3 181
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
LocalVariableCouldBeFinal Local variable 'itemRadioError' could be declared final 3 182
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 182
LocalVariableCouldBeFinal Local variable 'indexErrorFinal' could be declared final 3 187
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
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 214
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 214
UseExplicitTypes Use Explicit Types 3 220
UnusedAssignment The initializer for variable 'isNotNull' is never used (overwritten on line 225) 3 220
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 236
LawOfDemeter Call to `getMediatorStrategy` on foreign value `MediatorHelper.model()` (degree 1) 3 236
LocalVariableCouldBeFinal Local variable 'indexError' could be declared final 3 238
LocalVariableCouldBeFinal Local variable 'nameError' could be declared final 3 239
LawOfDemeter Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) 3 239
LongVariable Avoid excessively long variable names like jRadioButtonMenuItem 3 244
LocalVariableCouldBeFinal Local variable 'nameError' could be declared final 3 251
UseExplicitTypes Use Explicit Types 3 251
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
LocalVariableCouldBeFinal Local variable 'strategy' could be declared final 3 260
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

view - com/jsql/view/swing/panel/consoles/CenterRenderer.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 6
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7
ConstructorCallsOverridableMethod Overridable method called during object construction: JLabel.setHorizontalAlignment(int) 1 8

view - 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
LongVariable Avoid excessively long variable names like objectCallableBoolean 3 15
LocalVariableCouldBeFinal Local variable 'objectCallableBoolean' could be declared final 3 15
LocalVariableCouldBeFinal Local variable 'callableBoolean' could be declared final 3 18
LocalVariableCouldBeFinal Local variable 'charText' could be declared final 3 19
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 25
LocalVariableCouldBeFinal Local variable 'callableBoolean' could be declared final 3 29
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

view - com/jsql/view/swing/panel/consoles/NetworkTable.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 21
LongVariable Avoid excessively long variable names like tabbedPaneNetworkTab 3 28
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 3860
ShortVariable Avoid variables with short names like e 3 40
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 40
LocalVariableCouldBeFinal Local variable 'point' could be declared final 3 45
UseExplicitTypes Use Explicit Types 3 45
LocalVariableCouldBeFinal Local variable 'rowNumber' could be declared final 3 48
UseExplicitTypes Use Explicit Types 3 48
LocalVariableCouldBeFinal Local variable 'colNumber' could be declared final 3 49
UseExplicitTypes Use Explicit Types 3 49
LocalVariableCouldBeFinal Local variable 'modelRow' could be declared final 3 52
LocalVariableCouldBeFinal Local variable 'modelColumn' could be declared final 3 53
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 6277
MethodArgumentCouldBeFinal Parameter 'index' is not assigned and could be declared final 3 74
ConstructorCallsOverridableMethod Overridable method called during object construction: JTable.getColumnModel() 1 79
LongVariable Avoid excessively long variable names like centerHorizontalAlignment 3 81
LocalVariableCouldBeFinal Local variable 'centerHorizontalAlignment' could be declared final 3 81
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
LocalVariableCouldBeFinal Local variable 'forward' could be declared final 3 89
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
LocalVariableCouldBeFinal Local variable 'backward' could be declared final 3 93
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
LocalVariableCouldBeFinal Local variable 'httpHeader' could be declared final 3 104
UseExplicitTypes Use Explicit Types 3 104
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 109
LocalVariableCouldBeFinal Local variable 'httpHeader' could be declared final 3 113
UseExplicitTypes Use Explicit Types 3 113
MethodArgumentCouldBeFinal Parameter 'header' is not assigned and could be declared final 3 128

view - 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 1215
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 35
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 50
CallSuperInConstructor It is a good practice to call super() in a constructor 3 52
ConstructorCallsOverridableMethod Overridable method called during object construction: Component.setName(String) 1 53
LocalVariableCouldBeFinal Local variable 'panelDecode' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
CompareObjectsWithEquals Use equals() to compare object references. 3 76
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 80
UseExplicitTypes Use Explicit Types 3 80
LocalVariableCouldBeFinal Local variable 'caret' could be declared final 3 90
ConstructorCallsOverridableMethod Overridable method called during object construction: TabbedPaneNetworkTab.applyTheme() 1 101
LawOfDemeter Call to `getCaret` on foreign value `this.textPanePreview` (degree 1) 3 106
LawOfDemeter Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) 3 110
LawOfDemeter Call to `getCaret` on foreign value `TabbedPaneNetworkTab.this.textPanePreview` (degree 1) 3 111
MethodArgumentCouldBeFinal Parameter 'networkData' is not assigned and could be declared final 3 116
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 130
CommentSize Comment is too large: Line too long 3 136
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 160
MethodArgumentCouldBeFinal Parameter 'textArea' is not assigned and could be declared final 3 165
MethodArgumentCouldBeFinal Parameter 'httpData' is not assigned and could be declared final 3 165
LocalVariableCouldBeFinal Local variable 'decodedValue' could be declared final 3 169
MethodArgumentCouldBeFinal Parameter 'isSelected' is not assigned and could be declared final 3 175
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 175
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 178
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 194
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 194

view - 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
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 20

view - 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
LongVariable Avoid excessively long variable names like checkboxUseDigestAuthentication 3 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 15
LongVariable Avoid excessively long variable names like checkboxUseKerberos 3 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 16
LongVariable Avoid excessively long variable names like textDigestAuthenticationUsername 3 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 18
LongVariable Avoid excessively long variable names like textDigestAuthenticationPassword 3 19
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 19
LongVariable Avoid excessively long variable names like textKerberosLoginConf 3 20
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 20
LongVariable Avoid excessively long variable names like textKerberosKrb5Conf 3 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 21
CallSuperInConstructor It is a good practice to call super() in a constructor 3 26
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 3 26
LocalVariableCouldBeFinal Local variable 'panelUsername' could be declared final 3 35
UseExplicitTypes Use Explicit Types 3 35
LocalVariableCouldBeFinal Local variable 'panelPassword' could be declared final 3 41
UseExplicitTypes Use Explicit Types 3 41
LongVariable Avoid excessively long variable names like tooltipUseKerberos 3 48
LocalVariableCouldBeFinal Local variable 'tooltipUseKerberos' could be declared final 3 48
LocalVariableCouldBeFinal Local variable 'panelLoginConf' could be declared final 3 82
UseExplicitTypes Use Explicit Types 3 82
LocalVariableCouldBeFinal Local variable 'panelKrb5Conf' could be declared final 3 88
UseExplicitTypes Use Explicit Types 3 88
LongVariable Avoid excessively long variable names like documentListenerSave 3 100
LocalVariableCouldBeFinal Local variable 'documentListenerSave' could be declared final 3 100
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 103
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 3 115
UseExplicitTypes Use Explicit Types 3 115
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 118
UseExplicitTypes Use Explicit Types 3 118
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 119

view - com/jsql/view/swing/panel/preferences/PanelConnection.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 14
DataClass The class 'PanelConnection' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=12, WMC=17) 3 14
LongVariable Avoid excessively long variable names like checkboxIsFollowingRedirection 3 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 16
LongVariable Avoid excessively long variable names like checkboxIsHttp2Disabled 3 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 17
LongVariable Avoid excessively long variable names like checkboxIsNotTestingConnection 3 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 18
LongVariable Avoid excessively long variable names like checkboxIsNotProcessingCookies 3 19
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 19
LongVariable Avoid excessively long variable names like checkboxIsProcessingCsrf 3 20
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 20
LongVariable Avoid excessively long variable names like checkboxIsLimitingThreads 3 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 21
LongVariable Avoid excessively long variable names like checkboxIsConnectionTimeout 3 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 22
LongVariable Avoid excessively long variable names like checkboxIsUnicodeDecodeDisabled 3 23
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 23
LongVariable Avoid excessively long variable names like checkboxIsUrlDecodeDisabled 3 24
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 24
LongVariable Avoid excessively long variable names like spinnerLimitingThreads 3 26
LongVariable Avoid excessively long variable names like spinnerConnectionTimeout 3 27
LongVariable Avoid excessively long variable names like checkboxIsCsrfUserTag 3 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 29
LongVariable Avoid excessively long variable names like textfieldCustomCsrfInputToken 3 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 30
LongVariable Avoid excessively long variable names like textfieldCustomCsrfOutputToken 3 31
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 31
CallSuperInConstructor It is a good practice to call super() in a constructor 3 33
NcssCount The constructor 'PanelConnection(PanelPreferences)' has a NCSS line count of 74. 3 33
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 3 33
LongVariable Avoid excessively long variable names like panelConnectionTimeout 3 66
LocalVariableCouldBeFinal Local variable 'panelConnectionTimeout' could be declared final 3 66
UseExplicitTypes Use Explicit Types 3 66
LongVariable Avoid excessively long variable names like countConnectionTimeout 3 72
LocalVariableCouldBeFinal Local variable 'countConnectionTimeout' could be declared final 3 72
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 72
LongVariable Avoid excessively long variable names like spinnerConnectionModel 3 73
LocalVariableCouldBeFinal Local variable 'spinnerConnectionModel' could be declared final 3 73
UseExplicitTypes Use Explicit Types 3 73
LawOfDemeter Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) 3 81
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 81
LocalVariableCouldBeFinal Local variable 'panelThreadCount' could be declared final 3 83
UseExplicitTypes Use Explicit Types 3 83
LongVariable Avoid excessively long variable names like countLimitingThreads 3 89
LocalVariableCouldBeFinal Local variable 'countLimitingThreads' could be declared final 3 89
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 89
LongVariable Avoid excessively long variable names like spinnerNumberModel 3 90
LocalVariableCouldBeFinal Local variable 'spinnerNumberModel' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
LawOfDemeter Call to `actionPerformed` on foreign value `panelPreferences.getActionListenerSave()` (degree 2) 3 98
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 98
LongVariable Avoid excessively long variable names like panelCsrfUserTagInput 3 105
LocalVariableCouldBeFinal Local variable 'panelCsrfUserTagInput' could be declared final 3 105
UseExplicitTypes Use Explicit Types 3 105
LongVariable Avoid excessively long variable names like panelCsrfUserTagOutput 3 111
LocalVariableCouldBeFinal Local variable 'panelCsrfUserTagOutput' could be declared final 3 111
UseExplicitTypes Use Explicit Types 3 111
LawOfDemeter Call to `getDocument` on foreign value `this.textfieldCustomCsrfInputToken` (degree 1) 3 117
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 120
LawOfDemeter Call to `getDocument` on foreign value `this.textfieldCustomCsrfOutputToken` (degree 1) 3 123
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 126
LongVariable Avoid excessively long variable names like actionListenerNotProcessingCookies 3 130
LocalVariableCouldBeFinal Local variable 'actionListenerNotProcessingCookies' could be declared final 3 130
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 135
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 3 169
UseExplicitTypes Use Explicit Types 3 169
LongVariable Avoid excessively long variable names like labelSessionManagement 3 170
LocalVariableCouldBeFinal Local variable 'labelSessionManagement' could be declared final 3 170
UseExplicitTypes Use Explicit Types 3 170
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 174
UseExplicitTypes Use Explicit Types 3 174
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 175

view - com/jsql/view/swing/panel/preferences/PanelExploit.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 16
FieldNamingConventions The constant name 'textareaRevshells' doesn't match '[A-Z][A-Z_0-9]*' 1 18
CallSuperInConstructor It is a good practice to call super() in a constructor 3 22
LocalVariableCouldBeFinal Local variable 'preferencesUtil' could be declared final 3 26
UseExplicitTypes Use Explicit Types 3 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 26
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 3 27
UseExplicitTypes Use Explicit Types 3 27
LawOfDemeter Call to `getDocument` on foreign value `PanelExploit.textareaRevshells` (degree 1) 3 28
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 36
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 3 55
UseExplicitTypes Use Explicit Types 3 55
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 59
UseExplicitTypes Use Explicit Types 3 59
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 60

view - 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
LongVariable Avoid excessively long variable names like checkboxIsCheckingUpdate 3 14
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 14
LongVariable Avoid excessively long variable names like checkboxIsReportingBugs 3 15
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
CallSuperInConstructor It is a good practice to call super() in a constructor 3 18
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 3 18
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 3 29
UseExplicitTypes Use Explicit Types 3 29
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 32
UseExplicitTypes Use Explicit Types 3 32
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 33

view - 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
LongVariable Avoid excessively long variable names like checkboxIsNotShowingVulnReport 3 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 18
LongVariable Avoid excessively long variable names like checkboxIsNotSearchingCharInsertion 3 19
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 19
LongVariable Avoid excessively long variable names like checkboxIsNotInjectingMetadata 3 20
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 20
LongVariable Avoid excessively long variable names like checkboxIsParsingForm 3 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 21
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllParam 3 23
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 23
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllURLParam 3 24
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 24
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllRequestParam 3 25
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 25
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllHeaderParam 3 26
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 26
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllBase64Param 3 27
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 27
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllJSONParam 3 28
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 28
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllCookieParam 3 29
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 29
LongVariable Avoid excessively long variable names like checkboxIsCheckingAllSOAPParam 3 30
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 30
LongVariable Avoid excessively long variable names like checkboxIsLimitingUnionIndex 3 32
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 32
LongVariable Avoid excessively long variable names like spinnerUnionIndexCount 3 33
LongVariable Avoid excessively long variable names like checkboxIsLimitingSleepTimeStrategy 3 34
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 34
LongVariable Avoid excessively long variable names like spinnerSleepTimeStrategyCount 3 35
LongVariable Avoid excessively long variable names like checkboxIsPerfIndexDisabled 3 37
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 37
LongVariable Avoid excessively long variable names like radioIsDefaultStrategy 3 38
LongVariable Avoid excessively long variable names like radioIsZipStrategy 3 39
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 39
LongVariable Avoid excessively long variable names like radioIsDiosStrategy 3 40
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 40
LongVariable Avoid excessively long variable names like checkboxIsUrlEncodingDisabled 3 41
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 41
LongVariable Avoid excessively long variable names like checkboxIsUrlRandomSuffixDisabled 3 42
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 42
LongVariable Avoid excessively long variable names like textfieldDnsDomain 3 44
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
CallSuperInConstructor It is a good practice to call super() in a constructor 3 47
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
LongVariable Avoid excessively long variable names like panelSleepTimeStrategy 3 86
LocalVariableCouldBeFinal Local variable 'panelSleepTimeStrategy' could be declared final 3 86
UseExplicitTypes Use Explicit Types 3 86
LongVariable Avoid excessively long variable names like countSleepTimeStrategy 3 92
LocalVariableCouldBeFinal Local variable 'countSleepTimeStrategy' could be declared final 3 92
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 92
LongVariable Avoid excessively long variable names like spinnerSleepTimeStrategy 3 93
LocalVariableCouldBeFinal Local variable 'spinnerSleepTimeStrategy' could be declared final 3 93
UseExplicitTypes Use Explicit Types 3 93
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
LongVariable Avoid excessively long variable names like panelIsLimitingUnionIndex 3 105
LocalVariableCouldBeFinal Local variable 'panelIsLimitingUnionIndex' could be declared final 3 105
UseExplicitTypes Use Explicit Types 3 105
LocalVariableCouldBeFinal Local variable 'countUnionIndex' could be declared final 3 111
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 111
LongVariable Avoid excessively long variable names like spinnerCountUnionIndex 3 112
LocalVariableCouldBeFinal Local variable 'spinnerCountUnionIndex' could be declared final 3 112
UseExplicitTypes Use Explicit Types 3 112
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
LongVariable Avoid excessively long variable names like labelGeneralInjection 3 131
LocalVariableCouldBeFinal Local variable 'labelGeneralInjection' could be declared final 3 131
UseExplicitTypes Use Explicit Types 3 131
LongVariable Avoid excessively long variable names like labelParamsInjection 3 132
LocalVariableCouldBeFinal Local variable 'labelParamsInjection' could be declared final 3 132
UseExplicitTypes Use Explicit Types 3 132
LocalVariableCouldBeFinal Local variable 'labelSpecial' could be declared final 3 133
UseExplicitTypes Use Explicit Types 3 133
LocalVariableCouldBeFinal Local variable 'labelQuerySize' could be declared final 3 134
UseExplicitTypes Use Explicit Types 3 134
LocalVariableCouldBeFinal Local variable 'labelDns' could be declared final 3 135
UseExplicitTypes Use Explicit Types 3 135
LongVariable Avoid excessively long variable names like actionListenerCheckingAllParam 3 144
LocalVariableCouldBeFinal Local variable 'actionListenerCheckingAllParam' could be declared final 3 144
CompareObjectsWithEquals Use equals() to compare object references. 3 145
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 157
LocalVariableCouldBeFinal Local variable 'panelDnsDomain' could be declared final 3 189
UseExplicitTypes Use Explicit Types 3 189
LocalVariableCouldBeFinal Local variable 'panelDnsPort' could be declared final 3 195
UseExplicitTypes Use Explicit Types 3 195
LongVariable Avoid excessively long variable names like documentListenerSave 3 202
LocalVariableCouldBeFinal Local variable 'documentListenerSave' could be declared final 3 202
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 205
LongVariable Avoid excessively long variable names like groupSpaceToComment 3 222
LocalVariableCouldBeFinal Local variable 'groupSpaceToComment' could be declared final 3 222
UseExplicitTypes Use Explicit Types 3 222
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 227
UseExplicitTypes Use Explicit Types 3 227
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 228

view - 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
LongVariable Avoid excessively long variable names like checkboxIsUsingProxy 3 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 16
LongVariable Avoid excessively long variable names like checkboxIsUsingProxyHttps 3 17
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
LongVariable Avoid excessively long variable names like textProxyAddressHttps 3 21
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 21
LongVariable Avoid excessively long variable names like textProxyPortHttps 3 22
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 22
CallSuperInConstructor It is a good practice to call super() in a constructor 3 24
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 3 24
LongVariable Avoid excessively long variable names like panelHttpIpAddress 3 25
LocalVariableCouldBeFinal Local variable 'panelHttpIpAddress' could be declared final 3 25
UseExplicitTypes Use Explicit Types 3 25
LocalVariableCouldBeFinal Local variable 'panelHttpPort' could be declared final 3 31
UseExplicitTypes Use Explicit Types 3 31
LongVariable Avoid excessively long variable names like panelHttpsIpAddress 3 38
LocalVariableCouldBeFinal Local variable 'panelHttpsIpAddress' could be declared final 3 38
UseExplicitTypes Use Explicit Types 3 38
LocalVariableCouldBeFinal Local variable 'panelHttpsPort' could be declared final 3 44
UseExplicitTypes Use Explicit Types 3 44
LongVariable Avoid excessively long variable names like documentListenerSave 3 60
LocalVariableCouldBeFinal Local variable 'documentListenerSave' could be declared final 3 60
LawOfDemeter Call to `getActionListenerSave` on foreign value `panelPreferences` (degree 1) 3 63
UseExplicitTypes Use Explicit Types 3 75
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 3 83
UseExplicitTypes Use Explicit Types 3 83
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 86
UseExplicitTypes Use Explicit Types 3 86
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 87

view - 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
LongVariable Avoid excessively long variable names like checkboxIsStrategyTimeDisabled 3 11
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 11
LongVariable Avoid excessively long variable names like checkboxIsStrategyBlindBitDisabled 3 12
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 12
LongVariable Avoid excessively long variable names like checkboxIsStrategyBlindBinDisabled 3 13
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 13
LongVariable Avoid excessively long variable names like checkboxIsStrategyMultibitDisabled 3 14
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 14
LongVariable Avoid excessively long variable names like checkboxIsStrategyDnsDisabled 3 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 15
LongVariable Avoid excessively long variable names like checkboxIsStrategyErrorDisabled 3 16
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 16
LongVariable Avoid excessively long variable names like checkboxIsStrategyStackDisabled 3 17
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 17
LongVariable Avoid excessively long variable names like checkboxIsStrategyUnionDisabled 3 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 18
CallSuperInConstructor It is a good practice to call super() in a constructor 3 20
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 3 20
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 3 42
UseExplicitTypes Use Explicit Types 3 42
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 45
UseExplicitTypes Use Explicit Types 3 45
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 46

view - 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
LongVariable Avoid excessively long variable names like checkboxIsTamperingBase64 3 24
LongVariable Avoid excessively long variable names like checkboxIsTamperingVersionComment 3 25
LongVariable Avoid excessively long variable names like checkboxIsTamperingFunctionComment 3 26
LongVariable Avoid excessively long variable names like checkboxIsTamperingEqualToLike 3 27
LongVariable Avoid excessively long variable names like checkboxIsTamperingRandomCase 3 28
LongVariable Avoid excessively long variable names like checkboxIsTamperingEval 3 29
LongVariable Avoid excessively long variable names like checkboxIsTamperingHexToChar 3 30
LongVariable Avoid excessively long variable names like checkboxIsTamperingStringToChar 3 31
LongVariable Avoid excessively long variable names like checkboxIsTamperingQuoteToUtf8 3 32
LongVariable Avoid excessively long variable names like checkboxIsTamperingCharToEncoding 3 33
LongVariable Avoid excessively long variable names like radioIsTamperingSpaceToMultilineComment 3 34
LongVariable Avoid excessively long variable names like radioIsTamperingSpaceToDashComment 3 35
LongVariable Avoid excessively long variable names like radioIsTamperingSpaceToSharpComment 3 36
FieldNamingConventions The constant name 'textPaneEval' doesn't match '[A-Z][A-Z_0-9]*' 1 38
CallSuperInConstructor It is a good practice to call super() in a constructor 3 40
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 3 40
LongVariable Avoid excessively long variable names like textAreaIsTamperingEval 3 48
LocalVariableCouldBeFinal Local variable 'textAreaIsTamperingEval' could be declared final 3 48
UseExplicitTypes Use Explicit Types 3 48
LawOfDemeter Call to `getDocument` on foreign value `PanelTampering.textPaneEval` (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
LongVariable Avoid excessively long variable names like groupSpaceToComment 3 81
LocalVariableCouldBeFinal Local variable 'groupSpaceToComment' could be declared final 3 81
UseExplicitTypes Use Explicit Types 3 81
MethodArgumentCouldBeFinal Parameter 'buttonModel' is not assigned and could be declared final 3 83
ShortVariable Avoid variables with short names like b 3 83
MethodArgumentCouldBeFinal Parameter 'b' is not assigned and could be declared final 3 83
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8589
LongVariable Avoid excessively long variable names like labelCommonConversion 3 96
LocalVariableCouldBeFinal Local variable 'labelCommonConversion' could be declared final 3 96
UseExplicitTypes Use Explicit Types 3 96
LocalVariableCouldBeFinal Local variable 'labelSpaceTamper' could be declared final 3 97
UseExplicitTypes Use Explicit Types 3 97
LongVariable Avoid excessively long variable names like labelCustomConversion 3 98
LocalVariableCouldBeFinal Local variable 'labelCustomConversion' could be declared final 3 98
UseExplicitTypes Use Explicit Types 3 98
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 101
UseExplicitTypes Use Explicit Types 3 101
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 102

view - com/jsql/view/swing/panel/preferences/PanelUserAgent.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 13
LongVariable Avoid excessively long variable names like checkboxIsCustomUserAgent 3 15
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 15
CallSuperInConstructor It is a good practice to call super() in a constructor 3 17
MethodArgumentCouldBeFinal Parameter 'panelPreferences' is not assigned and could be declared final 3 17
LocalVariableCouldBeFinal Local variable 'userAgents' could be declared final 3 18
UseExplicitTypes Use Explicit Types 3 18
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 19
LongVariable Avoid excessively long variable names like textfieldCustomUserAgent 3 23
LocalVariableCouldBeFinal Local variable 'textfieldCustomUserAgent' could be declared final 3 23
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
LocalVariableCouldBeFinal Local variable 'scrollPane' could be declared final 3 37
UseExplicitTypes Use Explicit Types 3 37
LocalVariableCouldBeFinal Local variable 'labelOrigin' could be declared final 3 39
UseExplicitTypes Use Explicit Types 3 39
LocalVariableCouldBeFinal Local variable 'groupLayout' could be declared final 3 42
UseExplicitTypes Use Explicit Types 3 42
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 43

view - 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
ShortVariable Avoid variables with short names like e 3 20
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
LocalVariableCouldBeFinal Local variable 'isRestartRequired' could be declared final 3 114
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 114

view - com/jsql/view/swing/panel/preferences/listener/SpinnerMouseWheelListener.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 7
ShortVariable Avoid variables with short names like e 3 9
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 9
LocalVariableCouldBeFinal Local variable 'source' could be declared final 3 10
LocalVariableCouldBeFinal Local variable 'model' could be declared final 3 11
LawOfDemeter Call to `getModel` on foreign value `source` (degree 1) 3 11
LocalVariableCouldBeFinal Local variable 'oldValue' could be declared final 3 12
LawOfDemeter Call to `getValue` on foreign value `source` (degree 1) 3 12
LocalVariableCouldBeFinal Local variable 'intValue' could be declared final 3 13
UseExplicitTypes Use Explicit Types 3 13
LocalVariableCouldBeFinal Local variable 'max' could be declared final 3 14
LawOfDemeter Call to `getMaximum` on foreign value `model` (degree 1) 3 14
LocalVariableCouldBeFinal Local variable 'min' could be declared final 3 15
LawOfDemeter Call to `getMinimum` on foreign value `model` (degree 1) 3 15

view - com/jsql/view/swing/panel/preferences/listener/TamperingMouseAdapter.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'eval' 3 13
CallSuperInConstructor It is a good practice to call super() in a constructor 3 15
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
ShortVariable Avoid variables with short names like me 3 21
ShortVariable Avoid variables with short names like e 3 28
ShortVariable Avoid variables with short names like e 3 34

view - 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
ShortVariable Avoid variables with short names like e 3 33
LocalVariableCouldBeFinal Local variable 'split' could be declared final 3 34
UseExplicitTypes Use Explicit Types 3 34

view - com/jsql/view/swing/panel/split/ActionHideShowResult.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 12
ShortVariable Avoid variables with short names like e 3 21
LocalVariableCouldBeFinal Local variable 'split' could be declared final 3 22
UseExplicitTypes Use Explicit Types 3 22

view - com/jsql/view/swing/panel/split/SplitNS.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 32
LongVariable Avoid excessively long variable names like PANEL_HIDDEN_CONSOLES 3 39
LongVariable Avoid excessively long variable names like ACTION_HIDE_SHOW_CONSOLE 3 45
LongVariable Avoid excessively long variable names like ACTION_HIDE_SHOW_RESULT 3 46
LocalVariableCouldBeFinal Local variable 'preferences' could be declared final 3 54
UseExplicitTypes Use Explicit Types 3 54
LongVariable Avoid excessively long variable names like verticalLeftRightSplitter 3 55
LocalVariableCouldBeFinal Local variable 'verticalLeftRightSplitter' could be declared final 3 55
UseExplicitTypes Use Explicit Types 3 55
LocalVariableCouldBeFinal Local variable 'tabManagersProxy' could be declared final 3 56
UseExplicitTypes Use Explicit Types 3 56
LocalVariableCouldBeFinal Local variable 'labelApp' could be declared final 3 61
LocalVariableCouldBeFinal Local variable 'labelShowConsoles' could be declared final 3 66
ShortVariable Avoid variables with short names like e 3 70
ShortVariable Avoid variables with short names like e 3 80
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 80
LongVariable Avoid excessively long variable names like panelManagerResult 3 87
LocalVariableCouldBeFinal Local variable 'panelManagerResult' could be declared final 3 87
UseExplicitTypes Use Explicit Types 3 87
ConstructorCallsOverridableMethod Overridable method called during object construction: JSplitPane.setTopComponent(Component) 1 90
LocalVariableCouldBeFinal Local variable 'panelConsoles' could be declared final 3 92
UseExplicitTypes Use Explicit Types 3 92
ConstructorCallsOverridableMethod Overridable method called during object construction: JSplitPane.setBottomComponent(Component) 1 94
ConstructorCallsOverridableMethod Overridable method called during object construction: JSplitPane.setResizeWeight(double) 1 96
CommentSize Comment is too large: Line too long 3 100
LocalVariableCouldBeFinal Local variable 'dividerLocation' could be declared final 3 104

view - com/jsql/view/swing/panel/util/ButtonExpandText.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 24
CallSuperInConstructor It is a good practice to call super() in a constructor 3 29
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
LocalVariableCouldBeFinal Local variable 'textAreaInDialog' could be declared final 3 37
LawOfDemeter Call to `getCaret` on foreign value `textAreaInDialog` (degree 1) 3 38
LongVariable Avoid excessively long variable names like dialogWithTextarea 3 40
ShortVariable Avoid variables with short names like e 3 46
ShortVariable Avoid variables with short names like e 3 53
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 53
ConstructorCallsOverridableMethod Overridable method called during object construction: Component.addMouseListener(MouseListener) 1 5967
ShortVariable Avoid variables with short names like e 3 61
MissingOverride The method 'actionPerformed(ActionEvent)' is missing an @Override annotation. 3 76
ShortVariable Avoid variables with short names like e 3 76

view - 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
ShortVariable Avoid variables with short names like e 3 17
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 17
ShortVariable Avoid variables with short names like v 3 19
LocalVariableCouldBeFinal Local variable 'v' could be declared final 3 19
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
ShortVariable Avoid variables with short names like e 3 30
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
ShortVariable Avoid variables with short names like r 3 35
LocalVariableCouldBeFinal Local variable 'pref' could be declared final 3 41
LocalVariableCouldBeFinal Local variable 'min' could be declared final 3 42
ShortVariable Avoid variables with short names like e 3 56
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
ShortVariable Avoid variables with short names like p0 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
ShortVariable Avoid variables with short names like p1 3 70
LocalVariableCouldBeFinal Local variable 'p1' could be declared final 3 70
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

view - com/jsql/view/swing/popupmenu/JPopupMenuComponent.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 34
CallSuperInConstructor It is a good practice to call super() in a constructor 3 44
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 3 44
LocalVariableCouldBeFinal Local variable 'copyItem' could be declared final 3 47
LocalVariableCouldBeFinal Local variable 'selectAllItem' could be declared final 3 53
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
LocalVariableCouldBeFinal Local variable 'clearItem' could be declared final 3 69
ShortVariable Avoid variables with short names like e 3 72
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
ShortVariable Avoid variables with short names like e 3 106
ShortVariable Avoid variables with short names like e 3 110

view - com/jsql/view/swing/popupmenu/JPopupMenuTable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 27
CallSuperInConstructor It is a good practice to call super() in a constructor 3 38
MethodArgumentCouldBeFinal Parameter 'table' is not assigned and could be declared final 3 38
LocalVariableCouldBeFinal Local variable 'copyItem' could be declared final 3 42
LocalVariableCouldBeFinal Local variable 'selectAllItem' could be declared final 3 48
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 5975
ShortVariable Avoid variables with short names like e 3 61
ShortVariable Avoid variables with short names like e 3 68
ShortVariable Avoid variables with short names like e 3 72
MethodArgumentCouldBeFinal Parameter 'tableValues' is not assigned and could be declared final 3 78
LongVariable Avoid excessively long variable names like actionShowSearchTable 3 78
MethodArgumentCouldBeFinal Parameter 'actionShowSearchTable' is not assigned and could be declared final 3 78
LocalVariableCouldBeFinal Local variable 'search' could be declared final 3 81
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
ShortVariable Avoid variables with short names like e 3 95
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
ShortVariable Avoid variables with short names like e 3 105
LocalVariableCouldBeFinal Local variable 'copyEvent' could be declared final 3 106
UseExplicitTypes Use Explicit Types 3 106

view - com/jsql/view/swing/popupmenu/JPopupMenuText.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 22
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 3 28
LocalVariableCouldBeFinal Local variable 'cutItem' could be declared final 3 32
LocalVariableCouldBeFinal Local variable 'pasteItem' could be declared final 3 38
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

view - com/jsql/view/swing/sql/JSyntaxTextArea.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 8
CallSuperInConstructor It is a good practice to call super() in a constructor 3 13
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

view - 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
FieldNamingConventions The constant name 'tabsError' doesn't match '[A-Z][A-Z_0-9]*' 1 32
LongVariable Avoid excessively long variable names like listTextareasError 3 33
FieldNamingConventions The constant name 'listTextareasError' doesn't match '[A-Z][A-Z_0-9]*' 1 33
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
LongVariable Avoid excessively long variable names like INCORRECT_STRING_ERROR_MESSAGE 3 223
LongVariable Avoid excessively long variable names like ORDER_BY_ERROR_MESSAGE 3 227
CommentDefaultAccessModifier Missing commented default access modifier on field 'textarea' 3 241
MethodArgumentCouldBeFinal Parameter 'textarea' is not assigned and could be declared final 3 247
CallSuperInConstructor It is a good practice to call super() in a constructor 3 252
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
LocalVariableCouldBeFinal Local variable 'panelStructure' could be declared final 3 258
LocalVariableCouldBeFinal Local variable 'panelFile' could be declared final 3 259
LocalVariableCouldBeFinal Local variable 'panelStrategy' could be declared final 3 260
LongVariable Avoid excessively long variable names like panelConfiguration 3 261
LocalVariableCouldBeFinal Local variable 'panelConfiguration' could be declared final 3 261
LongVariable Avoid excessively long variable names like panelFingerprinting 3 262
LocalVariableCouldBeFinal Local variable 'panelFingerprinting' could be declared final 3 262
LocalVariableCouldBeFinal Local variable 'tabsBottom' could be declared final 3 264
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 275
UseExplicitTypes Use Explicit Types 3 275
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.setLayout(LayoutManager) 1 283
LocalVariableCouldBeFinal Local variable 'panelCombo' could be declared final 3 285
ConstructorCallsOverridableMethod Overridable method called during object construction: Container.add(Component) 1 287
UseExplicitTypes Use Explicit Types 3 296
UseExplicitTypes Use Explicit Types 3 297
UseExplicitTypes Use Explicit Types 3 298
UseExplicitTypes Use Explicit Types 3 299
UseExplicitTypes Use Explicit Types 3 300
UseExplicitTypes Use Explicit Types 3 301
LocalVariableCouldBeFinal Local variable 'tabsDefault' could be declared final 3 303
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 315
UseExplicitTypes Use Explicit Types 3 315
LocalVariableCouldBeFinal Local variable 'tabsZip' could be declared final 3 320
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 331
UseExplicitTypes Use Explicit Types 3 331
LocalVariableCouldBeFinal Local variable 'tabsDios' could be declared final 3 336
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 347
UseExplicitTypes Use Explicit Types 3 347
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 3 352
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 360
UseExplicitTypes Use Explicit Types 3 360
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 3 368
LocalVariableCouldBeFinal Local variable 'tabsBoolean' could be declared final 3 374
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 406
UseExplicitTypes Use Explicit Types 3 406
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 3 414
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 426
UseExplicitTypes Use Explicit Types 3 426
LocalVariableCouldBeFinal Local variable 'tabs' could be declared final 3 434
LocalVariableCouldBeFinal Local variable 'label' could be declared final 3 443
UseExplicitTypes Use Explicit Types 3 443
LocalVariableCouldBeFinal Local variable 'panelMenuVendor' could be declared final 3 451
UseExplicitTypes Use Explicit Types 3 451
LocalVariableCouldBeFinal Local variable 'popupMenuVendors' could be declared final 3 454
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
LocalVariableCouldBeFinal Local variable 'labelVendor' could be declared final 3 457
LawOfDemeter Call to `getMediatorVendor` on foreign value `MediatorHelper.model()` (degree 1) 3 457
ShortVariable Avoid variables with short names like e 3 461
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 461
LocalVariableCouldBeFinal Local variable 'listVendors' could be declared final 3 469
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
LocalVariableCouldBeFinal Local variable 'groupVendor' could be declared final 3 472
UseExplicitTypes Use Explicit Types 3 472
LocalVariableCouldBeFinal Local variable 'itemRadioVendor' could be declared final 3 474
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 474477
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
LocalVariableCouldBeFinal Local variable 'methodError' could be declared final 3 525
LocalVariableCouldBeFinal Local variable 'panelError' could be declared final 3 526
UseExplicitTypes Use Explicit Types 3 526
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 526
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 526
LocalVariableCouldBeFinal Local variable 'textareaError' could be declared final 3 528
UseExplicitTypes Use Explicit Types 3 528
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 528
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 532
LocalVariableCouldBeFinal Local variable 'panelLimit' could be declared final 3 534
UseExplicitTypes Use Explicit Types 3 534
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

view - com/jsql/view/swing/tab/TabHeader.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
ShortVariable Avoid variables with short names like e 3 42
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 42
LocalVariableCouldBeFinal Local variable 'closeTabNumber' could be declared final 3 46
ShortVariable Avoid variables with short names like e 3 51
ShortVariable Avoid variables with short names like e 3 56
ShortVariable Avoid variables with short names like e 3 61
ShortVariable Avoid variables with short names like e 3 66

view - com/jsql/view/swing/tab/TabManagers.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 30
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 32
CallSuperInConstructor It is a good practice to call super() in a constructor 3 41
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
LocalVariableCouldBeFinal Local variable 'indexTab' could be declared final 3 46
ConstructorCallsOverridableMethod Overridable method called during object construction: JTabbedPane.addChangeListener(ChangeListener) 1 4851
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 3 49
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
LocalVariableCouldBeFinal Local variable 'icon' could be declared final 3 55
LocalVariableCouldBeFinal Local variable 'keyLabel' could be declared final 3 56
LocalVariableCouldBeFinal Local variable 'keyTooltip' could be declared final 3 57
LocalVariableCouldBeFinal Local variable 'tooltipAtomic' could be declared final 3 58
LocalVariableCouldBeFinal Local variable 'labelTab' could be declared final 3 59
ShortVariable Avoid variables with short names like e 3 70
LocalVariableCouldBeFinal Local variable 'cardLayout' could be declared final 3 71
LawOfDemeter Call to `getLayout` on foreign value `MediatorHelper.tabManagersCards()` (degree 1) 3 71

view - com/jsql/view/swing/tab/TabManagersCards.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 25
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 27
CallSuperInConstructor It is a good practice to call super() in a constructor 3 35
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
LocalVariableCouldBeFinal Local variable 'managerScanList' could be declared final 3 40
UseExplicitTypes Use Explicit Types 3 40
LocalVariableCouldBeFinal Local variable 'managerDatabase' could be declared final 3 41
UseExplicitTypes Use Explicit Types 3 41
LocalVariableCouldBeFinal Local variable 'managerAdminPage' could be declared final 3 42
UseExplicitTypes Use Explicit Types 3 42
LocalVariableCouldBeFinal Local variable 'managerBruteForce' could be declared final 3 43
UseExplicitTypes Use Explicit Types 3 43
LocalVariableCouldBeFinal Local variable 'managers' could be declared final 3 51
UseExplicitTypes Use Explicit Types 3 51
ShortVariable Avoid variables with short names like i 3 55
LocalVariableCouldBeFinal Local variable 'i' could be declared final 3 55
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

view - com/jsql/view/swing/tab/TabResults.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 11400
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 52
LongVariable Avoid excessively long variable names like TAB_EXPLOIT_FAILURE_INCORRECT_URL 3 56
CallSuperInConstructor It is a good practice to call super() in a constructor 3 66
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
LocalVariableCouldBeFinal Local variable 'fileText' could be declared final 3 79
MethodArgumentCouldBeFinal Parameter 'content' is not assigned and could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'editorPane' could be declared final 3 88
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
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 3 121
UseExplicitTypes Use Explicit Types 3 121
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 125
UseExplicitTypes Use Explicit Types 3 125
MethodArgumentCouldBeFinal Parameter 'url' is not assigned and could be declared final 3 131
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 3 133
UseExplicitTypes Use Explicit Types 3 133
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 3 134
UseExplicitTypes Use Explicit Types 3 134
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
LongVariable Avoid excessively long variable names like panelTerminalWithReverse 3 143
LocalVariableCouldBeFinal Local variable 'panelTerminalWithReverse' could be declared final 3 143
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 147
UseExplicitTypes Use Explicit Types 3 147
MethodArgumentCouldBeFinal Parameter 'port' is not assigned and could be declared final 3 157
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 3 159
UseExplicitTypes Use Explicit Types 3 159
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 3 160
UseExplicitTypes Use Explicit Types 3 160
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 3 164
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 168
UseExplicitTypes Use Explicit Types 3 168
MethodArgumentCouldBeFinal Parameter 'biConsumerRunCmd' is not assigned and could be declared final 3 178
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 3 180
UseExplicitTypes Use Explicit Types 3 180
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 3 181
UseExplicitTypes Use Explicit Types 3 181
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
LongVariable Avoid excessively long variable names like panelTerminalWithReverse 3 189
LocalVariableCouldBeFinal Local variable 'panelTerminalWithReverse' could be declared final 3 189
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 193
UseExplicitTypes Use Explicit Types 3 193
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
LocalVariableCouldBeFinal Local variable 'terminalID' could be declared final 3 205
UseExplicitTypes Use Explicit Types 3 205
LocalVariableCouldBeFinal Local variable 'terminal' could be declared final 3 206
UseExplicitTypes Use Explicit Types 3 206
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
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 3 216
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 220
UseExplicitTypes Use Explicit Types 3 220
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
LocalVariableCouldBeFinal Local variable 'panelTable' could be declared final 3 231
UseExplicitTypes Use Explicit Types 3 231
LocalVariableCouldBeFinal Local variable 'header' could be declared final 3 238
UseExplicitTypes Use Explicit Types 3 238
MethodArgumentCouldBeFinal Parameter 'terminal' is not assigned and could be declared final 3 244
LongVariable Avoid excessively long variable names like panelTerminalWithReverse 3 245
LocalVariableCouldBeFinal Local variable 'panelTerminalWithReverse' could be declared final 3 245
LocalVariableCouldBeFinal Local variable 'overlay' could be declared final 3 251
LongVariable Avoid excessively long variable names like panelReverseMargin 3 254
LocalVariableCouldBeFinal Local variable 'panelReverseMargin' could be declared final 3 254
UseExplicitTypes Use Explicit Types 3 254
LocalVariableCouldBeFinal Local variable 'menuReverse' could be declared final 3 259
UseExplicitTypes Use Explicit Types 3 259
ShortVariable Avoid variables with short names like e 3 262
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 262
LocalVariableCouldBeFinal Local variable 'popupMenu' could be declared final 3 263
UseExplicitTypes Use Explicit Types 3 263
LocalVariableCouldBeFinal Local variable 'scrollerTerminal' could be declared final 3 270
MethodArgumentCouldBeFinal Parameter 'terminal' is not assigned and could be declared final 3 282
LocalVariableCouldBeFinal Local variable 'menuReverse' could be declared final 3 283
LocalVariableCouldBeFinal Local variable 'menuListen' could be declared final 3 285
UseExplicitTypes Use Explicit Types 3 285
LongVariable Avoid excessively long variable names like panelPublicAddress 3 291
LocalVariableCouldBeFinal Local variable 'panelPublicAddress' could be declared final 3 291
UseExplicitTypes Use Explicit Types 3 291
LocalVariableCouldBeFinal Local variable 'address' could be declared final 3 295
UseExplicitTypes Use Explicit Types 3 295
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 295
LocalVariableCouldBeFinal Local variable 'port' could be declared final 3 297
UseExplicitTypes Use Explicit Types 3 297
LongVariable Avoid excessively long variable names like panelServerConnection 3 300
LocalVariableCouldBeFinal Local variable 'panelServerConnection' could be declared final 3 300
UseExplicitTypes Use Explicit Types 3 300
LocalVariableCouldBeFinal Local variable 'buttonGroup' could be declared final 3 304
UseExplicitTypes Use Explicit Types 3 304
LocalVariableCouldBeFinal Local variable 'commandsReverse' could be declared final 3 305
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 305
LocalVariableCouldBeFinal Local variable 'radio' could be declared final 3 307
UseExplicitTypes Use Explicit Types 3 307
LocalVariableCouldBeFinal Local variable 'runnableReverse' could be declared final 3 314
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
LocalVariableCouldBeFinal Local variable 'panelOpenIn' could be declared final 3 332
UseExplicitTypes Use Explicit Types 3 332
LocalVariableCouldBeFinal Local variable 'menuBuiltInShell' could be declared final 3 337
UseExplicitTypes Use Explicit Types 3 337
LocalVariableCouldBeFinal Local variable 'menuExternalShell' could be declared final 3 338
UseExplicitTypes Use Explicit Types 3 338
LocalVariableCouldBeFinal Local variable 'buttonTypeShell' could be declared final 3 339
UseExplicitTypes Use Explicit Types 3 339
LocalVariableCouldBeFinal Local variable 'panelCreate' could be declared final 3 345
UseExplicitTypes Use Explicit Types 3 345
ShortVariable Avoid variables with short names like e 3 348
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 352
LocalVariableCouldBeFinal Local variable 'menuConnect' could be declared final 3 358
UseExplicitTypes Use Explicit Types 3 358
LongVariable Avoid excessively long variable names like panelServerPublicAddress 3 364
LocalVariableCouldBeFinal Local variable 'panelServerPublicAddress' could be declared final 3 364
UseExplicitTypes Use Explicit Types 3 364
LongVariable Avoid excessively long variable names like panelServerListeningConnection 3 372
LocalVariableCouldBeFinal Local variable 'panelServerListeningConnection' could be declared final 3 372
UseExplicitTypes Use Explicit Types 3 372
LongVariable Avoid excessively long variable names like buttonGroupListening 3 375
LocalVariableCouldBeFinal Local variable 'buttonGroupListening' could be declared final 3 375
UseExplicitTypes Use Explicit Types 3 375
LocalVariableCouldBeFinal Local variable 'radio' could be declared final 3 377
UseExplicitTypes Use Explicit Types 3 377
MethodArgumentCouldBeFinal Parameter 'evt' is not assigned and could be declared final 3 379

view - 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
LocalVariableCouldBeFinal Local variable 'tabPane' could be declared final 3 21
LocalVariableCouldBeFinal Local variable 'dir' could be declared final 3 23
LocalVariableCouldBeFinal Local variable 'maxIndex' could be declared final 3 25
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 38

view - com/jsql/view/swing/tab/TabbedPaneWheeled.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'tabIndex' could be declared final 3 45
LocalVariableCouldBeFinal Local variable 'tabHeader' could be declared final 3 51
UseExplicitTypes Use Explicit Types 3 51

view - 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

view - com/jsql/view/swing/tab/dnd/DnDTabbedPane.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
ShortVariable Avoid variables with short names like p 3 36
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
LongVariable Avoid excessively long variable names like scrollForwardButton 3 55
LongVariable Avoid excessively long variable names like scrollBackwardButton 3 56
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 58
LocalVariableCouldBeFinal Local variable 'button' could be declared final 3 68
ShortVariable Avoid variables with short names like pt 3 74
MethodArgumentCouldBeFinal Parameter 'pt' is not assigned and could be declared final 3 74
ShortVariable Avoid variables with short names like r 3 75
LocalVariableCouldBeFinal Local variable 'r' could be declared final 3 75
ShortVariable Avoid variables with short names like h 3 95
LocalVariableCouldBeFinal Local variable 'h' could be declared final 3 95
UseExplicitTypes Use Explicit Types 3 95
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
ShortVariable Avoid variables with short names like p 3 101
MethodArgumentCouldBeFinal Parameter 'p' is not assigned and could be declared final 3 101
UseExplicitTypes Use Explicit Types 3 102
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
LocalVariableCouldBeFinal Local variable 'old' could be declared final 3 116
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
LocalVariableCouldBeFinal Local variable 'cmp' could be declared final 3 128
UseExplicitTypes Use Explicit Types 3 128
LocalVariableCouldBeFinal Local variable 'tab' could be declared final 3 129
UseExplicitTypes Use Explicit Types 3 129
LocalVariableCouldBeFinal Local variable 'title' could be declared final 3 130
LocalVariableCouldBeFinal Local variable 'icon' could be declared final 3 131
UseExplicitTypes Use Explicit Types 3 131
LocalVariableCouldBeFinal Local variable 'tip' could be declared final 3 132
LocalVariableCouldBeFinal Local variable 'isEnabled' could be declared final 3 133
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
LocalVariableCouldBeFinal Local variable 'cmp' could be declared final 3 148
UseExplicitTypes Use Explicit Types 3 148
LocalVariableCouldBeFinal Local variable 'tab' could be declared final 3 149
UseExplicitTypes Use Explicit Types 3 149
LocalVariableCouldBeFinal Local variable 'title' could be declared final 3 150
LocalVariableCouldBeFinal Local variable 'icon' could be declared final 3 151
UseExplicitTypes Use Explicit Types 3 151
LocalVariableCouldBeFinal Local variable 'tip' could be declared final 3 152
LocalVariableCouldBeFinal Local variable 'isEnabled' could be declared final 3 153
LocalVariableCouldBeFinal Local variable 'tgtindex' could be declared final 3 154
CommentSize Comment is too large: Line too long 3 166
LocalVariableCouldBeFinal Local variable 'index' could be declared final 3 172
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 179
ShortVariable Avoid variables with short names like a 3 182
LocalVariableCouldBeFinal Local variable 'a' could be declared final 3 182
ShortVariable Avoid variables with short names like r 3 183
LocalVariableCouldBeFinal Local variable 'r' could be declared final 3 183
LocalVariableCouldBeFinal Local variable 'tabbedRect' could be declared final 3 195
ShortVariable Avoid variables with short names like xx 3 196
LocalVariableCouldBeFinal Local variable 'xx' could be declared final 3 196
ShortVariable Avoid variables with short names like yy 3 197
LocalVariableCouldBeFinal Local variable 'yy' could be declared final 3 197
LocalVariableCouldBeFinal Local variable 'compRect' could be declared final 3 199
LocalVariableCouldBeFinal Local variable 'tabPlacement' could be declared final 3 203
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
LongVariable Avoid excessively long variable names like gestureMotionThreshold 3 228
ShortVariable Avoid variables with short names like c 3 231
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 231
LocalVariableCouldBeFinal Local variable 'glassPane' could be declared final 3 233
ShortVariable Avoid variables with short names like e 3 241
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 241
LocalVariableCouldBeFinal Local variable 'propertyName' could be declared final 3 242
AvoidLiteralsInIfCondition Avoid using literals such as "dropLocation" in if statements 3 243
ShortVariable Avoid variables with short names like e 3 250
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 250
LocalVariableCouldBeFinal Local variable 'src' could be declared final 3 251
LocalVariableCouldBeFinal Local variable 'isOnlyOneTab' could be declared final 3 252
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
LocalVariableCouldBeFinal Local variable 'tabPt' could be declared final 3 258
UseExplicitTypes Use Explicit Types 3 258
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 3 259
LocalVariableCouldBeFinal Local variable 'flag' could be declared final 3 270
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 272
ShortVariable Avoid variables with short names like e 3 276
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 276
LocalVariableCouldBeFinal Local variable 'tabPt' could be declared final 3 277
UseExplicitTypes Use Explicit Types 3 277
LocalVariableCouldBeFinal Local variable 'src' could be declared final 3 279
ShortVariable Avoid variables with short names like th 3 280
LocalVariableCouldBeFinal Local variable 'th' could be declared final 3 280
UseExplicitTypes Use Explicit Types 3 280
CommentSize Comment is too large: Line too long 3 283
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 290
ShortVariable Avoid variables with short names like e 3 295
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 295
LocalVariableCouldBeFinal Local variable 'tabPt' could be declared final 3 296
UseExplicitTypes Use Explicit Types 3 296
LocalVariableCouldBeFinal Local variable 'src' could be declared final 3 297
ShortVariable Avoid variables with short names like i 3 299
LocalVariableCouldBeFinal Local variable 'i' could be declared final 3 299

view - com/jsql/view/swing/tab/dnd/GhostGlassPane.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 6
CallSuperInConstructor It is a good practice to call super() in a constructor 3 10
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
ShortVariable Avoid variables with short names like g 3 16
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 3 16
ShortVariable Avoid variables with short names like g2 3 18
LocalVariableCouldBeFinal Local variable 'g2' could be declared final 3 18
ShortVariable Avoid variables with short names like r 3 19
LocalVariableCouldBeFinal Local variable 'r' could be declared final 3 19
UseExplicitTypes Use Explicit Types 3 19
MethodArgumentCouldBeFinal Parameter 'tab' is not assigned and could be declared final 3 27

view - com/jsql/view/swing/tab/dnd/TabTransferHandler.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 18
CallSuperInConstructor It is a good practice to call super() in a constructor 3 26
ShortVariable Avoid variables with short names like c 3 31
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
LocalVariableCouldBeFinal Local variable 'tdl' could be declared final 3 63
UseExplicitTypes Use Explicit Types 3 63
LawOfDemeter Call to `getDropLocation` on foreign value `support` (degree 1) 3 63
ShortVariable Avoid variables with short names like pt 3 64
LocalVariableCouldBeFinal Local variable 'pt' could be declared final 3 64
UseExplicitTypes Use Explicit Types 3 64
LocalVariableCouldBeFinal Local variable 'target' could be declared final 3 66
LawOfDemeter Call to `getComponent` on foreign value `support` (degree 1) 3 66
ShortVariable Avoid variables with short names like dl 3 69
LocalVariableCouldBeFinal Local variable 'dl' could be declared final 3 69
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 3 70
UseExplicitTypes Use Explicit Types 3 72
UnusedAssignment The initializer for variable 'isDroppable' is never used (overwritten on lines 76 and 78) 3 72
LocalVariableCouldBeFinal Local variable 'isAreaContains' could be declared final 3 73
CommentSize Comment is too large: Line too long 3 81
LocalVariableCouldBeFinal Local variable 'cursor' could be declared final 3 83
LocalVariableCouldBeFinal Local variable 'glassPane' could be declared final 3 84
MethodArgumentCouldBeFinal Parameter 'tabbedPane' is not assigned and could be declared final 3 94
LocalVariableCouldBeFinal Local variable 'rect' could be declared final 3 95
LocalVariableCouldBeFinal Local variable 'image' could be declared final 3 96
UseExplicitTypes Use Explicit Types 3 96
ShortVariable Avoid variables with short names like g2 3 97
LocalVariableCouldBeFinal Local variable 'g2' could be declared final 3 97
ShortVariable Avoid variables with short names like c 3 118
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 118
LocalVariableCouldBeFinal Local variable 'src' could be declared final 3 120
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
LocalVariableCouldBeFinal Local variable 'target' could be declared final 3 141
LawOfDemeter Call to `getComponent` on foreign value `support` (degree 1) 3 141
ShortVariable Avoid variables with short names like dl 3 142
LocalVariableCouldBeFinal Local variable 'dl' could be declared final 3 142
LawOfDemeter Call to `getDropLocation` on foreign value `target` (degree 1) 3 142
LocalVariableCouldBeFinal Local variable 'data' could be declared final 3 145
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
LocalVariableCouldBeFinal Local variable 'src' could be declared final 3 146
LocalVariableCouldBeFinal Local variable 'index' could be declared final 3 147
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
ShortVariable Avoid variables with short names like c 3 163
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 163
LocalVariableCouldBeFinal Local variable 'src' could be declared final 3 164

view - com/jsql/view/swing/table/ActionCloseSearch.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 6
CallSuperInConstructor It is a good practice to call super() in a constructor 3 12
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
ShortVariable Avoid variables with short names like e 3 20

view - com/jsql/view/swing/table/ActionShowSearch.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 6
CallSuperInConstructor It is a good practice to call super() in a constructor 3 11
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
ShortVariable Avoid variables with short names like e 3 18

view - com/jsql/view/swing/table/AdjusterTableColumn.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 2134
TooManyMethods This class has too many methods, consider refactoring it. 3 35370
LongVariable Avoid excessively long variable names like isColumnHeaderIncluded 3 41
LongVariable Avoid excessively long variable names like isColumnDataIncluded 3 42
LongVariable Avoid excessively long variable names like isOnlyAdjustLarger 3 43
LongVariable Avoid excessively long variable names like isDynamicAdjustment 3 44
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
LocalVariableCouldBeFinal Local variable 'tcm' could be declared final 3 71
LawOfDemeter Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) 3 71
UseExplicitTypes Use Explicit Types 3 72
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 3 81
UseExplicitTypes Use Explicit Types 3 81
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
LocalVariableCouldBeFinal Local variable 'columnHeaderWidth' could be declared final 3 86
LocalVariableCouldBeFinal Local variable 'columnDataWidth' could be declared final 3 87
LocalVariableCouldBeFinal Local variable 'preferredWidth' could be declared final 3 88
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
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 3 100
UseExplicitTypes Use Explicit Types 3 100
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
LocalVariableCouldBeFinal Local variable 'value' could be declared final 3 101
LawOfDemeter Call to `getDefaultRenderer` on foreign value `this.tableAdjust.getTableHeader()` (degree 1) 3 104
ShortVariable Avoid variables with short names like c 3 107
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 107
UseExplicitTypes Use Explicit Types 3 107
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
UseExplicitTypes Use Explicit Types 3 120
LocalVariableCouldBeFinal Local variable 'maxWidth' could be declared final 3 121
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
UseExplicitTypes Use Explicit Types 3 123
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
LocalVariableCouldBeFinal Local variable 'cellRenderer' could be declared final 3 138
ShortVariable Avoid variables with short names like c 3 139
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 139
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
UseExplicitTypes Use Explicit Types 3 152
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
LocalVariableCouldBeFinal Local variable 'tableColumnModel' could be declared final 3 173
LawOfDemeter Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) 3 173
UseExplicitTypes Use Explicit Types 3 174
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 3 182
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 3 183
UseExplicitTypes Use Explicit Types 3 183
LawOfDemeter Call to `getColumnModel` on foreign value `this.tableAdjust` (degree 1) 3 183
LocalVariableCouldBeFinal Local variable 'width' could be declared final 3 184
LawOfDemeter Call to `setWidth` on foreign value `tableColumn` (degree 2) 3 187
LongVariable Avoid excessively long variable names like isColumnHeaderIncluded 3 194
MethodArgumentCouldBeFinal Parameter 'isColumnHeaderIncluded' is not assigned and could be declared final 3 194
LongVariable Avoid excessively long variable names like isColumnDataIncluded 3 201
MethodArgumentCouldBeFinal Parameter 'isColumnDataIncluded' is not assigned and could be declared final 3 201
LongVariable Avoid excessively long variable names like isOnlyAdjustLarger 3 208
MethodArgumentCouldBeFinal Parameter 'isOnlyAdjustLarger' is not assigned and could be declared final 3 208
LongVariable Avoid excessively long variable names like isDynamicAdjustment 3 216
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
ShortVariable Avoid variables with short names like e 3 234
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
ShortVariable Avoid variables with short names like e 3 251
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 251
LocalVariableCouldBeFinal Local variable 'column' could be declared final 3 258
LocalVariableCouldBeFinal Local variable 'row' could be declared final 3 262
LocalVariableCouldBeFinal Local variable 'tableColumn' could be declared final 3 263
UseExplicitTypes Use Explicit Types 3 263
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
LocalVariableCouldBeFinal Local variable 'width' could be declared final 3 265
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
LocalVariableCouldBeFinal Local variable 'action' could be declared final 3 293
ShortVariable Avoid variables with short names like ks 3 294
LocalVariableCouldBeFinal Local variable 'ks' could be declared final 3 294
UseExplicitTypes Use Explicit Types 3 294
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
LocalVariableCouldBeFinal Local variable 'action' could be declared final 3 304
ShortVariable Avoid variables with short names like ks 3 305
LocalVariableCouldBeFinal Local variable 'ks' could be declared final 3 305
UseExplicitTypes Use Explicit Types 3 305
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 314
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'ColumnAction' 3 314
CallSuperInConstructor It is a good practice to call super() in a constructor 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
ShortVariable Avoid variables with short names like e 3 325
LocalVariableCouldBeFinal Local variable 'columns' could be declared final 3 328
LocalVariableCouldBeFinal Local variable 'column' could be declared final 3 330
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 351
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'ToggleAction' 3 351
CallSuperInConstructor It is a good practice to call super() in a constructor 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
ShortVariable Avoid variables with short names like e 3 362

view - 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

view - com/jsql/view/swing/table/ComparatorColumn.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 16
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
UseExplicitTypes Use Explicit Types 3 27
UseExplicitTypes Use Explicit Types 3 28
LocalVariableCouldBeFinal Local variable 'valueCellLeft' could be declared final 3 30
LocalVariableCouldBeFinal Local variable 'valueCellRight' could be declared final 3 31
LocalVariableCouldBeFinal Local variable 'sortOrder' could be declared final 3 44

view - com/jsql/view/swing/table/FixedColumnTable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 1226
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
LocalVariableCouldBeFinal Local variable 'columnClass' could be declared final 3 72
LocalVariableCouldBeFinal Local variable 'columnModel' could be declared final 3 91
LawOfDemeter Call to `getColumnModel` on foreign value `this.mainTable` (degree 1) 3 91
UseExplicitTypes Use Explicit Types 3 92
LocalVariableCouldBeFinal Local variable 'column' could be declared final 3 93
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
UseExplicitTypes Use Explicit Types 3 109
LawOfDemeter Call to `getSelectionModel` on foreign value `this.mainTable` (degree 1) 3 115
LongVariable Avoid excessively long variable names like listSelectionEvent 3 115
UseExplicitTypes Use Explicit Types 3 120
ShortVariable Avoid variables with short names like e 3 138
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 138
LocalVariableCouldBeFinal Local variable 'viewport' could be declared final 3 140
ShortVariable Avoid variables with short names like e 3 148
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

view - com/jsql/view/swing/table/PanelTable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'columnAdjuster' could be declared final 3 77
UseExplicitTypes Use Explicit Types 3 77
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
LocalVariableCouldBeFinal Local variable 'comparatorNumeric' could be declared final 3 85
UseExplicitTypes Use Explicit Types 3 86
ShortVariable Avoid variables with short names like e 3 95
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 95
ShortVariable Avoid variables with short names like p 3 100
LocalVariableCouldBeFinal Local variable 'p' could be declared final 3 100
UseExplicitTypes Use Explicit Types 3 100
LocalVariableCouldBeFinal Local variable 'rowNumber' could be declared final 3 101
UseExplicitTypes Use Explicit Types 3 101
LocalVariableCouldBeFinal Local variable 'colNumber' could be declared final 3 102
UseExplicitTypes Use Explicit Types 3 102
LocalVariableCouldBeFinal Local variable 'modelRow' could be declared final 3 103
LawOfDemeter Call to `getSelectionModel` on foreign value `PanelTable.this.tableValues` (degree 1) 3 103
LocalVariableCouldBeFinal Local variable 'modelColumn' could be declared final 3 104
LawOfDemeter Call to `getColumnModel` on foreign value `PanelTable.this.tableValues` (degree 1) 3 104
LongVariable Avoid excessively long variable names like cellRendererHeader 3 113
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 115122
LongVariable Avoid excessively long variable names like cellRendererDefault 3 125
UseExplicitTypes Use Explicit Types 3 125
LocalVariableCouldBeFinal Local variable 'cellValue' could be declared final 3 130
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 137
LocalVariableCouldBeFinal Local variable 'scroller' could be declared final 3 146
UseExplicitTypes Use Explicit Types 3 146
LocalVariableCouldBeFinal Local variable 'tableFixedColumn' could be declared final 3 147
UseExplicitTypes Use Explicit Types 3 147
UseExplicitTypes Use Explicit Types 3 153
LongVariable Avoid excessively long variable names like actionShowSearchTable 3 158
LocalVariableCouldBeFinal Local variable 'actionShowSearchTable' could be declared final 3 158
LocalVariableCouldBeFinal Local variable 'keySearch' could be declared final 3 159
LocalVariableCouldBeFinal Local variable 'actionCloseSearch' could be declared final 3 163
LocalVariableCouldBeFinal Local variable 'keyClose' could be declared final 3 164
LawOfDemeter Call to `getDocument` on foreign value `textFilter` (degree 1) 3 169
LocalVariableCouldBeFinal Local variable 'text' could be declared final 3 171
InefficientEmptyStringCheck String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. 3 172
ShortVariable Avoid variables with short names like e 3 179
ShortVariable Avoid variables with short names like e 3 183
ShortVariable Avoid variables with short names like e 3 187
LocalVariableCouldBeFinal Local variable 'buttonCloseSearch' could be declared final 3 194
LocalVariableCouldBeFinal Local variable 'forward' could be declared final 3 211
LocalVariableCouldBeFinal Local variable 'backward' could be declared final 3 217
LocalVariableCouldBeFinal Local variable 'actionEvent' could be declared final 3 235
UseExplicitTypes Use Explicit Types 3 235

view - com/jsql/view/swing/table/RowHeaderRenderer.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 7
CallSuperInConstructor It is a good practice to call super() in a constructor 3 9
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

view - com/jsql/view/swing/terminal/AbstractExploit.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 38
RedundantFieldInitializer Avoid using redundant field initializer for 'loginPassword' 3 55
CommentSize Comment is too large: Line too long 3 76
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
CallSuperInConstructor It is a good practice to call super() in a constructor 3 83
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
LocalVariableCouldBeFinal Local variable 'url' could be declared final 3 88
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
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 3 146
UseExplicitTypes Use Explicit Types 3 146
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
ShortVariable Avoid variables with short names like l 3 200
MethodArgumentCouldBeFinal Parameter 'offset' is not assigned and could be declared final 3 209
LocalVariableCouldBeFinal Local variable 'errorMsg' could be declared final 3 210
UseExplicitTypes Use Explicit Types 3 210
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 3 211
UseExplicitTypes Use Explicit Types 3 211
LocalVariableCouldBeFinal Local variable 'map' could be declared final 3 218
UseExplicitTypes Use Explicit Types 3 218
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
LocalVariableCouldBeFinal Local variable 'map' could be declared final 3 229
UseExplicitTypes Use Explicit Types 3 229
LawOfDemeter Call to `getDefaultRootElement` on foreign value `this.getDocument()` (degree 1) 3 229
LocalVariableCouldBeFinal Local variable 'lineElem' could be declared final 3 236
UseExplicitTypes Use Explicit Types 3 236
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

view - com/jsql/view/swing/terminal/EmptyFocusCopy.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'abstractExploit' is not assigned and could be declared final 3 24
ShortVariable Avoid variables with short names like e 3 29
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
LocalVariableCouldBeFinal Local variable 'data' could be declared final 3 40
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
ShortVariable Avoid variables with short names like e 3 48
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 48
ShortVariable Avoid variables with short names like e 3 53
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 53
ShortVariable Avoid variables with short names like e 3 58
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 58
ShortVariable Avoid variables with short names like e 3 63
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 63

view - com/jsql/view/swing/terminal/ExploitReverseShell.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 24
CommentSize Comment is too large: Line too long 3 32
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

view - com/jsql/view/swing/terminal/ServerInput.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for 'serverSocket' 3 9
LongVariable Avoid excessively long variable names like serverInputConnection 3 11
LongVariable Avoid excessively long variable names like exploitReverseShell 3 12
LongVariable Avoid excessively long variable names like exploitReverseShell 3 14
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
LocalVariableCouldBeFinal Local variable 'clientSocket' could be declared final 3 22
CommentDefaultAccessModifier Missing commented default access modifier on method 'close()' 3 27

view - com/jsql/view/swing/terminal/ServerInputConnection.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like exploitReverseShell 3 21
LongVariable Avoid excessively long variable names like exploitReverseShell 3 25
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
LocalVariableCouldBeFinal Local variable 'readerThread' could be declared final 3 36
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
LongVariable Avoid excessively long variable names like commandWithoutPrompt 3 62
LocalVariableCouldBeFinal Local variable 'commandWithoutPrompt' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 63
LocalVariableCouldBeFinal Local variable 'length' could be declared final 3 69
LocalVariableCouldBeFinal Local variable 'buffer' could be declared final 3 70
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7480
LocalVariableCouldBeFinal Local variable 'result' could be declared final 3 75
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 75
MethodArgumentCouldBeFinal Parameter 'command' is not assigned and could be declared final 3 94

view - com/jsql/view/swing/terminal/util/BlockCaret.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 25
CallSuperInConstructor It is a good practice to call super() in a constructor 3 32
ConstructorCallsOverridableMethod Overridable method called during object construction: DefaultCaret.setBlinkRate(int) 1 33
AvoidSynchronizedAtMethodLevel Use block level locking rather than method level synchronization 3 37
ShortVariable Avoid variables with short names like r 3 37
MethodArgumentCouldBeFinal Parameter 'r' is not assigned and could be declared final 3 37
ShortVariable Avoid variables with short names like g 3 64
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'comp' 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 67
LocalVariableCouldBeFinal Local variable 'dot' could be declared final 3 70
ShortVariable Avoid variables with short names like r 3 71
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

view - com/jsql/view/swing/terminal/util/KeyAdapterTerminal.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
LongVariable Avoid excessively long variable names like indexCommandsHistory 3 49
RedundantFieldInitializer Avoid using redundant field initializer for 'indexCommandsHistory' 3 49
CallSuperInConstructor It is a good practice to call super() in a constructor 3 55
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
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 62
UseExplicitTypes Use Explicit Types 3 62
LawOfDemeter Call to `getDocument` on foreign value `this.terminal` (degree 1) 3 62
LocalVariableCouldBeFinal Local variable 'caretPosition' could be declared final 3 63
LocalVariableCouldBeFinal Local variable 'lineNumber' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'command' could be declared final 3 72
UseExplicitTypes Use Explicit Types 3 72
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
LocalVariableCouldBeFinal Local variable 'newCaretPosition' could be declared final 3 126
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
LocalVariableCouldBeFinal Local variable 'terminalCommand' could be declared final 3 203
LawOfDemeter Call to `getDocument` on foreign value `terminalCommand` (degree 1) 3 207

view - com/jsql/view/swing/text/DecoratorJComponent.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110

view - com/jsql/view/swing/text/JPasswordFieldPlaceholder.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 14
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 3 27
ShortVariable Avoid variables with short names like g 3 32
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 3 32
CommentSize Comment is too large: Line too long 3 35
ShortVariable Avoid variables with short names like h 3 39
LocalVariableCouldBeFinal Local variable 'h' could be declared final 3 39
ShortVariable Avoid variables with short names like fm 3 40
LocalVariableCouldBeFinal Local variable 'fm' could be declared final 3 40
UseExplicitTypes Use Explicit Types 3 40
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

view - 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

view - com/jsql/view/swing/text/JPopupComponent.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 24
CallSuperInConstructor It is a good practice to call super() in a constructor 3 35
ShortVariable Avoid variables with short names like e 3 40
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 40

view - com/jsql/view/swing/text/JPopupTextArea.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/text/JPopupTextComponent.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'undoRedoManager' could be declared final 3 45
UseExplicitTypes Use Explicit Types 3 45
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 3 46
UseExplicitTypes Use Explicit Types 3 46
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
UseExplicitTypes Use Explicit Types 3 57
UseExplicitTypes Use Explicit Types 3 78
LocalVariableCouldBeFinal Local variable 'actionMap' could be declared final 3 98
UseExplicitTypes Use Explicit Types 3 98

view - com/jsql/view/swing/text/JPopupTextField.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/text/JPopupTextPane.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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

view - com/jsql/view/swing/text/JTextAreaPlaceholder.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 15
CallSuperInConstructor It is a good practice to call super() in a constructor 3 28
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 3 28
ShortVariable Avoid variables with short names like g 3 34
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

view - 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

view - 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
CallSuperInConstructor It is a good practice to call super() in a constructor 3 38
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
ShortVariable Avoid variables with short names like g 3 48
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 3 48
CommentSize Comment is too large: Line too long 3 49
ShortVariable Avoid variables with short names like h 3 57
LocalVariableCouldBeFinal Local variable 'h' could be declared final 3 57
ShortVariable Avoid variables with short names like fm 3 58
LocalVariableCouldBeFinal Local variable 'fm' could be declared final 3 58
UseExplicitTypes Use Explicit Types 3 58
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

view - com/jsql/view/swing/text/JTextPanePlaceholder.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 17
CallSuperInConstructor It is a good practice to call super() in a constructor 3 30
MethodArgumentCouldBeFinal Parameter 'placeholder' is not assigned and could be declared final 3 30
ShortVariable Avoid variables with short names like g 3 36
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

view - 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

view - com/jsql/view/swing/text/JToolTipI18n.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 9
CallSuperInConstructor It is a good practice to call super() in a constructor 3 13
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

view - com/jsql/view/swing/text/SyntaxTextArea.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 17
CallSuperInConstructor It is a good practice to call super() in a constructor 3 27
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 3238
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
ShortVariable Avoid variables with short names like g 3 46
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

view - 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
LocalVariableCouldBeFinal Local variable 'target' could be declared final 3 36
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 3 43
UseExplicitTypes Use Explicit Types 3 43
LocalVariableCouldBeFinal Local variable 'caret' could be declared final 3 44
UseExplicitTypes Use Explicit Types 3 44
LawOfDemeter Call to `getCaret` on foreign value `target` (degree 1) 3 44
LocalVariableCouldBeFinal Local variable 'dot' could be declared final 3 45
LocalVariableCouldBeFinal Local variable 'mark' could be declared final 3 46
ConfusingTernary Avoid if (x != y) ..; else ..; 3 4852
LawOfDemeter Call to `remove` on foreign value `doc` (degree 2) 3 49

view - 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
UseExplicitTypes Use Explicit Types 3 24
LocalVariableCouldBeFinal Local variable 'dotChars' could be declared final 3 28
ShortVariable Avoid variables with short names like c0 3 29
LocalVariableCouldBeFinal Local variable 'c0' could be declared final 3 29
UseExplicitTypes Use Explicit Types 3 29
ShortVariable Avoid variables with short names like c1 3 30
LocalVariableCouldBeFinal Local variable 'c1' could be declared final 3 30
UseExplicitTypes Use Explicit Types 3 30
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 3234

view - 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
UseExplicitTypes Use Explicit Types 3 24
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 26
LocalVariableCouldBeFinal Local variable 'dotChars' could be declared final 3 28
ShortVariable Avoid variables with short names like c0 3 29
LocalVariableCouldBeFinal Local variable 'c0' could be declared final 3 29
UseExplicitTypes Use Explicit Types 3 29
ShortVariable Avoid variables with short names like c1 3 30
LocalVariableCouldBeFinal Local variable 'c1' could be declared final 3 30
UseExplicitTypes Use Explicit Types 3 30
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 3234

view - 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
ShortVariable Avoid variables with short names like e 3 25
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 25
LocalVariableCouldBeFinal Local variable 'target' could be declared final 3 27
LocalVariableCouldBeFinal Local variable 'caret' could be declared final 3 31
UseExplicitTypes Use Explicit Types 3 31
LawOfDemeter Call to `getCaret` on foreign value `target` (degree 1) 3 31
LocalVariableCouldBeFinal Local variable 'dot' could be declared final 3 32
LocalVariableCouldBeFinal Local variable 'mark' could be declared final 3 33
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 38
LocalVariableCouldBeFinal Local variable 'doc' could be declared final 3 43
UseExplicitTypes Use Explicit Types 3 43
LawOfDemeter Call to `getDocument` on foreign value `target` (degree 1) 3 43

view - com/jsql/view/swing/text/listener/DocumentListenerEditing.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 11
ShortVariable Avoid variables with short names like e 3 16
ShortVariable Avoid variables with short names like e 3 21
ShortVariable Avoid variables with short names like e 3 26

view - com/jsql/view/swing/tree/CellEditorNode.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 33
LongVariable Avoid excessively long variable names like defaultTreeRenderer 3 40
CallSuperInConstructor It is a good practice to call super() in a constructor 3 51
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
LocalVariableCouldBeFinal Local variable 'componentRenderer' could be declared final 3 66
UseExplicitTypes Use Explicit Types 3 66
LocalVariableCouldBeFinal Local variable 'currentNodeModel' could be declared final 3 71
UseExplicitTypes Use Explicit Types 3 71
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
LongVariable Avoid excessively long variable names like treeSelectionEvent 3 91
LocalVariableCouldBeFinal Local variable 'node' could be declared final 3 92
LawOfDemeter Call to `getLastSelectedPathComponent` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 3 92
LocalVariableCouldBeFinal Local variable 'dataModel' could be declared final 3 98
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
LocalVariableCouldBeFinal Local variable 'tree' could be declared final 3 114
LocalVariableCouldBeFinal Local variable 'path' could be declared final 3 115
LocalVariableCouldBeFinal Local variable 'currentTableNode' could be declared final 3 120
LawOfDemeter Call to `getLastPathComponent` on foreign value `path` (degree 1) 3 120
LocalVariableCouldBeFinal Local variable 'currentTableModel' could be declared final 3 122
LawOfDemeter Call to `getUserObject` on foreign value `currentTableNode` (degree 1) 3 122
ShortVariable Avoid variables with short names like e 3 130
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 130
ShortVariable Avoid variables with short names like e 3 135
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 135
ShortVariable Avoid variables with short names like e 3 140
ShortVariable Avoid variables with short names like e 3 145
ShortVariable Avoid variables with short names like e 3 150

view - com/jsql/view/swing/tree/CellRendererNode.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 3 29
LocalVariableCouldBeFinal Local variable 'userObject' could be declared final 3 30
UseExplicitTypes Use Explicit Types 3 30
LawOfDemeter Call to `getUserObject` on foreign value `currentNode` (degree 1) 3 30
LocalVariableCouldBeFinal Local variable 'dataModel' could be declared final 3 31

view - com/jsql/view/swing/tree/ImageOverlap.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
CommentSize Comment is too large: Line too long 3 25
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
ShortVariable Avoid variables with short names like c 3 47
MethodArgumentCouldBeFinal Parameter 'c' is not assigned and could be declared final 3 47
ShortVariable Avoid variables with short names like g 3 47
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 3 47
ShortVariable Avoid variables with short names like x 3 47
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 47
ShortVariable Avoid variables with short names like y 3 47
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 3 47
LocalVariableCouldBeFinal Local variable 'bufferedImage' could be declared final 3 50
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 51

view - com/jsql/view/swing/tree/PanelNode.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 31
CommentSize Comment is too large: Line too long 3 44
CallSuperInConstructor It is a good practice to call super() in a constructor 3 59
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
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 3 91
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
ShortVariable Avoid variables with short names like e 3 110
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 3 111
LawOfDemeter Call to `getUserObject` on foreign value `currentNode` (degree 1) 3 111
LocalVariableCouldBeFinal Local variable 'keyAdapterF2' could be declared final 3 118
ShortVariable Avoid variables with short names like e 3 120
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 120
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 3 121
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

view - com/jsql/view/swing/tree/ProgressBarPausable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'bufferedImage' could be declared final 3 49
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 50

view - 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 24202
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
LocalVariableCouldBeFinal Local variable 'model' could be declared final 3 41
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 42
LawOfDemeter Call to `getRoot` on foreign value `model` (degree 1) 3 42
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 51
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 52
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
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 62
LocalVariableCouldBeFinal Local variable 'column' could be declared final 3 66
LocalVariableCouldBeFinal Local variable 'newTreeNodeModel' could be declared final 3 67
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 67
LocalVariableCouldBeFinal Local variable 'newNode' could be declared final 3 68
UseExplicitTypes Use Explicit Types 3 68
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
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 84
LocalVariableCouldBeFinal Local variable 'root' could be declared final 3 85
LawOfDemeter Call to `getRoot` on foreign value `treeModel` (degree 1) 3 85
LocalVariableCouldBeFinal Local variable 'database' could be declared final 3 88
LocalVariableCouldBeFinal Local variable 'newTreeNodeModel' could be declared final 3 89
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 89
LocalVariableCouldBeFinal Local variable 'newNode' could be declared final 3 90
UseExplicitTypes Use Explicit Types 3 90
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 90
MethodArgumentCouldBeFinal Parameter 'tables' is not assigned and could be declared final 3 103
LocalVariableCouldBeFinal Local variable 'table' could be declared final 3 106
LocalVariableCouldBeFinal Local variable 'newTreeNodeModel' could be declared final 3 107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 107
LocalVariableCouldBeFinal Local variable 'newNode' could be declared final 3 108
UseExplicitTypes Use Explicit Types 3 108
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 108
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 114
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
LocalVariableCouldBeFinal Local variable 'node' could be declared final 3 129
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 3 131
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 3 131
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 3 131
LongVariable Avoid excessively long variable names like dataElementDatabase 3 138
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 3 138
LocalVariableCouldBeFinal Local variable 'node' could be declared final 3 139
CommentSize Comment is too large: Line too long 3 140
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 3 142
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 3 142
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 3 142
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 145
LongVariable Avoid excessively long variable names like dataElementDatabase 3 150
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 3 150
LocalVariableCouldBeFinal Local variable 'node' could be declared final 3 152
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 3 154
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 3 154
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 3 154
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 158
LongVariable Avoid excessively long variable names like dataElementDatabase 3 163
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 3 163
LocalVariableCouldBeFinal Local variable 'node' could be declared final 3 164
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 3 167
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 3 167
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 3 167
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 169
LongVariable Avoid excessively long variable names like dataElementDatabase 3 174
MethodArgumentCouldBeFinal Parameter 'dataElementDatabase' is not assigned and could be declared final 3 174
LocalVariableCouldBeFinal Local variable 'node' could be declared final 3 175
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 3 178
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 3 178
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 3 178
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 183
LongVariable Avoid excessively long variable names like dataElementDatabase 3 188
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
LocalVariableCouldBeFinal Local variable 'node' could be declared final 3 189
CommentSize Comment is too large: Line too long 3 190
LongVariable Avoid excessively long variable names like progressingTreeNodeModel 3 192
LocalVariableCouldBeFinal Local variable 'progressingTreeNodeModel' could be declared final 3 192
LawOfDemeter Call to `getUserObject` on foreign value `node` (degree 1) 3 192
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 194

view - com/jsql/view/swing/tree/action/ActionCheckAll.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like isCheckboxesSelected 3 18
LongVariable Avoid excessively long variable names like isCheckboxesSelected 3 21
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
LocalVariableCouldBeFinal Local variable 'currentTableNode' could be declared final 3 28
LawOfDemeter Call to `getLastPathComponent` on foreign value `this.path` (degree 1) 3 28
LocalVariableCouldBeFinal Local variable 'currentTableModel' could be declared final 3 29
LawOfDemeter Call to `getUserObject` on foreign value `currentTableNode` (degree 1) 3 29
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 30
LawOfDemeter Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 3 30
LocalVariableCouldBeFinal Local variable 'tableChildCount' could be declared final 3 31
UseExplicitTypes Use Explicit Types 3 32
LocalVariableCouldBeFinal Local variable 'currentChild' could be declared final 3 33
LongVariable Avoid excessively long variable names like columnTreeNodeModel 3 35
LocalVariableCouldBeFinal Local variable 'columnTreeNodeModel' could be declared final 3 35
LawOfDemeter Call to `getUserObject` on foreign value `currentChild` (degree 1) 3 35

view - 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
LocalVariableCouldBeFinal Local variable 'columnCheckBox' could be declared final 3 27
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 30
LawOfDemeter Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 3 30
LocalVariableCouldBeFinal Local variable 'tableNode' could be declared final 3 31
LocalVariableCouldBeFinal Local variable 'tableChildCount' could be declared final 3 33
LongVariable Avoid excessively long variable names like isOneChildSelected 3 34
UseExplicitTypes Use Explicit Types 3 34
UseExplicitTypes Use Explicit Types 3 36
LocalVariableCouldBeFinal Local variable 'currentChild' could be declared final 3 37
LongVariable Avoid excessively long variable names like columnTreeNodeModel 3 39
LocalVariableCouldBeFinal Local variable 'columnTreeNodeModel' could be declared final 3 39
LawOfDemeter Call to `getUserObject` on foreign value `currentChild` (degree 1) 3 39
LocalVariableCouldBeFinal Local variable 'nodeUserObject' could be declared final 3 47
LawOfDemeter Call to `getUserObject` on foreign value `tableNode` (degree 1) 3 47

view - com/jsql/view/swing/tree/action/ActionLoadStop.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
ShortVariable Avoid variables with short names like e 3 40
ConfusingTernary Avoid if (x != y) ..; else ..; 3 4549
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
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 3 65
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
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 79
LawOfDemeter Call to `getModel` on foreign value `MediatorHelper.treeDatabase()` (degree 1) 3 79
LocalVariableCouldBeFinal Local variable 'tableNode' could be declared final 3 80
LocalVariableCouldBeFinal Local variable 'tableChildCount' could be declared final 3 83
UseExplicitTypes Use Explicit Types 3 84
LocalVariableCouldBeFinal Local variable 'currentChild' could be declared final 3 85
LongVariable Avoid excessively long variable names like columnTreeNodeModel 3 87
LocalVariableCouldBeFinal Local variable 'columnTreeNodeModel' could be declared final 3 87
LawOfDemeter Call to `getUserObject` on foreign value `currentChild` (degree 1) 3 87
LawOfDemeter Call to `getElementDatabase` on foreign value `columnTreeNodeModel` (degree 1) 3 89

view - com/jsql/view/swing/tree/action/ActionPauseUnpause.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'nodeModel' is not assigned and could be declared final 3 27
ShortVariable Avoid variables with short names like e 3 32
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 3 33
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 33

view - 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
ShortVariable Avoid variables with short names like x 3 12
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 12
ShortVariable Avoid variables with short names like y 3 12
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 3 12
LocalVariableCouldBeFinal Local variable 'abstractButton' could be declared final 3 14
LocalVariableCouldBeFinal Local variable 'model' could be declared final 3 15
LocalVariableCouldBeFinal Local variable 'isSelected' could be declared final 3 17
LocalVariableCouldBeFinal Local variable 'isEnabled' could be declared final 3 18
LocalVariableCouldBeFinal Local variable 'isPressed' could be declared final 3 19
LocalVariableCouldBeFinal Local variable 'isArmed' could be declared final 3 20
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

view - 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
LongVariable Avoid excessively long variable names like buttonGroupLoadRows 3 7
LongVariable Avoid excessively long variable names like radioCustomFromRow 3 8
LongVariable Avoid excessively long variable names like radioCustomFromChar 3 10
LongVariable Avoid excessively long variable names like buttonGroupLoadRows 3 18
MethodArgumentCouldBeFinal Parameter 'buttonGroupLoadRows' is not assigned and could be declared final 3 18
LongVariable Avoid excessively long variable names like radioCustomFromRow 3 26
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
LongVariable Avoid excessively long variable names like radioCustomFromChar 3 42
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

view - com/jsql/view/swing/tree/model/AbstractNodeModel.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
GodClass Possible God Class (WMC=56, ATFD=71, TCC=10.115%) 3 40
TooManyMethods This class has too many methods, consider refactoring it. 3 40424
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
LongVariable Avoid excessively long variable names like isAnyCheckboxSelected 3 74
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
ShortVariable Avoid variables with short names like e 3 146
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 146
LocalVariableCouldBeFinal Local variable 'popupMenu' could be declared final 3 147
UseExplicitTypes Use Explicit Types 3 147
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 3 148
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 148
ShortVariable Avoid variables with short names like e 3 156
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
LocalVariableCouldBeFinal Local variable 'textReload' could be declared final 3 176
LocalVariableCouldBeFinal Local variable 'menuItemReload' could be declared final 3 186
LocalVariableCouldBeFinal Local variable 'menuItemRename' could be declared final 3 190
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 3 193
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
LocalVariableCouldBeFinal Local variable 'menuItemLoad' could be declared final 3 212
LocalVariableCouldBeFinal Local variable 'menuItemPause' could be declared final 3 223
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
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 3 249
LocalVariableCouldBeFinal Local variable 'nodeModel' could be declared final 3 264
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
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 3 285
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
LocalVariableCouldBeFinal Local variable 'nodeLabel' could be declared final 3 294
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
LocalVariableCouldBeFinal Local variable 'dataCount' could be declared final 3 341
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 3 347
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
LongVariable Avoid excessively long variable names like isAnyCheckboxSelected 3 393
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

view - com/jsql/view/swing/tree/model/NodeModelColumn.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
MethodArgumentCouldBeFinal Parameter 'column' is not assigned and could be declared final 3 30
LocalVariableCouldBeFinal Local variable 'checkbox' could be declared final 3 38
UseExplicitTypes Use Explicit Types 3 38

view - com/jsql/view/swing/tree/model/NodeModelDatabase.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 56
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
LocalVariableCouldBeFinal Local variable 'selectedDatabase' could be declared final 3 68
UseExplicitTypes Use Explicit Types 3 68
LawOfDemeter Call to `getDataAccess` on foreign value `MediatorHelper.model()` (degree 1) 3 69

view - com/jsql/view/swing/tree/model/NodeModelEmpty.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'currentNode' could be declared final 3 42
LocalVariableCouldBeFinal Local variable 'panelEmpty' could be declared final 3 43
UseExplicitTypes Use Explicit Types 3 43
LocalVariableCouldBeFinal Local variable 'labelEmpty' could be declared final 3 44
UseExplicitTypes Use Explicit Types 3 44
LawOfDemeter Call to `getUserObject` on foreign value `currentNode` (degree 1) 3 44
ShortVariable Avoid variables with short names like e 3 73

view - com/jsql/view/swing/tree/model/NodeModelTable.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LocalVariableCouldBeFinal Local variable 'suspendableTask' could be declared final 3 58
LawOfDemeter Call to `getMediatorUtils` on foreign value `MediatorHelper.model()` (degree 1) 3 58
LocalVariableCouldBeFinal Local variable 'treeNode' could be declared final 3 73
LocalVariableCouldBeFinal Local variable 'treeModel' could be declared final 3 76
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
LocalVariableCouldBeFinal Local variable 'selectedTable' could be declared final 3 83
UseExplicitTypes Use Explicit Types 3 83
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
LocalVariableCouldBeFinal Local variable 'menuCustomLoad' could be declared final 3 99
UseExplicitTypes Use Explicit Types 3 99
LongVariable Avoid excessively long variable names like buttonGroupLoadRows 3 101
LocalVariableCouldBeFinal Local variable 'buttonGroupLoadRows' could be declared final 3 101
UseExplicitTypes Use Explicit Types 3 101
LongVariable Avoid excessively long variable names like menuItemLoadAllRows 3 103
LocalVariableCouldBeFinal Local variable 'menuItemLoadAllRows' could be declared final 3 103
LongVariable Avoid excessively long variable names like menuItemLoadOneRow 3 104
LocalVariableCouldBeFinal Local variable 'menuItemLoadOneRow' could be declared final 3 104
LocalVariableCouldBeFinal Local variable 'menuItemDump' could be declared final 3 105
LongVariable Avoid excessively long variable names like panelCustomFromRow 3 107
LocalVariableCouldBeFinal Local variable 'panelCustomFromRow' could be declared final 3 107
UseExplicitTypes Use Explicit Types 3 107
LongVariable Avoid excessively long variable names like inputCustomFromRow 3 108
AvoidDuplicateLiterals The String literal "no." appears 4 times in this file; the first occurrence is on line 108 3 108
ShortVariable Avoid variables with short names like d 3 110
LocalVariableCouldBeFinal Local variable 'd' could be declared final 3 110
UseExplicitTypes Use Explicit Types 3 110
LongVariable Avoid excessively long variable names like radioCustomFromRow 3 116
UseExplicitTypes Use Explicit Types 3 116
LocalVariableCouldBeFinal Local variable 'panelCustomToRow' could be declared final 3 124
UseExplicitTypes Use Explicit Types 3 124
UseExplicitTypes Use Explicit Types 3 129
LongVariable Avoid excessively long variable names like panelCustomFromChar 3 137
LocalVariableCouldBeFinal Local variable 'panelCustomFromChar' could be declared final 3 137
UseExplicitTypes Use Explicit Types 3 137
LongVariable Avoid excessively long variable names like inputCustomFromChar 3 138
LongVariable Avoid excessively long variable names like radioCustomFromChar 3 142
UseExplicitTypes Use Explicit Types 3 142
LocalVariableCouldBeFinal Local variable 'panelCustomToChar' could be declared final 3 150
UseExplicitTypes Use Explicit Types 3 150
UseExplicitTypes Use Explicit Types 3 155
MethodArgumentCouldBeFinal Parameter 'tablePopupMenu' is not assigned and could be declared final 3 186
LocalVariableCouldBeFinal Local variable 'menuItemCheckAll' could be declared final 3 187
LongVariable Avoid excessively long variable names like menuItemUncheckAll 3 190
LocalVariableCouldBeFinal Local variable 'menuItemUncheckAll' could be declared final 3 190

view - com/jsql/view/swing/util/I18nViewUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 16
LongVariable Avoid excessively long variable names like componentsLocalized 3 21
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 21
FieldNamingConventions The constant name 'componentsLocalized' doesn't match '[A-Z][A-Z_0-9]*' 1 21
LocalVariableCouldBeFinal Local variable 'keyI18n' could be declared final 3 25
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
LocalVariableCouldBeFinal Local variable 'classHandlers' could be declared final 3 54
LocalVariableCouldBeFinal Local variable 'key' could be declared final 3 64
LocalVariableCouldBeFinal Local variable 'component' could be declared final 3 65
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

view - com/jsql/view/swing/util/JSplitPaneWithZeroSizeDivider.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 9
LongVariable Avoid excessively long variable names like DIVIDER_DRAG_OFFSET 3 11
ShortVariable Avoid variables with short names like i 3 13
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
LocalVariableCouldBeFinal Local variable 'divider' could be declared final 3 24
LawOfDemeter Call to `getDivider` on foreign value `(BasicSplitPaneUI) this.getUI()` (degree 1) 3 24
LocalVariableCouldBeFinal Local variable 'bounds' could be declared final 3 25
LocalVariableCouldBeFinal Local variable 'dividerDragSize' could be declared final 3 26
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
CommentSize Comment is too large: Line too long 3 54
CompareObjectsWithEquals Use equals() to compare object references. 3 55
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 62
ShortVariable Avoid variables with short names like ui 3 64
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
ShortVariable Avoid variables with short names like g 3 76
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

view - com/jsql/view/swing/util/MediatorHelper.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 17156
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

view - 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 3340
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

view - 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
ShortVariable Avoid variables with short names like a 3 20
MethodArgumentCouldBeFinal Parameter 'a' is not assigned and could be declared final 3 20
ShortVariable Avoid variables with short names like e 3 25
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 25
ShortVariable Avoid variables with short names like e 3 31
MethodArgumentCouldBeFinal Parameter 'e' is not assigned and could be declared final 3 31
ShortVariable Avoid variables with short names like m 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

view - 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
LocalVariableCouldBeFinal Local variable 'detector' could be declared final 3 29
UseExplicitTypes Use Explicit Types 3 29
LocalVariableCouldBeFinal Local variable 'encoding' could be declared final 3 43

view - com/jsql/view/swing/util/UiUtil.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 110
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
LongVariable Avoid excessively long variable names like FONT_NAME_MONO_NON_ASIAN 3 121
LongVariable Avoid excessively long variable names like FONT_SIZE_MONO_NON_ASIAN 3 122
LongVariable Avoid excessively long variable names like FONT_NAME_MONO_ASIAN 3 123
LongVariable Avoid excessively long variable names like FONT_SIZE_MONO_ASIAN 3 124
LongVariable Avoid excessively long variable names like FONT_NAME_MONOSPACED 3 129
LongVariable Avoid excessively long variable names like FONT_MONO_NON_ASIAN 3 132
LongVariable Avoid excessively long variable names like FONT_MONO_ASIAN_BIG 3 144
LongVariable Avoid excessively long variable names like graphicsEnvironment 3 178
LocalVariableCouldBeFinal Local variable 'graphicsEnvironment' could be declared final 3 178
UseExplicitTypes Use Explicit Types 3 178
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 180
LocalVariableCouldBeFinal Local variable 'ubuntuFont' could be declared final 3 182
UseExplicitTypes Use Explicit Types 3 182
LocalVariableCouldBeFinal Local variable 'images' could be declared final 3 194
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.APP_ICON` (degree 1) 3 197
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.APP_MIDDLE` (degree 1) 3 198
LawOfDemeter Call to `getIcon` on foreign value `UiUtil.APP_BIG` (degree 1) 3 199
MethodArgumentCouldBeFinal Parameter 'textComponent' is not assigned and could be declared final 3 206
ShortVariable Avoid variables with short names like g 3 206
MethodArgumentCouldBeFinal Parameter 'g' is not assigned and could be declared final 3 206
MethodArgumentCouldBeFinal Parameter 'placeholderText' is not assigned and could be declared final 3 206
LawOfDemeter Call to `getFontMetrics` on foreign value `g` (degree 1) 3 207
MethodArgumentCouldBeFinal Parameter 'textComponent' is not assigned and could be declared final 3 210
ShortVariable Avoid variables with short names like g 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
ShortVariable Avoid variables with short names like x 3 210
MethodArgumentCouldBeFinal Parameter 'x' is not assigned and could be declared final 3 210
ShortVariable Avoid variables with short names like y 3 210
MethodArgumentCouldBeFinal Parameter 'y' is not assigned and could be declared final 3 210
ShortVariable Avoid variables with short names like w 3 211
LocalVariableCouldBeFinal Local variable 'w' could be declared final 3 211
LocalVariableCouldBeFinal Local variable 'ins' could be declared final 3 215
UseExplicitTypes Use Explicit Types 3 215
ShortVariable Avoid variables with short names like fm 3 216
LocalVariableCouldBeFinal Local variable 'fm' could be declared final 3 216
UseExplicitTypes Use Explicit Types 3 216
LawOfDemeter Call to `getFontMetrics` on foreign value `g` (degree 1) 3 216
ShortVariable Avoid variables with short names like c0 3 218
LocalVariableCouldBeFinal Local variable 'c0' could be declared final 3 218
ShortVariable Avoid variables with short names like c1 3 219
LocalVariableCouldBeFinal Local variable 'c1' could be declared final 3 219
ShortVariable Avoid variables with short names like m 3 220
LocalVariableCouldBeFinal Local variable 'm' could be declared final 3 220
UseExplicitTypes Use Explicit Types 3 220
ShortVariable Avoid variables with short names like c2 3 221
LocalVariableCouldBeFinal Local variable 'c2' could be declared final 3 221
LocalVariableCouldBeFinal Local variable 'fontNonUbuntu' could be declared final 3 225
UseExplicitTypes Use Explicit Types 3 225
MethodArgumentCouldBeFinal Parameter 'component' is not assigned and could be declared final 3 244
MethodArgumentCouldBeFinal Parameter 'textArea' is not assigned and could be declared final 3 255
LocalVariableCouldBeFinal Local variable 'isDark' could be declared final 3 257
LocalVariableCouldBeFinal Local variable 'xmlTheme' could be declared final 3 258
UseExplicitTypes Use Explicit Types 3 258
LocalVariableCouldBeFinal Local variable 'theme' could be declared final 3 259
MethodArgumentCouldBeFinal Parameter 'nameTheme' is not assigned and could be declared final 3 266
ShortVariable Avoid variables with short names like c 3 268
LocalVariableCouldBeFinal Local variable 'c' could be declared final 3 268
LocalVariableCouldBeFinal Local variable 'lookAndFeel' could be declared final 3 269
CommentSize Comment is too large: Line too long 3 279
MethodArgumentCouldBeFinal Parameter 'size' is not assigned and could be declared final 3 285