FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.8

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
2225 376 0 0

Files

Class Bugs
ca.sqlpower.sql.RowSetChangeEvent 2
ca.sqlpower.sqlobject.DuplicateColumnException 1
ca.sqlpower.sqlobject.SQLCatalog 3
ca.sqlpower.sqlobject.SQLColumn 3
ca.sqlpower.sqlobject.SQLColumn$ColumnNameComparator 1
ca.sqlpower.sqlobject.SQLColumn$CompareByPKSeq 2
ca.sqlpower.sqlobject.SQLDatabase 6
ca.sqlpower.sqlobject.SQLIndex 5
ca.sqlpower.sqlobject.SQLIndex$1 1
ca.sqlpower.sqlobject.SQLIndex$Column 3
ca.sqlpower.sqlobject.SQLObject 9
ca.sqlpower.sqlobject.SQLObjectEvent 8
ca.sqlpower.sqlobject.SQLObjectException 1
ca.sqlpower.sqlobject.SQLObjectPreEvent 5
ca.sqlpower.sqlobject.SQLRelationship 8
ca.sqlpower.sqlobject.SQLRelationship$ColumnMapping 1
ca.sqlpower.sqlobject.SQLRelationship$ColumnMappingFKColumnOrderComparator 1
ca.sqlpower.sqlobject.SQLRelationship$RelationshipManager 2
ca.sqlpower.sqlobject.SQLSchema 4
ca.sqlpower.sqlobject.SQLTable 8
ca.sqlpower.sqlobject.SQLTable$Folder 1
ca.sqlpower.swingui.db.DatabaseConnectionManager$ConnectionTableModel 1
ca.sqlpower.swingui.table.TableModelSortDecorator 3
ca.sqlpower.swingui.table.TableModelSortDecorator$Arrow 1
ca.sqlpower.swingui.table.TableModelSortDecorator$Row 1
ca.sqlpower.wabit.QueryCache 2
ca.sqlpower.wabit.WabitSessionContextImpl 5
ca.sqlpower.wabit.WabitVersion 1
ca.sqlpower.wabit.WabitWorkspace 6
ca.sqlpower.wabit.dao.OpenWorkspaceXMLDAO 1
ca.sqlpower.wabit.dao.WabitObjectComparator 1
ca.sqlpower.wabit.dao.WorkspaceSAXHandler 2
ca.sqlpower.wabit.olap.MemberHierarchyComparator 1
ca.sqlpower.wabit.olap.OlapQuery 6
ca.sqlpower.wabit.olap.OlapResultSet 1
ca.sqlpower.wabit.report.CellSetRenderer 1
ca.sqlpower.wabit.report.ChartRenderer 1
ca.sqlpower.wabit.report.Guide 1
ca.sqlpower.wabit.report.ImageRenderer 1
ca.sqlpower.wabit.report.Layout 1
ca.sqlpower.wabit.report.Layout$LayoutVarContext 1
ca.sqlpower.wabit.report.ResultSetRenderer 8
ca.sqlpower.wabit.report.chart.Chart 1
ca.sqlpower.wabit.report.chart.ComparableCategoryRow 1
ca.sqlpower.wabit.report.chart.DatasetUtil 1
ca.sqlpower.wabit.report.resultset.ReportPositionRenderer 1
ca.sqlpower.wabit.sql.parser.SQLANTLRLexer 5
ca.sqlpower.wabit.sql.parser.SQLANTLRParser 95
ca.sqlpower.wabit.sql.parser.SQLANTLRParser$DFA20 1
ca.sqlpower.wabit.swingui.InsertVariableButton 1
ca.sqlpower.wabit.swingui.NewWorkspaceScreen 1
ca.sqlpower.wabit.swingui.NewWorkspaceScreen$2 1
ca.sqlpower.wabit.swingui.OpenOnServerMenu 2
ca.sqlpower.wabit.swingui.QueryPanel$1 1
ca.sqlpower.wabit.swingui.QueryPanel$13 1
ca.sqlpower.wabit.swingui.QueryPanel$3 1
ca.sqlpower.wabit.swingui.QueryPanel$8 1
ca.sqlpower.wabit.swingui.QueryPanel$9 1
ca.sqlpower.wabit.swingui.QueryPanel$RowListModel 1
ca.sqlpower.wabit.swingui.ServerListMenu 2
ca.sqlpower.wabit.swingui.StackedTabComponent 1
ca.sqlpower.wabit.swingui.StackedTabComponent$StackedTab$1 1
ca.sqlpower.wabit.swingui.StackedTabComponent$StackedTab$2 1
ca.sqlpower.wabit.swingui.WabitImagePanel$3 2
ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl 3
ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$17 1
ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$20 1
ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$SearchTreeCellRenderer 1
ca.sqlpower.wabit.swingui.WabitWelcomeScreen$4 1
ca.sqlpower.wabit.swingui.WorkspacePanel 2
ca.sqlpower.wabit.swingui.WorkspaceTreeListener$3 1
ca.sqlpower.wabit.swingui.action.AboutAction$1 1
ca.sqlpower.wabit.swingui.action.AddDataSourceAction 1
ca.sqlpower.wabit.swingui.action.CopyImageAction 1
ca.sqlpower.wabit.swingui.action.CopyOlapDatasource 1
ca.sqlpower.wabit.swingui.action.CopyReportAction 1
ca.sqlpower.wabit.swingui.action.CopyTemplateAction 1
ca.sqlpower.wabit.swingui.action.CreateLayoutFromQueryAction 2
ca.sqlpower.wabit.swingui.action.ExportSQLScriptAction 2
ca.sqlpower.wabit.swingui.action.HelpAction 1
ca.sqlpower.wabit.swingui.action.ImportWorkspaceAction$1 1
ca.sqlpower.wabit.swingui.action.NewChartAction 1
ca.sqlpower.wabit.swingui.action.NewOLAPQueryAction 1
ca.sqlpower.wabit.swingui.action.NewQueryAction 2
ca.sqlpower.wabit.swingui.action.NewServerWorkspaceAction 1
ca.sqlpower.wabit.swingui.action.OpenServerWorkspaceAction 1
ca.sqlpower.wabit.swingui.action.OpenWorkspaceAction 1
ca.sqlpower.wabit.swingui.action.ReportFromTemplateAction 1
ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction 3
ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction$SaveOnServerPanel 1
ca.sqlpower.wabit.swingui.action.SaveWorkspaceAsAction$SaveAsPrompt$1$1 1
ca.sqlpower.wabit.swingui.action.ShowEditorAction 1
ca.sqlpower.wabit.swingui.action.ShowQueryPropertiesAction 1
ca.sqlpower.wabit.swingui.chart.ChartPanel 2
ca.sqlpower.wabit.swingui.chart.ChartTableCellRenderer 1
ca.sqlpower.wabit.swingui.chart.RefreshDataAction 1
ca.sqlpower.wabit.swingui.chart.RevertToDefaultsAction 1
ca.sqlpower.wabit.swingui.chart.WabitDrawingSupplier 1
ca.sqlpower.wabit.swingui.chart.WabitJFreeChartPanel 1
ca.sqlpower.wabit.swingui.enterprise.ServerInfoManager$5 1
ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent 2
ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$1 1
ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$CellSetTableHeaderDropTargetListener 1
ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$HierarchyComponent$MouseHandler 1
ca.sqlpower.wabit.swingui.olap.CellSetViewer 1
ca.sqlpower.wabit.swingui.olap.CellSetViewer$1 1
ca.sqlpower.wabit.swingui.olap.CellSetViewer$2 1
ca.sqlpower.wabit.swingui.olap.CellSetViewer$3 1
ca.sqlpower.wabit.swingui.olap.Olap4JTreeCellRenderer 1
ca.sqlpower.wabit.swingui.olap.Olap4jTreeModel$OlapTreeRoot 1
ca.sqlpower.wabit.swingui.olap.OlapMetadataTransferable 2
ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$12 1
ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$6 1
ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$8 1
ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$CubeTreeDragGestureListener$1 1
ca.sqlpower.wabit.swingui.olap.SlicerPanel 4
ca.sqlpower.wabit.swingui.olap.SlicerPanel$SlicerPanelDropTargetListener 2
ca.sqlpower.wabit.swingui.report.CellSetSwingRenderer$1 1
ca.sqlpower.wabit.swingui.report.ChartSwingRenderer$1 1
ca.sqlpower.wabit.swingui.report.ContentBoxNode 15
ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$1 1
ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$2 1
ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$3 1
ca.sqlpower.wabit.swingui.report.GuideAwareBoundsHandle 1
ca.sqlpower.wabit.swingui.report.GuideNode 6
ca.sqlpower.wabit.swingui.report.GuideNode$GuideMouseEventHandler$1 1
ca.sqlpower.wabit.swingui.report.ImageSwingRenderer$ImageEntryPanel 1
ca.sqlpower.wabit.swingui.report.LayoutPanel 1
ca.sqlpower.wabit.swingui.report.LayoutPanel$10 1
ca.sqlpower.wabit.swingui.report.PDFAction 1
ca.sqlpower.wabit.swingui.report.PDFAction$1 1
ca.sqlpower.wabit.swingui.report.PDFAction$2 1
ca.sqlpower.wabit.swingui.report.PDFAction$3 1
ca.sqlpower.wabit.swingui.report.PageFormatAction 1
ca.sqlpower.wabit.swingui.report.PageNode 3
ca.sqlpower.wabit.swingui.report.PrintAction$1 1
ca.sqlpower.wabit.swingui.report.PrintAction$2 1
ca.sqlpower.wabit.swingui.report.PrintAction$3 1
ca.sqlpower.wabit.swingui.report.PrintAction$PrintWorker 1
ca.sqlpower.wabit.swingui.report.PrintPreviewAction 3
ca.sqlpower.wabit.swingui.report.PrintPreviewAction$2 1
ca.sqlpower.wabit.swingui.report.ReportQueryTransferable 2
ca.sqlpower.wabit.swingui.report.ResultSetSwingRenderer$1 1
ca.sqlpower.wabit.swingui.report.SwingLabel$1 1
ca.sqlpower.wabit.swingui.report.SwingLabel$2 1
ca.sqlpower.wabit.swingui.report.TemplatePreviewIcon 2
ca.sqlpower.wabit.swingui.tree.FolderNode 3
ca.sqlpower.wabit.swingui.tree.SmartTreeTransferable 1
ca.sqlpower.wabit.swingui.tree.WorkspaceTreeCellEditor 1
ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel 2
ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel$Olap4jTreeObject 1
org.jfree.chart.plot.PiePlot3D 1
org.jfree.chart.plot.PiePlot3DGradient 1

ca.sqlpower.sql.RowSetChangeEvent

Bug Category Details Line Priority
ca.sqlpower.sql.RowSetChangeEvent.getRow() may expose internal representation by returning RowSetChangeEvent.row MALICIOUS_CODE EI_EXPOSE_REP 39 Medium
new ca.sqlpower.sql.RowSetChangeEvent(CachedRowSet, Object[], int) may expose internal representation by storing an externally mutable object into RowSetChangeEvent.row MALICIOUS_CODE EI_EXPOSE_REP2 30 Medium

ca.sqlpower.sqlobject.DuplicateColumnException

Bug Category Details Line Priority
Class ca.sqlpower.sqlobject.DuplicateColumnException implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 31-70 Low

ca.sqlpower.sqlobject.SQLCatalog

Bug Category Details Line Priority
Unchecked/unconfirmed cast from ca.sqlpower.sqlobject.SQLObject to ca.sqlpower.sqlobject.SQLCatalog in ca.sqlpower.sqlobject.SQLCatalog.updateToMatch(SQLObject) STYLE BC_UNCONFIRMED_CAST 90 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 228 Low
ca.sqlpower.sqlobject.SQLCatalog is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 38-260 Low

ca.sqlpower.sqlobject.SQLColumn

Bug Category Details Line Priority
Unchecked/unconfirmed cast from ca.sqlpower.sqlobject.SQLObject to ca.sqlpower.sqlobject.SQLColumn in ca.sqlpower.sqlobject.SQLColumn.updateToMatch(SQLObject) STYLE BC_UNCONFIRMED_CAST 325 Low
Class ca.sqlpower.sqlobject.SQLColumn implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 36-1079 Low
ca.sqlpower.sqlobject.SQLColumn is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 36-1079 Low

ca.sqlpower.sqlobject.SQLColumn$ColumnNameComparator

Bug Category Details Line Priority
ca.sqlpower.sqlobject.SQLColumn$ColumnNameComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 409-423 Medium

ca.sqlpower.sqlobject.SQLColumn$CompareByPKSeq

Bug Category Details Line Priority
Possible null pointer dereference of SQLColumn.primaryKeySeq on path that might be infeasible in ca.sqlpower.sqlobject.SQLColumn$CompareByPKSeq.compare(Object, Object) STYLE NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE 1020 Medium
ca.sqlpower.sqlobject.SQLColumn$CompareByPKSeq implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 1009-1020 Medium

ca.sqlpower.sqlobject.SQLDatabase

Bug Category Details Line Priority
Inconsistent synchronization of ca.sqlpower.sqlobject.SQLDatabase.catalogTerm; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 656 Medium
Inconsistent synchronization of ca.sqlpower.sqlobject.SQLDatabase.connectionPool; locked 57% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 582 Medium
Inconsistent synchronization of ca.sqlpower.sqlobject.SQLDatabase.schemaTerm; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 660 Medium
Redundant nullcheck of rs which is known to be null in ca.sqlpower.sqlobject.SQLDatabase.populateImpl() STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 169 Medium
Class ca.sqlpower.sqlobject.SQLDatabase implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 50-707 Low
Class ca.sqlpower.sqlobject.SQLDatabase defines non-transient non-serializable instance field dataSource BAD_PRACTICE SE_BAD_FIELD Not available Medium

ca.sqlpower.sqlobject.SQLIndex

Bug Category Details Line Priority
Unchecked/unconfirmed cast from ca.sqlpower.sqlobject.SQLObject to ca.sqlpower.sqlobject.SQLIndex in ca.sqlpower.sqlobject.SQLIndex.updateToMatch(SQLObject) STYLE BC_UNCONFIRMED_CAST 378 Low
Method ca.sqlpower.sqlobject.SQLIndex.fetchIndicesForTable(DatabaseMetaData, SQLTable) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 639 Medium
Confusing to have methods ca.sqlpower.sqlobject.SQLIndex.cleanUp() and ca.sqlpower.swingui.db.DatabaseConnectionManager$ConnectionTableModel.cleanup() BAD_PRACTICE NM_CONFUSING 525-533 Low
ca.sqlpower.sqlobject.SQLIndex$1 stored into non-transient field SQLIndex.removeColumnListener BAD_PRACTICE SE_BAD_FIELD_STORE 337 Medium
ca.sqlpower.sqlobject.SQLIndex is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 39-862 Low

ca.sqlpower.sqlobject.SQLIndex$1

Bug Category Details Line Priority
Uncallable method ca.sqlpower.sqlobject.SQLIndex$1.dbStructureChanged(SQLObjectEvent) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 340 Medium

ca.sqlpower.sqlobject.SQLIndex$Column

Bug Category Details Line Priority
Class ca.sqlpower.sqlobject.SQLIndex$Column defines non-transient non-serializable instance field targetColumnListener BAD_PRACTICE SE_BAD_FIELD Not available Low
ca.sqlpower.sqlobject.SQLIndex$Column is serializable and an inner class BAD_PRACTICE SE_INNER_CLASS 73-283 Low
ca.sqlpower.sqlobject.SQLIndex$Column is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 73-283 Low

ca.sqlpower.sqlobject.SQLObject

Bug Category Details Line Priority
Inconsistent synchronization of ca.sqlpower.sqlobject.SQLObject.magicDisableCount; locked 85% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 148 Low
Method ca.sqlpower.sqlobject.SQLObject.fireDbChildrenPreRemove(int[], List) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 610 Low
Method ca.sqlpower.sqlobject.SQLObject.fireDbChildrenRemoved(int[], List) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 511 Low
Method ca.sqlpower.sqlobject.SQLObject.fireDbObjectChanged(String, Object, Object) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 551 Low
Method ca.sqlpower.sqlobject.SQLObject.fireUndoCompoundEvent(CompoundEvent) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 661 Low
Load of known null value in ca.sqlpower.sqlobject.SQLObject.fireDbObjectChanged(String, Object, Object) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 530 Medium
Redundant nullcheck of ?, which is known to be non-null in ca.sqlpower.sqlobject.SQLObject.isTableContainer() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 933 Low
The field ca.sqlpower.sqlobject.SQLObject.sqlObjectListeners is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Low
The field ca.sqlpower.sqlobject.SQLObject.sqlObjectPreEventListeners is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Low

ca.sqlpower.sqlobject.SQLObjectEvent

Bug Category Details Line Priority
ca.sqlpower.sqlobject.SQLObjectEvent.getChangedIndices() may expose internal representation by returning SQLObjectEvent.changedIndices MALICIOUS_CODE EI_EXPOSE_REP 90 Medium
ca.sqlpower.sqlobject.SQLObjectEvent.getChildren() may expose internal representation by returning SQLObjectEvent.children MALICIOUS_CODE EI_EXPOSE_REP 108 Medium
new ca.sqlpower.sqlobject.SQLObjectEvent(SQLObject, int[], SQLObject[]) may expose internal representation by storing an externally mutable object into SQLObjectEvent.changedIndices MALICIOUS_CODE EI_EXPOSE_REP2 44 Medium
new ca.sqlpower.sqlobject.SQLObjectEvent(SQLObject, int[], SQLObject[]) may expose internal representation by storing an externally mutable object into SQLObjectEvent.children MALICIOUS_CODE EI_EXPOSE_REP2 45 Medium
ca.sqlpower.sqlobject.SQLObjectEvent.setChangedIndices(int[]) may expose internal representation by storing an externally mutable object into SQLObjectEvent.changedIndices MALICIOUS_CODE EI_EXPOSE_REP2 99 Medium
ca.sqlpower.sqlobject.SQLObjectEvent.setChildren(SQLObject[]) may expose internal representation by storing an externally mutable object into SQLObjectEvent.children MALICIOUS_CODE EI_EXPOSE_REP2 117 Medium
Class ca.sqlpower.sqlobject.SQLObjectEvent implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 43-180 Low
ca.sqlpower.sqlobject.SQLObjectEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 43-180 Low

ca.sqlpower.sqlobject.SQLObjectException

Bug Category Details Line Priority
Class ca.sqlpower.sqlobject.SQLObjectException implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 27-40 Low

ca.sqlpower.sqlobject.SQLObjectPreEvent

Bug Category Details Line Priority
ca.sqlpower.sqlobject.SQLObjectPreEvent.getChangeIndices() may expose internal representation by returning SQLObjectPreEvent.changeIndices MALICIOUS_CODE EI_EXPOSE_REP 58 Medium
ca.sqlpower.sqlobject.SQLObjectPreEvent.getChildren() may expose internal representation by returning SQLObjectPreEvent.children MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
new ca.sqlpower.sqlobject.SQLObjectPreEvent(SQLObject, int[], SQLObject[]) may expose internal representation by storing an externally mutable object into SQLObjectPreEvent.changeIndices MALICIOUS_CODE EI_EXPOSE_REP2 49 Medium
new ca.sqlpower.sqlobject.SQLObjectPreEvent(SQLObject, int[], SQLObject[]) may expose internal representation by storing an externally mutable object into SQLObjectPreEvent.children MALICIOUS_CODE EI_EXPOSE_REP2 50 Medium
ca.sqlpower.sqlobject.SQLObjectPreEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 47-100 Low

ca.sqlpower.sqlobject.SQLRelationship

Bug Category Details Line Priority
Unchecked/unconfirmed cast from ca.sqlpower.sqlobject.SQLObject to ca.sqlpower.sqlobject.SQLRelationship in ca.sqlpower.sqlobject.SQLRelationship.updateToMatch(SQLObject) STYLE BC_UNCONFIRMED_CAST 299 Low
Method ca.sqlpower.sqlobject.SQLRelationship.realizeMapping() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 498 Medium
Method ca.sqlpower.sqlobject.SQLRelationship.setIdentifying(boolean) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 1146 Medium
Comparison of String objects using == or != in ca.sqlpower.sqlobject.SQLRelationship.equals(Object) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1401 Low
Redundant nullcheck of fkTable, which is known to be non-null in ca.sqlpower.sqlobject.SQLRelationship.attachRelationship(SQLTable, SQLTable, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 444 Low
Class ca.sqlpower.sqlobject.SQLRelationship implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 42-1457 Low
Class ca.sqlpower.sqlobject.SQLRelationship defines non-transient non-serializable instance field fkColumnManager BAD_PRACTICE SE_BAD_FIELD Not available High
ca.sqlpower.sqlobject.SQLRelationship is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 42-1457 Low

ca.sqlpower.sqlobject.SQLRelationship$ColumnMapping

Bug Category Details Line Priority
ca.sqlpower.sqlobject.SQLRelationship$ColumnMapping is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 1198-1314 Low

ca.sqlpower.sqlobject.SQLRelationship$ColumnMappingFKColumnOrderComparator

Bug Category Details Line Priority
ca.sqlpower.sqlobject.SQLRelationship$ColumnMappingFKColumnOrderComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 47-56 Medium

ca.sqlpower.sqlobject.SQLRelationship$RelationshipManager

Bug Category Details Line Priority
Method ca.sqlpower.sqlobject.SQLRelationship$RelationshipManager.ensureInMapping(SQLColumn) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 930 Medium
Nullcheck of prop at line 864 of value previously dereferenced in ca.sqlpower.sqlobject.SQLRelationship$RelationshipManager.dbObjectChanged(SQLObjectEvent) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 843 Medium

ca.sqlpower.sqlobject.SQLSchema

Bug Category Details Line Priority
Unchecked/unconfirmed cast from ca.sqlpower.sqlobject.SQLObject to ca.sqlpower.sqlobject.SQLSchema in ca.sqlpower.sqlobject.SQLSchema.updateToMatch(SQLObject) STYLE BC_UNCONFIRMED_CAST 125 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 250 Low
Redundant nullcheck of rs which is known to be null in ca.sqlpower.sqlobject.SQLSchema.populateImpl() STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 218 Medium
ca.sqlpower.sqlobject.SQLSchema is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 39-257 Low

ca.sqlpower.sqlobject.SQLTable

Bug Category Details Line Priority
Unchecked/unconfirmed cast from ca.sqlpower.sqlobject.SQLObject to ca.sqlpower.sqlobject.SQLTable in ca.sqlpower.sqlobject.SQLTable.updateToMatch(SQLObject) STYLE BC_UNCONFIRMED_CAST 158 Low
Method ca.sqlpower.sqlobject.SQLTable.addColumnImpl(int, SQLColumn) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 644 Medium
Method ca.sqlpower.sqlobject.SQLTable.changeColumnIndex(int, int, boolean) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 745 Medium
Method ca.sqlpower.sqlobject.SQLTable.inherit(int, SQLColumn, boolean, SQLTable$TransferStyles, boolean) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 549 Medium
Method ca.sqlpower.sqlobject.SQLTable.inherit(int, SQLTable, SQLTable$TransferStyles, boolean) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 502 Medium
Method ca.sqlpower.sqlobject.SQLTable.normalizePrimaryKey() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 828 Medium
Inconsistent synchronization of ca.sqlpower.sqlobject.SQLTable.indicesFolder; locked 71% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 1280 Medium
ca.sqlpower.sqlobject.SQLTable is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 39-1681 Low

ca.sqlpower.sqlobject.SQLTable$Folder

Bug Category Details Line Priority
ca.sqlpower.sqlobject.SQLTable$Folder is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 964-1204 Low

ca.sqlpower.swingui.db.DatabaseConnectionManager$ConnectionTableModel

Bug Category Details Line Priority
ca.sqlpower.swingui.db.DatabaseConnectionManager$ConnectionTableModel$1 stored into non-transient field DatabaseConnectionManager$ConnectionTableModel.databaseListChangeListener BAD_PRACTICE SE_BAD_FIELD_STORE 543 Medium

ca.sqlpower.swingui.table.TableModelSortDecorator

Bug Category Details Line Priority
Class ca.sqlpower.swingui.table.TableModelSortDecorator defines non-transient non-serializable instance field viewToModel BAD_PRACTICE SE_BAD_FIELD Not available Low
ca.sqlpower.swingui.table.TableModelSortDecorator$MouseHandler stored into non-transient field TableModelSortDecorator.mouseListener BAD_PRACTICE SE_BAD_FIELD_STORE 148 Medium
ca.sqlpower.swingui.table.TableModelSortDecorator$TableModelHandler stored into non-transient field TableModelSortDecorator.tableModelListener BAD_PRACTICE SE_BAD_FIELD_STORE 149 Medium

ca.sqlpower.swingui.table.TableModelSortDecorator$Arrow

Bug Category Details Line Priority
int division result cast to double or float in ca.sqlpower.swingui.table.TableModelSortDecorator$Arrow.paintIcon(Component, Graphics, int, int) STYLE ICAST_IDIV_CAST_TO_DOUBLE 503 Medium

ca.sqlpower.swingui.table.TableModelSortDecorator$Row

Bug Category Details Line Priority
ca.sqlpower.swingui.table.TableModelSortDecorator$Row defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 368-391 Medium

ca.sqlpower.wabit.QueryCache

Bug Category Details Line Priority
Redundant nullcheck of rs which is known to be null in ca.sqlpower.wabit.QueryCache.executeStatement(boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 277 Medium
Method ca.sqlpower.wabit.QueryCache.executeStatement(boolean) passes a nonconstant String to an execute method on an SQL statement SECURITY SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE 240 Low

ca.sqlpower.wabit.WabitSessionContextImpl

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 92 Low
ca.sqlpower.wabit.WabitSessionContextImpl.close() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 287 Medium
ca.sqlpower.wabit.WabitSessionContextImpl.deregisterChildSession(WabitSession) invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 237 Medium
Method ca.sqlpower.wabit.WabitSessionContextImpl.getDataSources() may fail to clean up stream or resource of type java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 210 Medium
Nullcheck of WabitSessionContextImpl.dataSources at line 215 of value previously dereferenced in ca.sqlpower.wabit.WabitSessionContextImpl.getDataSources() CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 210 Medium

ca.sqlpower.wabit.WabitVersion

Bug Category Details Line Priority
Method ca.sqlpower.wabit.WabitVersion.<static initializer>() may fail to clean up stream or resource of type java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 36 Medium

ca.sqlpower.wabit.WabitWorkspace

Bug Category Details Line Priority
instanceof will always return true in ca.sqlpower.wabit.WabitWorkspace.addDataSource(WabitDataSource), since all ca.sqlpower.wabit.WabitDataSource are instances of ca.sqlpower.wabit.WabitDataSource STYLE BC_VACUOUS_INSTANCEOF 167 Medium
instanceof will always return true in ca.sqlpower.wabit.WabitWorkspace.dsAlreadyAdded(SPDataSource), since all ca.sqlpower.wabit.WabitDataSource are instances of ca.sqlpower.wabit.WabitDataSource STYLE BC_VACUOUS_INSTANCEOF 395 Medium
instanceof will always return true in ca.sqlpower.wabit.WabitWorkspace.removeDataSource(WabitDataSource), since all ca.sqlpower.wabit.WabitDataSource are instances of ca.sqlpower.wabit.WabitDataSource STYLE BC_VACUOUS_INSTANCEOF 178 Medium
Method ca.sqlpower.wabit.WabitWorkspace.addDataSource(WabitDataSource) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 167 Low
Method ca.sqlpower.wabit.WabitWorkspace.dsAlreadyAdded(SPDataSource) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 395 Low
Method ca.sqlpower.wabit.WabitWorkspace.removeDataSource(WabitDataSource) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 178 Low

ca.sqlpower.wabit.dao.OpenWorkspaceXMLDAO

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.dao.OpenWorkspaceXMLDAO.addImportedWorkspaceContentToWorkspace(WabitSession) STYLE REC_CATCH_EXCEPTION 251 Low

ca.sqlpower.wabit.dao.WabitObjectComparator

Bug Category Details Line Priority
ca.sqlpower.wabit.dao.WabitObjectComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 67-155 Low

ca.sqlpower.wabit.dao.WorkspaceSAXHandler

Bug Category Details Line Priority
Dead store to initialView in ca.sqlpower.wabit.dao.WorkspaceSAXHandler.endElement(String, String, String) STYLE DLS_DEAD_LOCAL_STORE 1247 Low
Useless control flow in ca.sqlpower.wabit.dao.WorkspaceSAXHandler.startElement(String, String, String, Attributes) STYLE UCF_USELESS_CONTROL_FLOW 600 Medium

ca.sqlpower.wabit.olap.MemberHierarchyComparator

Bug Category Details Line Priority
ca.sqlpower.wabit.olap.MemberHierarchyComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 29-69 Low

ca.sqlpower.wabit.olap.OlapQuery

Bug Category Details Line Priority
Inconsistent synchronization of ca.sqlpower.wabit.olap.OlapQuery.currentCube; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 239 High
Inconsistent synchronization of ca.sqlpower.wabit.olap.OlapQuery.mdxQuery; locked 90% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 134 High
Inconsistent synchronization of ca.sqlpower.wabit.olap.OlapQuery.wasLoadedFromXml; locked 66% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 644 High
OlapQuery.hierarchiesInUse not guarded against concurrent access; locked 80% of time MT_CORRECTNESS IS_FIELD_NOT_GUARDED 136 High
OlapQuery.slicerMember not guarded against concurrent access; locked 92% of time MT_CORRECTNESS IS_FIELD_NOT_GUARDED 146 High
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.olap.OlapQuery.init() STYLE REC_CATCH_EXCEPTION 566 Low

ca.sqlpower.wabit.olap.OlapResultSet

Bug Category Details Line Priority
ca.sqlpower.wabit.olap.OlapResultSet is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 104-293 Low

ca.sqlpower.wabit.report.CellSetRenderer

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.report.CellSetRenderer.init() STYLE REC_CATCH_EXCEPTION 201 Low

ca.sqlpower.wabit.report.ChartRenderer

Bug Category Details Line Priority
int division result cast to double or float in ca.sqlpower.wabit.report.ChartRenderer.renderError(Graphics2D, ContentBox, String[]) STYLE ICAST_IDIV_CAST_TO_DOUBLE 130 Medium

ca.sqlpower.wabit.report.Guide

Bug Category Details Line Priority
Test for floating point equality in ca.sqlpower.wabit.report.Guide.dragSnappedEdges(double, double) STYLE FE_FLOATING_POINT_EQUALITY 107 High

ca.sqlpower.wabit.report.ImageRenderer

Bug Category Details Line Priority
Switch statement found in ca.sqlpower.wabit.report.ImageRenderer.renderReportContent(Graphics2D, ContentBox, double, int, boolean) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 150-155 Low

ca.sqlpower.wabit.report.Layout

Bug Category Details Line Priority
Unchecked/unconfirmed cast from java.awt.Graphics to java.awt.Graphics2D in ca.sqlpower.wabit.report.Layout.print(Graphics, PageFormat, int) STYLE BC_UNCONFIRMED_CAST 176 Low

ca.sqlpower.wabit.report.Layout$LayoutVarContext

Bug Category Details Line Priority
Should ca.sqlpower.wabit.report.Layout$LayoutVarContext be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 72-91 Medium

ca.sqlpower.wabit.report.ResultSetRenderer

Bug Category Details Line Priority
instanceof will always return true in new ca.sqlpower.wabit.report.ResultSetRenderer(QueryCache, List), since all ca.sqlpower.wabit.QueryCache are instances of ca.sqlpower.swingui.query.StatementExecutor STYLE BC_VACUOUS_INSTANCEOF 290 Medium
instanceof will always return true in new ca.sqlpower.wabit.report.ResultSetRenderer(ResultSetRenderer), since all ca.sqlpower.wabit.QueryCache are instances of ca.sqlpower.swingui.query.StatementExecutor STYLE BC_VACUOUS_INSTANCEOF 321 Medium
instanceof will always return true in ca.sqlpower.wabit.report.ResultSetRenderer.cleanup(), since all ca.sqlpower.wabit.QueryCache are instances of ca.sqlpower.swingui.query.StatementExecutor STYLE BC_VACUOUS_INSTANCEOF 328 Medium
instanceof will always return true in ca.sqlpower.wabit.report.ResultSetRenderer.executeQuery(), since all ca.sqlpower.sql.CachedRowSet are instances of ca.sqlpower.sql.CachedRowSet STYLE BC_VACUOUS_INSTANCEOF 358 Medium
Possible null pointer dereference of query in new ca.sqlpower.wabit.report.ResultSetRenderer(QueryCache, List) CORRECTNESS NP_NULL_ON_SOME_PATH 293 Medium
Possible null pointer dereference of ResultSetRenderer.query in ca.sqlpower.wabit.report.ResultSetRenderer.cleanup() CORRECTNESS NP_NULL_ON_SOME_PATH 331 Medium
Nullcheck of ResultSetRenderer.query at line 321 of value previously dereferenced in new ca.sqlpower.wabit.report.ResultSetRenderer(ResultSetRenderer) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 320 Medium
Method new ca.sqlpower.wabit.report.ResultSetRenderer(QueryCache, List) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 290 Low

ca.sqlpower.wabit.report.chart.Chart

Bug Category Details Line Priority
Redundant nullcheck of ca.sqlpower.wabit.report.chart.Chart.query, which is known to be non-null in ca.sqlpower.wabit.report.chart.Chart.defineQuery(WabitObject) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 538 Low

ca.sqlpower.wabit.report.chart.ComparableCategoryRow

Bug Category Details Line Priority
ca.sqlpower.wabit.report.chart.ComparableCategoryRow defines compareTo(ComparableCategoryRow) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 48-74 Medium

ca.sqlpower.wabit.report.chart.DatasetUtil

Bug Category Details Line Priority
Method ca.sqlpower.wabit.report.chart.DatasetUtil.createCategoryDataset(List, ResultSet, List) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 121 Low

ca.sqlpower.wabit.report.resultset.ReportPositionRenderer

Bug Category Details Line Priority
Dead store to sectionTotals in ca.sqlpower.wabit.report.resultset.ReportPositionRenderer.createResultSetLayout(Graphics2D, ResultSet, List, ContentBox, boolean) STYLE DLS_DEAD_LOCAL_STORE 150 Low

ca.sqlpower.wabit.sql.parser.SQLANTLRLexer

Bug Category Details Line Priority
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRLexer.mID() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3962-3968 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRLexer.mQUOTEDSTRING() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3667-3678 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRLexer.mQUOTEID() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3813-3823 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRLexer.mSL_COMMENT() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 4136-4149 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRLexer.mTokens() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6730-6737 Low

ca.sqlpower.wabit.sql.parser.SQLANTLRParser

Bug Category Details Line Priority
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target() STYLE DLS_DEAD_LOCAL_STORE 1342 High
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.alias_clause() STYLE DLS_DEAD_LOCAL_STORE 4077 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.from_clause() STYLE DLS_DEAD_LOCAL_STORE 2548 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.func_expr() STYLE DLS_DEAD_LOCAL_STORE 4495 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.groupby_clause() STYLE DLS_DEAD_LOCAL_STORE 6805 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.having_clause() STYLE DLS_DEAD_LOCAL_STORE 6913 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.indirection() STYLE DLS_DEAD_LOCAL_STORE 2407 Medium
Dead store to listTokens in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 126 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.qualified_name() STYLE DLS_DEAD_LOCAL_STORE 2148 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.simple_select() STYLE DLS_DEAD_LOCAL_STORE 492 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_join() STYLE DLS_DEAD_LOCAL_STORE 3277 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_ref() STYLE DLS_DEAD_LOCAL_STORE 3009 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target() STYLE DLS_DEAD_LOCAL_STORE 1385 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target_alias() STYLE DLS_DEAD_LOCAL_STORE 1487 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.where_clause() STYLE DLS_DEAD_LOCAL_STORE 6691 Medium
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.a_expr() STYLE DLS_DEAD_LOCAL_STORE 4776 Low
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.b_expr() STYLE DLS_DEAD_LOCAL_STORE 4912 Low
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.expr_list() STYLE DLS_DEAD_LOCAL_STORE 1106 Low
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.name_list() STYLE DLS_DEAD_LOCAL_STORE 4232 Low
Dead store to stream_retval in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target_list() STYLE DLS_DEAD_LOCAL_STORE 1216 Low
ca.sqlpower.wabit.sql.parser.SQLANTLRParser.getTokenNames() may expose internal representation by returning SQLANTLRParser.tokenNames MALICIOUS_CODE EI_EXPOSE_REP 119 Medium
ca.sqlpower.wabit.sql.parser.SQLANTLRParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 16 Medium
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.a_expr() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 4775 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.alias_clause() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 4076 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.b_expr() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 4911 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.expr_list() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1105 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.from_clause() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2547 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.func_expr() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 4494 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.groupby_clause() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 6804 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.having_clause() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 6912 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.indirection() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2406 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.name_list() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 4231 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.qualified_name() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2147 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.simple_select() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 491 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_join() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 3276 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_ref() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 3008 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1341 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target_alias() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1486 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target_list() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1215 Low
Load of known null value in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.where_clause() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 6690 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.a_expr() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 4776 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.alias_clause() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 4077 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.b_expr() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 4912 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.expr_list() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1106 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.from_clause() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2548 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.func_expr() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 4495 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.groupby_clause() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 6805 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.having_clause() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 6913 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.indirection() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2407 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.name_list() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 4232 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.qualified_name() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2148 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.simple_select() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 492 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_join() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 3277 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_ref() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 3009 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1342 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target_alias() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1487 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target_list() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1216 Low
Redundant nullcheck of retval, which is known to be non-null in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.where_clause() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 6691 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.alias_clause() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 4131-4142 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.e_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 5222-5230 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.f_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 5381-5389 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.from_clause() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2572-2578 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.from_list() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2641-2647 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.func_args() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 4625-4632 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.groupby_clause() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6830-6836 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.h_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 5577-5583 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.having_clause() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6937-6943 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.i_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 5762-5770 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.indirection() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2460-2471 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.into_clause() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1625-1631 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.j_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 5913-5921 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.join_outer() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3803-3809 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.join_qual() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3918-3924 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.join_type() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3726-3733 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.joined_table() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3575-3581 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.l_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6375-6382 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.limit() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 7272-7282 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.opt_alias() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3996-4002 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.opt_distinct() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1004-1010 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.opt_limit() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 7128-7134 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.opt_table() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2058-2064 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.opt_temp_table_name() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1982-1988 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.orderby_clause() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 7053-7059 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.relation_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 4358-4368 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.relation_name() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2252-2258 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.simple_select() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 529-535 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.stmtmulti() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 282-293 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_join() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3324-3330 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_joins() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2798-2806 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.table_ref() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2993-3007 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1326-1340 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.target_alias() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1537-1548 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.unary_op() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6548-6558 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.values_expr() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 832-839 Low
Switch statement found in ca.sqlpower.wabit.sql.parser.SQLANTLRParser.where_clause() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6715-6721 Low

ca.sqlpower.wabit.sql.parser.SQLANTLRParser$DFA20

Bug Category Details Line Priority
Should ca.sqlpower.wabit.sql.parser.SQLANTLRParser$DFA20 be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 7827-7839 Medium

ca.sqlpower.wabit.swingui.InsertVariableButton

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.InsertVariableButton$1 stored into non-transient field InsertVariableButton.clickHandler BAD_PRACTICE SE_BAD_FIELD_STORE 57 Medium

ca.sqlpower.wabit.swingui.NewWorkspaceScreen

Bug Category Details Line Priority
int division result cast to double or float in ca.sqlpower.wabit.swingui.NewWorkspaceScreen.showFrame() STYLE ICAST_IDIV_CAST_TO_DOUBLE 164 Medium

ca.sqlpower.wabit.swingui.NewWorkspaceScreen$2

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.NewWorkspaceScreen$2.windowClosed(WindowEvent) STYLE REC_CATCH_EXCEPTION 131 Medium

ca.sqlpower.wabit.swingui.OpenOnServerMenu

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.OpenOnServerMenu.refresh() STYLE REC_CATCH_EXCEPTION 78 Low
Class ca.sqlpower.wabit.swingui.OpenOnServerMenu defines non-transient non-serializable instance field serviceInfo BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.QueryPanel$1

Bug Category Details Line Priority
Comparison of String objects using == or != in ca.sqlpower.wabit.swingui.QueryPanel$1.propertyChangeEvent(PropertyChangeEvent) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 426 Low

ca.sqlpower.wabit.swingui.QueryPanel$13

Bug Category Details Line Priority
Check for sign of bitwise operation in ca.sqlpower.wabit.swingui.QueryPanel$13.hierarchyChanged(HierarchyEvent) BAD_PRACTICE BIT_SIGNED_CHECK 913 Medium

ca.sqlpower.wabit.swingui.QueryPanel$3

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.QueryPanel$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 538-542 Low

ca.sqlpower.wabit.swingui.QueryPanel$8

Bug Category Details Line Priority
Dead store to db in ca.sqlpower.wabit.swingui.QueryPanel$8.doStuff() STYLE DLS_DEAD_LOCAL_STORE 674 Medium

ca.sqlpower.wabit.swingui.QueryPanel$9

Bug Category Details Line Priority
Dead store to name in ca.sqlpower.wabit.swingui.QueryPanel$9.dragGestureRecognized(DragGestureEvent) STYLE DLS_DEAD_LOCAL_STORE 720 Medium

ca.sqlpower.wabit.swingui.QueryPanel$RowListModel

Bug Category Details Line Priority
Should ca.sqlpower.wabit.swingui.QueryPanel$RowListModel be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 239-246 Medium

ca.sqlpower.wabit.swingui.ServerListMenu

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.ServerListMenu$3 stored into non-transient field ServerListMenu.refillMenu BAD_PRACTICE SE_BAD_FIELD_STORE 158 Medium
ca.sqlpower.wabit.swingui.ServerListMenu$4 stored into non-transient field ServerListMenu.serviceListener BAD_PRACTICE SE_BAD_FIELD_STORE 176 Medium

ca.sqlpower.wabit.swingui.StackedTabComponent

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.StackedTabComponent defines non-transient non-serializable instance field selectedTab BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.StackedTabComponent$StackedTab$1

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.StackedTabComponent$StackedTab$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.StackedTabComponent$StackedTab$2

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.StackedTabComponent$StackedTab$2 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.WabitImagePanel$3

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.WabitImagePanel$3.drop(DropTargetDropEvent) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 146 Medium
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.WabitImagePanel$3.drop(DropTargetDropEvent) STYLE REC_CATCH_EXCEPTION 157 Medium

ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl

Bug Category Details Line Priority
instanceof will always return true in ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl.createEditorPanel(WabitObject), since all ca.sqlpower.wabit.WabitObject are instances of ca.sqlpower.wabit.WabitObject STYLE BC_VACUOUS_INSTANCEOF 1536 Medium
Method ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl.getDatasourceDependencies(WabitObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1183 Medium
Method ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl.createEditorPanel(WabitObject) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 1536 Low

ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$17

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$17.createMenuEntry(WabitServerInfo, Component) STYLE REC_CATCH_EXCEPTION 1400 Low

ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$20

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$20.run() STYLE REC_CATCH_EXCEPTION 1856 Low

ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$SearchTreeCellRenderer

Bug Category Details Line Priority
Should ca.sqlpower.wabit.swingui.WabitSwingSessionContextImpl$SearchTreeCellRenderer be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 741-753 Medium

ca.sqlpower.wabit.swingui.WabitWelcomeScreen$4

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.WabitWelcomeScreen$4 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 181-184 Low

ca.sqlpower.wabit.swingui.WorkspacePanel

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.WorkspacePanel.addJDBCDataSource(JDBCDataSource, WabitSwingSession) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 327 Low
ca.sqlpower.wabit.swingui.WorkspacePanel.addOlap4jDataSource(Olap4jDataSource, WabitSwingSession) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 364 Low

ca.sqlpower.wabit.swingui.WorkspaceTreeListener$3

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.WorkspaceTreeListener$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 473-476 Low

ca.sqlpower.wabit.swingui.action.AboutAction$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.action.AboutAction$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 74-78 Low

ca.sqlpower.wabit.swingui.action.AddDataSourceAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.AddDataSourceAction defines non-transient non-serializable instance field workspace BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.CopyImageAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.CopyImageAction defines non-transient non-serializable instance field image BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.CopyOlapDatasource

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.CopyOlapDatasource defines non-transient non-serializable instance field wds BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.CopyReportAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.CopyReportAction defines non-transient non-serializable instance field layout BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.CopyTemplateAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.CopyTemplateAction defines non-transient non-serializable instance field layout BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.CreateLayoutFromQueryAction

Bug Category Details Line Priority
int division result cast to double or float in ca.sqlpower.wabit.swingui.action.CreateLayoutFromQueryAction.createDefaultLayout(WabitWorkspace, ReportContentRenderer, String) STYLE ICAST_IDIV_CAST_TO_DOUBLE 118 Medium
Class ca.sqlpower.wabit.swingui.action.CreateLayoutFromQueryAction defines non-transient non-serializable instance field workspace BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.ExportSQLScriptAction

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.action.ExportSQLScriptAction.actionPerformed(ActionEvent) may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 85 Low
Class ca.sqlpower.wabit.swingui.action.ExportSQLScriptAction defines non-transient non-serializable instance field query BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.HelpAction

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.action.HelpAction.actionPerformed(ActionEvent) STYLE REC_CATCH_EXCEPTION 61 Low

ca.sqlpower.wabit.swingui.action.ImportWorkspaceAction$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.action.ImportWorkspaceAction$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 87-142 Low

ca.sqlpower.wabit.swingui.action.NewChartAction

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.action.NewChartAction.actionPerformed(ActionEvent) STYLE REC_CATCH_EXCEPTION 87 Low

ca.sqlpower.wabit.swingui.action.NewOLAPQueryAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.NewOLAPQueryAction defines non-transient non-serializable instance field ds BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.NewQueryAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.NewQueryAction defines non-transient non-serializable instance field ds BAD_PRACTICE SE_BAD_FIELD Not available Low
Class ca.sqlpower.wabit.swingui.action.NewQueryAction defines non-transient non-serializable instance field workspace BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.NewServerWorkspaceAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.NewServerWorkspaceAction defines non-transient non-serializable instance field si BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.OpenServerWorkspaceAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.OpenServerWorkspaceAction defines non-transient non-serializable instance field serviceInfo BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.OpenWorkspaceAction

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.action.OpenWorkspaceAction.loadFiles(WabitSwingSessionContext, URI[]) STYLE REC_CATCH_EXCEPTION 127 Low

ca.sqlpower.wabit.swingui.action.ReportFromTemplateAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.ReportFromTemplateAction defines non-transient non-serializable instance field template BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction.actionPerformed(ActionEvent) STYLE REC_CATCH_EXCEPTION 85 Low
Class ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction defines non-transient non-serializable instance field si BAD_PRACTICE SE_BAD_FIELD Not available Low
Class ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction defines non-transient non-serializable instance field workspace BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction$SaveOnServerPanel

Bug Category Details Line Priority
Method new ca.sqlpower.wabit.swingui.action.SaveServerWorkspaceAction$SaveOnServerPanel(SaveServerWorkspaceAction) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 104 Low

ca.sqlpower.wabit.swingui.action.SaveWorkspaceAsAction$SaveAsPrompt$1$1

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.SaveWorkspaceAsAction$SaveAsPrompt$1$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.ShowEditorAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.ShowEditorAction defines non-transient non-serializable instance field workspace BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.action.ShowQueryPropertiesAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.action.ShowQueryPropertiesAction defines non-transient non-serializable instance field query BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.chart.ChartPanel

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.chart.ChartPanel.updateChartFromGUI() STYLE REC_CATCH_EXCEPTION 677 Low
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.chart.ChartPanel.updateChartPreview() STYLE REC_CATCH_EXCEPTION 509 Low

ca.sqlpower.wabit.swingui.chart.ChartTableCellRenderer

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.chart.ChartTableCellRenderer defines non-transient non-serializable instance field chart BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.chart.RefreshDataAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.chart.RefreshDataAction defines non-transient non-serializable instance field chart BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.chart.RevertToDefaultsAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.chart.RevertToDefaultsAction defines non-transient non-serializable instance field chartPanel BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.chart.WabitDrawingSupplier

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.chart.WabitDrawingSupplier.SERIES_COLOURS should be package protected MALICIOUS_CODE MS_PKGPROTECT 41 Medium

ca.sqlpower.wabit.swingui.chart.WabitJFreeChartPanel

Bug Category Details Line Priority
Unchecked/unconfirmed cast from java.awt.Graphics to java.awt.Graphics2D in ca.sqlpower.wabit.swingui.chart.WabitJFreeChartPanel.paintComponent(Graphics) STYLE BC_UNCONFIRMED_CAST 47 Low

ca.sqlpower.wabit.swingui.enterprise.ServerInfoManager$5

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.enterprise.ServerInfoManager$5 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 154-156 Low

ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent defines non-transient non-serializable instance field dropTargetListener BAD_PRACTICE SE_BAD_FIELD Not available Low
Class ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent defines non-transient non-serializable instance field query BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$1

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$1 defines non-transient non-serializable instance field DASHED_STROKE BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$CellSetTableHeaderDropTargetListener

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$CellSetTableHeaderDropTargetListener.importData(JComponent, Transferable, Point) STYLE REC_CATCH_EXCEPTION 344 Low

ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$HierarchyComponent$MouseHandler

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.CellSetTableHeaderComponent$HierarchyComponent$MouseHandler.mousePressed(MouseEvent) STYLE REC_CATCH_EXCEPTION 748 Low

ca.sqlpower.wabit.swingui.olap.CellSetViewer

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.CellSetViewer.updateCellSetViewer(OlapQuery, CellSet) STYLE REC_CATCH_EXCEPTION 302 Low

ca.sqlpower.wabit.swingui.olap.CellSetViewer$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.olap.CellSetViewer$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 113-122 Low

ca.sqlpower.wabit.swingui.olap.CellSetViewer$2

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.olap.CellSetViewer$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 186-193 Low

ca.sqlpower.wabit.swingui.olap.CellSetViewer$3

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.olap.CellSetViewer$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 196-204 Low

ca.sqlpower.wabit.swingui.olap.Olap4JTreeCellRenderer

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.Olap4JTreeCellRenderer.configureJLabel(JLabel, Object) STYLE REC_CATCH_EXCEPTION 109 Low

ca.sqlpower.wabit.swingui.olap.Olap4jTreeModel$OlapTreeRoot

Bug Category Details Line Priority
Should ca.sqlpower.wabit.swingui.olap.Olap4jTreeModel$OlapTreeRoot be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 74-92 Medium

ca.sqlpower.wabit.swingui.olap.OlapMetadataTransferable

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.olap.OlapMetadataTransferable.getTransferData(DataFlavor) may expose internal representation by returning OlapMetadataTransferable.transferData MALICIOUS_CODE EI_EXPOSE_REP 53 Medium
new ca.sqlpower.wabit.swingui.olap.OlapMetadataTransferable(Object[]) may expose internal representation by storing an externally mutable object into OlapMetadataTransferable.transferData MALICIOUS_CODE EI_EXPOSE_REP2 45 Medium

ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$12

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$12.actionPerformed(ActionEvent) STYLE REC_CATCH_EXCEPTION 535 Low

ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$6

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$6 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 337-345 Low

ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$8

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$8.actionPerformed(ActionEvent) STYLE REC_CATCH_EXCEPTION 391 Low

ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$CubeTreeDragGestureListener$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.olap.OlapQueryPanel$CubeTreeDragGestureListener$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 132 Low

ca.sqlpower.wabit.swingui.olap.SlicerPanel

Bug Category Details Line Priority
instanceof will always return true in ca.sqlpower.wabit.swingui.olap.SlicerPanel.updatePanel(), since all org.olap4j.metadata.Measure are instances of org.olap4j.metadata.Measure STYLE BC_VACUOUS_INSTANCEOF 116 Medium
Class ca.sqlpower.wabit.swingui.olap.SlicerPanel defines non-transient non-serializable instance field mouseHandler BAD_PRACTICE SE_BAD_FIELD Not available Low
Class ca.sqlpower.wabit.swingui.olap.SlicerPanel defines non-transient non-serializable instance field olapQuery BAD_PRACTICE SE_BAD_FIELD Not available Low
Class ca.sqlpower.wabit.swingui.olap.SlicerPanel defines non-transient non-serializable instance field slicerPanelDropTargetListener BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.olap.SlicerPanel$SlicerPanelDropTargetListener

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.SlicerPanel$SlicerPanelDropTargetListener.importData(Transferable, Point) STYLE REC_CATCH_EXCEPTION 250 Medium
Exception is caught when Exception is not thrown in ca.sqlpower.wabit.swingui.olap.SlicerPanel$SlicerPanelDropTargetListener.importData(Transferable, Point) STYLE REC_CATCH_EXCEPTION 250 Low

ca.sqlpower.wabit.swingui.report.CellSetSwingRenderer$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.CellSetSwingRenderer$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 63-72 Low

ca.sqlpower.wabit.swingui.report.ChartSwingRenderer$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.ChartSwingRenderer$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 51-58 Low

ca.sqlpower.wabit.swingui.report.ContentBoxNode

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode defines non-transient non-serializable instance field contentBox BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode defines non-transient non-serializable instance field parentPanel BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode defines non-transient non-serializable instance field workspace BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode defines non-transient non-serializable instance field contentRendererListener BAD_PRACTICE SE_BAD_FIELD Not available Low
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode defines non-transient non-serializable instance field inputHandler BAD_PRACTICE SE_BAD_FIELD Not available Low
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode defines non-transient non-serializable instance field swingRenderer BAD_PRACTICE SE_BAD_FIELD Not available Low
ca.sqlpower.wabit.swingui.report.ContentBoxNode$3 stored into non-transient field ContentBoxNode.contentRendererListener BAD_PRACTICE SE_BAD_FIELD_STORE 208 Medium
ca.sqlpower.wabit.swingui.report.ContentBoxNode$1 stored into non-transient field ContentBoxNode.inputHandler BAD_PRACTICE SE_BAD_FIELD_STORE 86 Medium
ca.sqlpower.wabit.swingui.report.ContentBoxNode$2 stored into non-transient field ContentBoxNode.modelChangeHandler BAD_PRACTICE SE_BAD_FIELD_STORE 187 Medium
ca.sqlpower.wabit.swingui.report.CellSetSwingRenderer stored into non-transient field ContentBoxNode.swingRenderer BAD_PRACTICE SE_BAD_FIELD_STORE 232 Low
ca.sqlpower.wabit.swingui.report.ChartSwingRenderer stored into non-transient field ContentBoxNode.swingRenderer BAD_PRACTICE SE_BAD_FIELD_STORE 238 Low
ca.sqlpower.wabit.swingui.report.ImageSwingRenderer stored into non-transient field ContentBoxNode.swingRenderer BAD_PRACTICE SE_BAD_FIELD_STORE 236 Low
ca.sqlpower.wabit.swingui.report.ResultSetSwingRenderer stored into non-transient field ContentBoxNode.swingRenderer BAD_PRACTICE SE_BAD_FIELD_STORE 234 Low
ca.sqlpower.wabit.swingui.report.SwingLabel stored into non-transient field ContentBoxNode.swingRenderer BAD_PRACTICE SE_BAD_FIELD_STORE 240 Low
ca.sqlpower.wabit.swingui.report.ContentBoxNode is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 62-421 Low

ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$1

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$2

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$2 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$3

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.ContentBoxNode$1$3 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.report.GuideAwareBoundsHandle

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.report.GuideAwareBoundsHandle is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 43-98 Low

ca.sqlpower.wabit.swingui.report.GuideNode

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.GuideNode defines non-transient non-serializable instance field inputEventHandler BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class ca.sqlpower.wabit.swingui.report.GuideNode defines non-transient non-serializable instance field marginStroke BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class ca.sqlpower.wabit.swingui.report.GuideNode defines non-transient non-serializable instance field model BAD_PRACTICE SE_BAD_FIELD Not available Medium
ca.sqlpower.wabit.swingui.report.GuideNode$2 stored into non-transient field GuideNode.modelChangeHandler BAD_PRACTICE SE_BAD_FIELD_STORE 217 Medium
ca.sqlpower.wabit.swingui.report.GuideNode$1 stored into non-transient field GuideNode.parentChangeHandler BAD_PRACTICE SE_BAD_FIELD_STORE 132 Medium
ca.sqlpower.wabit.swingui.report.GuideNode is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 54-284 Low

ca.sqlpower.wabit.swingui.report.GuideNode$GuideMouseEventHandler$1

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.GuideNode$GuideMouseEventHandler$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.report.ImageSwingRenderer$ImageEntryPanel

Bug Category Details Line Priority
Switch statement found in new ca.sqlpower.wabit.swingui.report.ImageSwingRenderer$ImageEntryPanel(WabitWorkspace, ImageRenderer) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 91-95 Low

ca.sqlpower.wabit.swingui.report.LayoutPanel

Bug Category Details Line Priority
int division result cast to double or float in ca.sqlpower.wabit.swingui.report.LayoutPanel.zoomToFit() STYLE ICAST_IDIV_CAST_TO_DOUBLE 604 Medium

ca.sqlpower.wabit.swingui.report.LayoutPanel$10

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.LayoutPanel$10 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 474-480 Low

ca.sqlpower.wabit.swingui.report.PDFAction

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 100 Low

ca.sqlpower.wabit.swingui.report.PDFAction$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.PDFAction$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 126-135 Low

ca.sqlpower.wabit.swingui.report.PDFAction$2

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.PDFAction$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 138-153 Low

ca.sqlpower.wabit.swingui.report.PDFAction$3

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.PDFAction$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 156-162 Low

ca.sqlpower.wabit.swingui.report.PageFormatAction

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.PageFormatAction defines non-transient non-serializable instance field page BAD_PRACTICE SE_BAD_FIELD Not available Low

ca.sqlpower.wabit.swingui.report.PageNode

Bug Category Details Line Priority
Class ca.sqlpower.wabit.swingui.report.PageNode defines non-transient non-serializable instance field page BAD_PRACTICE SE_BAD_FIELD Not available Medium
ca.sqlpower.wabit.swingui.report.PageNode$1 stored into non-transient field PageNode.pageChangeHandler BAD_PRACTICE SE_BAD_FIELD_STORE 43 Medium
ca.sqlpower.wabit.swingui.report.PageNode is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 37-111 Low

ca.sqlpower.wabit.swingui.report.PrintAction$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.PrintAction$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 118-127 Low

ca.sqlpower.wabit.swingui.report.PrintAction$2

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.PrintAction$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 130-145 Low

ca.sqlpower.wabit.swingui.report.PrintAction$3

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.PrintAction$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 148-154 Low

ca.sqlpower.wabit.swingui.report.PrintAction$PrintWorker

Bug Category Details Line Priority
Should ca.sqlpower.wabit.swingui.report.PrintAction$PrintWorker be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 55-83 Medium

ca.sqlpower.wabit.swingui.report.PrintPreviewAction

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.report.PrintPreviewAction$5 stored into non-transient field PrintPreviewAction.closeListener BAD_PRACTICE SE_BAD_FIELD_STORE 207 Medium
ca.sqlpower.wabit.swingui.report.PrintPreviewAction$2 stored into non-transient field PrintPreviewAction.keyListener BAD_PRACTICE SE_BAD_FIELD_STORE 80 Medium
ca.sqlpower.wabit.swingui.report.PrintPreviewAction$1 stored into non-transient field PrintPreviewAction.pageIndexListener BAD_PRACTICE SE_BAD_FIELD_STORE 66 Medium

ca.sqlpower.wabit.swingui.report.PrintPreviewAction$2

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.report.PrintPreviewAction$2.keyReleased(KeyEvent) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 90 Low

ca.sqlpower.wabit.swingui.report.ReportQueryTransferable

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.report.ReportQueryTransferable.getTransferData(DataFlavor) may expose internal representation by returning ReportQueryTransferable.queries MALICIOUS_CODE EI_EXPOSE_REP 59 Medium
new ca.sqlpower.wabit.swingui.report.ReportQueryTransferable(WabitObject[]) may expose internal representation by storing an externally mutable object into ReportQueryTransferable.queries MALICIOUS_CODE EI_EXPOSE_REP2 49 Medium

ca.sqlpower.wabit.swingui.report.ResultSetSwingRenderer$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.ResultSetSwingRenderer$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 137-141 Low

ca.sqlpower.wabit.swingui.report.SwingLabel$1

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.SwingLabel$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 119-123 Low

ca.sqlpower.wabit.swingui.report.SwingLabel$2

Bug Category Details Line Priority
The class ca.sqlpower.wabit.swingui.report.SwingLabel$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 137-141 Low

ca.sqlpower.wabit.swingui.report.TemplatePreviewIcon

Bug Category Details Line Priority
Unchecked/unconfirmed cast from java.awt.Graphics to java.awt.Graphics2D in ca.sqlpower.wabit.swingui.report.TemplatePreviewIcon.paintIcon(Component, Graphics, int, int) STYLE BC_UNCONFIRMED_CAST 67 Low
int division result cast to double or float in ca.sqlpower.wabit.swingui.report.TemplatePreviewIcon.paintIcon(Component, Graphics, int, int) STYLE ICAST_IDIV_CAST_TO_DOUBLE 90 Medium

ca.sqlpower.wabit.swingui.tree.FolderNode

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.tree.FolderNode.toString() may return null BAD_PRACTICE NP_TOSTRING_COULD_RETURN_NULL 148 Medium
Switch statement found in ca.sqlpower.wabit.swingui.tree.FolderNode.getChildren() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 119-122 Low
Switch statement found in ca.sqlpower.wabit.swingui.tree.FolderNode.toString() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 145-148 Low

ca.sqlpower.wabit.swingui.tree.SmartTreeTransferable

Bug Category Details Line Priority
ca.sqlpower.wabit.swingui.tree.SmartTreeTransferable.getTransferData(DataFlavor) ignores exceptional return value of java.io.File.mkdir() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 174 Medium

ca.sqlpower.wabit.swingui.tree.WorkspaceTreeCellEditor

Bug Category Details Line Priority
WorkspaceTreeCellEditor.textField not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available Low

ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel

Bug Category Details Line Priority
Unchecked argument of type Object provided where type ca.sqlpower.wabit.WabitObject is expected in ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel.getIndexOfChild(Object, Object) BAD_PRACTICE GC_UNCHECKED_TYPE_IN_GENERIC_CALL 301 Low
Unchecked argument of type Object provided where type FolderNode is expected in ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel.getIndexOfChild(Object, Object) BAD_PRACTICE GC_UNCHECKED_TYPE_IN_GENERIC_CALL 285 Low

ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel$Olap4jTreeObject

Bug Category Details Line Priority
Should ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel$Olap4jTreeObject be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 354-372 Medium

org.jfree.chart.plot.PiePlot3D

Bug Category Details Line Priority
org.jfree.chart.plot.PiePlot3DGradient doesn't override PiePlot3D.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1014-1027 Medium

org.jfree.chart.plot.PiePlot3DGradient

Bug Category Details Line Priority
PiePlot3DGradient.faceGradient not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available Low