The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.act.FunctionSignature.argTypes | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 101 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.act.MethodStub.arglist | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 50 | Medium |
Unread public/protected field: org.catacomb.act.MethodStub.info | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 21 | Medium |
Unread public/protected field: org.catacomb.act.MethodStub.visibility | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.act.SignatureComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 5-26 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.be.ChangeEvent.counter from instance method new org.catacomb.be.ChangeEvent(String, Object) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.be.TimePoint.getProgressDescription() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 56 | Medium |
org.catacomb.be.TimePoint.getProgressDescription() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 55 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in org.catacomb.datalish.SColor.parseColor(String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.datalish.SceneConfig.getPlacements() may expose internal representation by returning SceneConfig.placements | MALICIOUS_CODE | EI_EXPOSE_REP | 45 | Medium |
new org.catacomb.datalish.SceneConfig(double, SpritePlacement[], SpriteEvents) may expose internal representation by storing an externally mutable object into SceneConfig.placements | MALICIOUS_CODE | EI_EXPOSE_REP2 | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.datalish.SpriteMarker.id | PERFORMANCE | URF_UNREAD_FIELD | 13 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.datalish.SpritePart(double[], double[], double, SColor, SColor, int) may expose internal representation by storing an externally mutable object into SpritePart.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 18 | Medium |
new org.catacomb.datalish.SpritePart(double[], double[], double, SColor, SColor, int) may expose internal representation by storing an externally mutable object into SpritePart.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 19 | Medium |
Unread field: org.catacomb.datalish.SpritePart.lineWidth | PERFORMANCE | URF_UNREAD_FIELD | 20 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
integral division result cast to double or float in org.catacomb.datalish.array.Array.intRebinFixedAR(int[][], int, int) | STYLE | ICAST_IDIV_CAST_TO_DOUBLE | 226 | Medium |
The method name org.catacomb.datalish.array.Array.Sp(String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 14-15 | Medium |
The method name org.catacomb.datalish.array.Array.Sq(String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 18-19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.mkdirs() ignored in org.catacomb.dataview.BatchImageMaker.makeFigure(Element) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 85 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.catacomb.dataview.BatchImageMaker.makeMovie(Element) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 129 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.dataview.DView.doneInit from instance method new org.catacomb.dataview.DView(File) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 49 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.dataview.DataviewController.datsrc | PERFORMANCE | URF_UNREAD_FIELD | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null pointer dereference of FrameController.framePlayer in org.catacomb.dataview.FrameController.start() | CORRECTNESS | NP_ALWAYS_NULL | 191 | High |
Read of unwritten field framePlayer in org.catacomb.dataview.FrameController.start() | CORRECTNESS | NP_UNWRITTEN_FIELD | 191 | Medium |
Field only ever set to null: org.catacomb.dataview.FrameController.framePlayer | CORRECTNESS | UWF_NULL_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.dataview.LinePlotElement(double[], double[], Color) may expose internal representation by storing an externally mutable object into LinePlotElement.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 20 | Medium |
new org.catacomb.dataview.LinePlotElement(double[], double[], Color) may expose internal representation by storing an externally mutable object into LinePlotElement.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 21 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.dataview.Plot.wkBox | PERFORMANCE | URF_UNREAD_FIELD | 33 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.dataview.PointsPlotElement(double[], double[], Color, int, int) may expose internal representation by storing an externally mutable object into PointsPlotElement.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 31 | Medium |
new org.catacomb.dataview.PointsPlotElement(double[], double[], Color, int, int) may expose internal representation by storing an externally mutable object into PointsPlotElement.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 32 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.dataview.PolygonPlotElement(double[], double[], Color) may expose internal representation by storing an externally mutable object into PolygonPlotElement.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 20 | Medium |
new org.catacomb.dataview.PolygonPlotElement(double[], double[], Color) may expose internal representation by storing an externally mutable object into PolygonPlotElement.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 21 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.dataview.RasterRowElement(double[], double[], double, double, double, double) may expose internal representation by storing an externally mutable object into RasterRowElement.vals | MALICIOUS_CODE | EI_EXPOSE_REP2 | 23 | Medium |
new org.catacomb.dataview.RasterRowElement(double[], double[], double, double, double, double) may expose internal representation by storing an externally mutable object into RasterRowElement.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.dataview.build.CompoundView.layout | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.dataview.build.DVPanel.title | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Read of unwritten public or protected field xAxis in org.catacomb.dataview.build.DataPlot.makePanel(Context) | STYLE | NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 40 | Medium |
Read of unwritten public or protected field yAxis in org.catacomb.dataview.build.DataPlot.makePanel(Context) | STYLE | NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 41 | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.DataPlot.xAxis | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 40 | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.DataPlot.yAxis | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 41 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.dataview.build.DataSource.binary | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.dataview.build.DataSource.binaryurl | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.dataview.build.DataSource.path | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.DataSource.file | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 126 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.dataview.build.Dataview.height | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.dataview.build.Dataview.name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.dataview.build.Dataview.width | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.Dataview.dataSource | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 52 | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.Dataview.frameSelector | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 122 | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.Dataview.layout | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 101 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Read of unwritten public or protected field color in org.catacomb.dataview.build.Displayable.extractColor() | STYLE | NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 30 | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.Displayable.color | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 30 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.dataview.build.FrameSelector.display | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 24 | Medium |
Unwritten public or protected field: org.catacomb.dataview.build.FrameSelector.source | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.dataview.build.Line.ilabel | PERFORMANCE | URF_UNREAD_FIELD | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.dataview.display.Displayable.label | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 15 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.dataview.display.PolyLine(String, Color, double[], double[], double) may expose internal representation by storing an externally mutable object into PolyLine.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 21 | Medium |
new org.catacomb.dataview.display.PolyLine(String, Color, double[], double[], double) may expose internal representation by storing an externally mutable object into PolyLine.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.dataview.display.ViewConfig.getLimits() may expose internal representation by returning ViewConfig.xyxy | MALICIOUS_CODE | EI_EXPOSE_REP | 22 | Medium |
new org.catacomb.dataview.display.ViewConfig(String, double[]) may expose internal representation by storing an externally mutable object into ViewConfig.xyxy | MALICIOUS_CODE | EI_EXPOSE_REP2 | 12 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.dataview.formats.Mesh2plusTimeDisplay.getFrameValues() may expose internal representation by returning Mesh2plusTimeDisplay.frameValues | MALICIOUS_CODE | EI_EXPOSE_REP | 281 | Medium |
org.catacomb.dataview.formats.Mesh2plusTimeDisplay.getPlotNames() may expose internal representation by returning Mesh2plusTimeDisplay.plotNames | MALICIOUS_CODE | EI_EXPOSE_REP | 124 | Medium |
Unused field: org.catacomb.dataview.formats.Mesh2plusTimeDisplay.plot | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.dataview.formats.MeshDataReader.read(): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 50 | High |
org.catacomb.dataview.formats.MeshDataReader.getData() may expose internal representation by returning MeshDataReader.data | MALICIOUS_CODE | EI_EXPOSE_REP | 168 | Medium |
org.catacomb.dataview.formats.MeshDataReader.getFrameValues() may expose internal representation by returning MeshDataReader.frameValues | MALICIOUS_CODE | EI_EXPOSE_REP | 175 | Medium |
org.catacomb.dataview.formats.MeshDataReader.getMesh() may expose internal representation by returning MeshDataReader.mesh | MALICIOUS_CODE | EI_EXPOSE_REP | 163 | Medium |
Dereference of the result of readLine() without nullcheck in org.catacomb.dataview.formats.MeshDataReader.read() | STYLE | NP_DEREFERENCE_OF_READLINE_VALUE | 55 | Medium |
Dereference of the result of readLine() without nullcheck in org.catacomb.dataview.formats.MeshDataReader.readGridConcs(BufferedReader, int, int) | STYLE | NP_DEREFERENCE_OF_READLINE_VALUE | 136 | Medium |
Dereference of the result of readLine() without nullcheck in org.catacomb.dataview.formats.MeshDataReader.readMesh(BufferedReader, int) | STYLE | NP_DEREFERENCE_OF_READLINE_VALUE | 116 | Medium |
Exception is caught when Exception is not thrown in org.catacomb.dataview.formats.MeshDataReader.read() | STYLE | REC_CATCH_EXCEPTION | 95 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.dataview.formats.PolyLineHandler.getPlotNames() may expose internal representation by returning PolyLineHandler.plotNames | MALICIOUS_CODE | EI_EXPOSE_REP | 70 | Medium |
org.catacomb.dataview.formats.PolyLineHandler.getViewOptions() may expose internal representation by returning PolyLineHandler.viewOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.dataview.formats.SWCDisplay.getViewOptions() may expose internal representation by returning SWCDisplay.viewOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 23 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.catacomb.dataview.formats.SWCDisplay$Node be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 173-180 | Medium |
Unread field: org.catacomb.dataview.formats.SWCDisplay$Node.index | PERFORMANCE | URF_UNREAD_FIELD | 174 | Medium |
Unread field: org.catacomb.dataview.formats.SWCDisplay$Node.z | PERFORMANCE | URF_UNREAD_FIELD | 177 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.dataview.formats.TableDataHandler.getPlotNames() may expose internal representation by returning TableDataHandler.columnNames | MALICIOUS_CODE | EI_EXPOSE_REP | 86 | Medium |
org.catacomb.dataview.formats.TableDataHandler.setColumnNames(String[]) may expose internal representation by storing an externally mutable object into TableDataHandler.columnNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 145 | Medium |
org.catacomb.dataview.formats.TableDataHandler.setData(double[][]) may expose internal representation by storing an externally mutable object into TableDataHandler.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 150 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dereference of the result of readLine() without nullcheck in org.catacomb.dataview.formats.TableDataReader.readBlock(String, BufferedReader) | STYLE | NP_DEREFERENCE_OF_READLINE_VALUE | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in org.catacomb.dataview.gui.DViewPlotController.showPlot(String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null pointer dereference of bim in org.catacomb.dataview.gui.FramePlayerController.makeMiniAnimatedGif(File, int, int) | CORRECTNESS | NP_ALWAYS_NULL | 273 | High |
Non-virtual method call in org.catacomb.dataview.gui.FramePlayerController.makeMiniAnimatedGif(File, int, int) passes null for nonnull parameter of org.catacomb.util.AWTUtil.getScaledBufferedImage(Image, int, int) | CORRECTNESS | NP_NULL_PARAM_DEREF_NONVIRTUAL | 287 | High |
Unused field: org.catacomb.dataview.gui.FramePlayerController.displayPath | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Unused field: org.catacomb.dataview.gui.FramePlayerController.sourcePath | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.dataview.model.Plottable.label | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.catacomb.dataview.read.CustomJarContentReader.ctxt | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.dataview.read.CustomJarReader.readAll(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 51 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.dataview.read.JarImportContext.rootContext | PERFORMANCE | URF_UNREAD_FIELD | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.dataview.read.NumericContentReader(byte[], FUImportContext) may expose internal representation by storing an externally mutable object into NumericContentReader.bytes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 17 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.dataview.read.NumericContentType.claims(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 13 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.dataview.read.URLImportContext.baseURL | PERFORMANCE | URF_UNREAD_FIELD | 17 | Medium |
Unused field: org.catacomb.dataview.read.URLImportContext.baseURLDir | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.dataview.read.XMLContentReader.getMain(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 19 | High |
new org.catacomb.dataview.read.XMLContentReader(byte[], FUImportContext) may expose internal representation by storing an externally mutable object into XMLContentReader.bytes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 13 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.dataview.read.XMLContentType.claims(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 10 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.AbleEffect.state | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 22 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.AbleEffect.target | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.Application.background | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.Application.splashScreen | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruAssemblyPanel in org.catacomb.druid.blocks.AssemblyPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 37 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.AssemblyPanel.canvasColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 51 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.AssemblyPanel.dataModel | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 32 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.AssemblyPanel.shelfColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 55 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.AutonomousPanel.title | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.AutonomousPanel.backgroundColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 47 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.AutonomousPanel.controllerClass | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 54 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruBorderPanel in org.catacomb.druid.blocks.BorderPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 62 | Medium |
Nullcheck of pi at line 55 of value previously dereferenced in org.catacomb.druid.blocks.BorderPanel.populatePanel(DruPanel, Context, GUIPath) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 55 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.BoxPanel.alignment | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruBrowserPanel in org.catacomb.druid.blocks.BrowserPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 25 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.BrowserPanel.content | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 20 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.BrowserPanel.show | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruButton in org.catacomb.druid.blocks.Button.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.CardSelectionEffect.show | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 19 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.CardSelectionEffect.target | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruCheckbox in org.catacomb.druid.blocks.Checkbox.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 59 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.Checkbox.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.CheckboxMenuItem.depends | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 47 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.CheckboxMenuItem.info | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruCheckboxTreePanel in org.catacomb.druid.blocks.CheckboxTree.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 23 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.CheckboxTree.flavor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.ChildrenOf.src | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 18 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruChoice in org.catacomb.druid.blocks.Choice.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 74 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.Choice.required | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.Choice.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Choice.autoset | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 112 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Choice.from | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 122 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Choice.labels | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 100 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Choice.options | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 88 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.CloseEffect.target | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruCollapsiblePanel in org.catacomb.druid.blocks.CollapsiblePanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.ColorChoice.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.ContainerPanel.text | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.DashedLine.align | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.DashedLine.fontweight | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.DashedLine.text | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruDataDisplay in org.catacomb.druid.blocks.DataDisplay.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 49 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.DataDisplay.controls | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.Dialog.backgroundColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 56 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Dialog.title | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 63 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruDrawingCanvas in org.catacomb.druid.blocks.DrawingCanvas.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 46 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.DrawingCanvas.axisColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 54 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.DrawingCanvas.gridColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 50 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruDropBox in org.catacomb.druid.blocks.DropBox.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 28 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.EditorWindow.background | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruExpandingTextArea in org.catacomb.druid.blocks.ExpandingTextArea.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruFloat in org.catacomb.druid.blocks.FloatSlider.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 32 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.FloatSlider.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.Frame.backgroundColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 68 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Frame.info | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 93 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruHTMLPanel in org.catacomb.druid.blocks.HTMLPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 32 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.HTMLPanel.linkAction | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 47 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.HTMLPanel.show | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 43 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruImageLabelPanel in org.catacomb.druid.blocks.ImageLabel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 33 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruButton in org.catacomb.druid.blocks.InfoButton.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruInfoPanel in org.catacomb.druid.blocks.InfoPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 43 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.InfoPanel.sources | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.InitialInfo.info | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 18 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.Insert.name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Insert.controllerClass | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 29 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Insert.source | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 25 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruInt in org.catacomb.druid.blocks.IntSlider.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 28 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.IntSlider.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruKitPanel in org.catacomb.druid.blocks.KitPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.Label.align | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 26 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Label.fontWeight | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 34 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.Label.style | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 30 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruLabelledTextField in org.catacomb.druid.blocks.LabelledTextField.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 60 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.LabelledTextField.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.LabelledTextField.focusAction | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 75 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.LabelledTextField.history | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 55 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.LabelledTextField.report | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruListPanel in org.catacomb.druid.blocks.List.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 52 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.List.order | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 79 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.List.renderer | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 56 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruLogPanel in org.catacomb.druid.blocks.LogPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 32 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.LogPanel.text | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.LogPanel.scope | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 34 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.LogPanel.sources | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 36 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruLoggedButton in org.catacomb.druid.blocks.LoggedButton.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 35 | Medium |
Unread public/protected field: org.catacomb.druid.blocks.LoggedButton.action | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 25 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruMenuButton in org.catacomb.druid.blocks.MenuButton.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 32 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.MenuButton.show | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.MenuItem.depends | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 47 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.MenuItem.info | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruMovieDisplay in org.catacomb.druid.blocks.MovieDisplay.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 50 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.MovieDisplay.controls | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.druid.blocks.Panel.panelcount from instance method new org.catacomb.druid.blocks.Panel() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 54 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruProgressReport in org.catacomb.druid.blocks.ProgressReport.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruRadioButtons in org.catacomb.druid.blocks.RadioButtons.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 45 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.RadioButtons.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.Requisite.source | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruScrollPanel in org.catacomb.druid.blocks.ScrollPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 41 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollPanel.bars | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 43 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollPanel.horizontal | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 65 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollPanel.vertical | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.ScrollableTextPanel.content | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.ScrollableTextPanel.dragSource | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.ScrollableTextPanel.show | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruScrollingCheckboxListPanel in org.catacomb.druid.blocks.ScrollingCheckboxList.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 55 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruScrollingHTMLPanel in org.catacomb.druid.blocks.ScrollingHTMLPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 26 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollingHTMLPanel.content | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 32 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollingHTMLPanel.show | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 37 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollingHTMLPanel.stylesheet | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 41 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruScrollingInfoPanel in org.catacomb.druid.blocks.ScrollingInfoPanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 43 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.ScrollingInfoPanel.action | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.ScrollingInfoPanel.maxlines | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollingInfoPanel.scope | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 48 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.ScrollingInfoPanel.sources | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruScrollingListPanel in org.catacomb.druid.blocks.ScrollingList.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 55 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.SplashScreen.src | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.base.DruStatusBar in org.catacomb.druid.blocks.StatusBar.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.SuggestEffect.target | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.TableTree.options | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 25 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.TableTree.title | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 29 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.TableTree.type | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 21 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruTextArea in org.catacomb.druid.blocks.TextArea.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 45 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.TextArea.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruTextField in org.catacomb.druid.blocks.TextField.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 44 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.TextField.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.TextField.report | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.blocks.TextPanel.content | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.TextPanel.dragSource | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.druid.blocks.TextPanel.show | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruToggleButton in org.catacomb.druid.blocks.ToggleButton.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 42 | Medium |
Unused public or protected field: org.catacomb.druid.blocks.ToggleButton.store | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.catacomb.druid.gui.base.DruPanel to org.catacomb.druid.gui.edit.DruTreePanel in org.catacomb.druid.blocks.TreePanel.populatePanel(DruPanel, Context, GUIPath) | STYLE | BC_UNCONFIRMED_CAST | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.druid.blocks.WindowEditEffect.config | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 20 | Medium |
Unwritten public or protected field: org.catacomb.druid.blocks.WindowEditEffect.target | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 20 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Incorrect lazy initialization and update of static field org.catacomb.druid.build.Context.infoAggregator in org.catacomb.druid.build.Context.getInfoAggregator() | MT_CORRECTNESS | LI_LAZY_INIT_UPDATE_STATIC | 57-58 | Medium |
Write to static field org.catacomb.druid.build.Context.infoAggregator from instance method org.catacomb.druid.build.Context.setInfoAgregator(InfoAggregator) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 198 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.build.Druid.bestRelay(String, HashMap, ActionRelay) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 379 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Incorrect lazy initialization and update of static field org.catacomb.druid.dialog.Dialoguer.progressLogController in org.catacomb.druid.dialog.Dialoguer.getProgressLogger() | MT_CORRECTNESS | LI_LAZY_INIT_UPDATE_STATIC | 139-140 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of toString on args in org.catacomb.druid.gui.base.DruActionRelay.invokeMethod(String, Object[]) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 171 | High |
org.catacomb.druid.gui.base.DruActionRelay.actionB(String, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 52 | Medium |
org.catacomb.druid.gui.base.DruActionRelay.getBoolean(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 78 | Medium |
org.catacomb.druid.gui.base.DruActionRelay.actionI(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 57 | Medium |
org.catacomb.druid.gui.base.DruActionRelay.invokeMethod(String, Object[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 158 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.gui.base.DruScrollingHTMLPanel.pageSupplier | PERFORMANCE | URF_UNREAD_FIELD | 73 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.gui.edit.DruCheckboxListPanel.multiple | PERFORMANCE | URF_UNREAD_FIELD | 190 | Medium |
Unread field: org.catacomb.druid.gui.edit.DruCheckboxListPanel.nrow | PERFORMANCE | URF_UNREAD_FIELD | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.gui.edit.DruCheckboxTreePanel.setTree(Tree) uses the same code for two branches | STYLE | DB_DUPLICATE_BRANCHES | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.gui.edit.DruColorChoice.labelActor | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.gui.edit.DruFloat.labelActor | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.druid.gui.edit.DruInt.labelActor | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.gui.edit.DruListPanel.multiple | PERFORMANCE | URF_UNREAD_FIELD | 43 | Medium |
Unread field: org.catacomb.druid.gui.edit.DruListPanel.nrow | PERFORMANCE | URF_UNREAD_FIELD | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.gui.edit.DruToggleListPanel.nrow | PERFORMANCE | URF_UNREAD_FIELD | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.gui.edit.DruWindowEditEffect.config | PERFORMANCE | URF_UNREAD_FIELD | 16 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.guimodel.Log.name | PERFORMANCE | URF_UNREAD_FIELD | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Incorrect lazy initialization and update of static field org.catacomb.druid.load.DruidAppBase.instance in org.catacomb.druid.load.DruidAppBase.init(String, Object) | MT_CORRECTNESS | LI_LAZY_INIT_UPDATE_STATIC | 40-41 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of s, which is known to be non-null in org.catacomb.druid.load.DruidContentLoader.loadText(DecFile) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 184 | Medium |
Unused field: org.catacomb.druid.load.DruidContentLoader.rootClass | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.mkdir() ignored in new org.catacomb.druid.load.Settings(String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 25 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Hard coded reference to an absolute pathname in new org.catacomb.druid.manifest.DecFile(String) | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.druid.market.HookupBoard.nextBoardNo from instance method new org.catacomb.druid.market.HookupBoard() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of selectionPaths, which is known to be non-null in org.catacomb.druid.swing.CheckTreeSelectionModel.isPartiallySelected(TreePath) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 27 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DChoice.setSelected(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 228 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DFrame.applySetState() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 156 | Medium |
Write to static field org.catacomb.druid.swing.DFrame.FRAME_NORMAL from instance method org.catacomb.druid.swing.DFrame.checkStateSettable() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 130 | Medium |
Write to static field org.catacomb.druid.swing.DFrame.setStateMethod from instance method org.catacomb.druid.swing.DFrame.checkStateSettable() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 129 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null pointer dereference of DImageButton.lact in org.catacomb.druid.swing.DImageButton.actionPerformed(ActionEvent) | CORRECTNESS | NP_ALWAYS_NULL | 75 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DList.setTooltips(String[]) may expose internal representation by storing an externally mutable object into DList.tooltips | MALICIOUS_CODE | EI_EXPOSE_REP2 | 69 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.catacomb.druid.swing.DListProgressRenderer.getListCellRendererComponent(JList, Object, int, boolean, boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 145-167 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DPlainTextEditor.setTarget(String[]) may expose internal representation by storing an externally mutable object into DPlainTextEditor.target | MALICIOUS_CODE | EI_EXPOSE_REP2 | 109 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DPopLabel.setMenuOptions(String[]) may expose internal representation by storing an externally mutable object into DPopLabel.options | MALICIOUS_CODE | EI_EXPOSE_REP2 | 372 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DRadioButtons.setOptions(String[], String[]) may expose internal representation by storing an externally mutable object into DRadioButtons.labels | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DSlider.setValues(String[]) may expose internal representation by storing an externally mutable object into DSlider.values | MALICIOUS_CODE | EI_EXPOSE_REP2 | 120 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.swing.DSplitPaneUI.jcomponent | PERFORMANCE | URF_UNREAD_FIELD | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.DTabbedPane.applyUIColors(Color) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 63 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.swing.DTreeDragSource.recognizer | PERFORMANCE | URF_UNREAD_FIELD | 41 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
instanceof will always return true for all nonnull values in org.catacomb.druid.swing.DTreeDropTarget.dragOver(DropTargetDragEvent), since all org.catacomb.druid.swing.dnd.DragAndDrop are instances of org.catacomb.druid.swing.ImageDragSource | STYLE | BC_VACUOUS_INSTANCEOF | 75 | Medium |
Unread field: org.catacomb.druid.swing.DTreeDropTarget.target | PERFORMANCE | URF_UNREAD_FIELD | 26 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.dnd.DdndTransferable.getTransferDataFlavors() may expose internal representation by returning DdndTransferable.flavors | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of toString on transferFlavors in org.catacomb.druid.swing.dnd.InternalTransferHandler.canImport(JComponent, DataFlavor[]) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 19 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.dnd.Region defines equals(Region) method and uses Object.equals(Object) | CORRECTNESS | EQ_SELF_USE_OBJECT | 66 | Medium |
org.catacomb.druid.swing.dnd.Region defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 66 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.swing.dnd.RegionBoard.dragSource | PERFORMANCE | URF_UNREAD_FIELD | 44 | Medium |
Unread field: org.catacomb.druid.swing.dnd.RegionBoard.dropTarget | PERFORMANCE | URF_UNREAD_FIELD | 41 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.swing.dnd.RegionDragSource.recognizer | PERFORMANCE | URF_UNREAD_FIELD | 26 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
instanceof will always return true for all nonnull values in org.catacomb.druid.swing.dnd.RegionDropTarget.dragOver(DropTargetDragEvent), since all org.catacomb.druid.swing.dnd.DragAndDrop are instances of org.catacomb.druid.swing.ImageDragSource | STYLE | BC_VACUOUS_INSTANCEOF | 71 | Medium |
Nullcheck of bim at line 77 of value previously dereferenced in org.catacomb.druid.swing.dnd.RegionDropTarget.dragOver(DropTargetDragEvent) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 77 | High |
Unread field: org.catacomb.druid.swing.dnd.RegionDropTarget.target | PERFORMANCE | URF_UNREAD_FIELD | 35 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.dnd.RegionStore.getActiveLimits() may expose internal representation by returning RegionStore.activeLims | MALICIOUS_CODE | EI_EXPOSE_REP | 107 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
instanceof will always return true for all nonnull values in org.catacomb.druid.swing.dnd.TextFieldDropTarget.dragOver(DropTargetDragEvent), since all org.catacomb.druid.swing.dnd.DragAndDrop are instances of org.catacomb.druid.swing.ImageDragSource | STYLE | BC_VACUOUS_INSTANCEOF | 57 | Medium |
Nullcheck of bim at line 63 of value previously dereferenced in org.catacomb.druid.swing.dnd.TextFieldDropTarget.dragOver(DropTargetDragEvent) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 63 | High |
Unread field: org.catacomb.druid.swing.dnd.TextFieldDropTarget.target | PERFORMANCE | URF_UNREAD_FIELD | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.swing.split.SplitterLayout.addLayoutComponent(String, Component) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 129 | Medium |
org.catacomb.druid.swing.split.SplitterLayout.dragee should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 80 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.util.tree.RelationTree.getPivotNames() may expose internal representation by returning RelationTree.pivotNames | MALICIOUS_CODE | EI_EXPOSE_REP | 179 | Medium |
org.catacomb.druid.util.tree.RelationTree.setPivotNames(String[]) may expose internal representation by storing an externally mutable object into RelationTree.pivotNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 184 | Medium |
org.catacomb.druid.util.tree.RelationTree.setPivotOrders(String[][]) may expose internal representation by storing an externally mutable object into RelationTree.pivotOrders | MALICIOUS_CODE | EI_EXPOSE_REP2 | 169 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.druid.xtext.base.Block.idInParent | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 14 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.druid.xtext.base.DocStore.iti from instance method org.catacomb.druid.xtext.base.DocStore.nextTextDoc() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.druid.xtext.base.Guise.icolor from instance method org.catacomb.druid.xtext.base.Guise.setNextPaletteColor() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 52 | Medium |
Unread public/protected field: org.catacomb.druid.xtext.base.Guise.slots | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 44 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.xtext.base.TextBlock.getCachedPosition() may expose internal representation by returning TextBlock.cachedLimits | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
Unread field: org.catacomb.druid.xtext.base.TextBlock.cacheTime | PERFORMANCE | URF_UNREAD_FIELD | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.xtext.canvas.DataBoard.height | PERFORMANCE | URF_UNREAD_FIELD | 50 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Nullcheck of tb at line 319 of value previously dereferenced in org.catacomb.druid.xtext.canvas.KeyWriter.deletBackwards() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 319 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.druid.xtext.canvas.TextBoard.height | PERFORMANCE | URF_UNREAD_FIELD | 93 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.druid.xtext.data.XType.getFieldNames() may expose internal representation by returning XType.fieldNames | MALICIOUS_CODE | EI_EXPOSE_REP | 85 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.arbor.SegmentGraph.getLimits() may expose internal representation by returning SegmentGraph.bufLimits | MALICIOUS_CODE | EI_EXPOSE_REP | 245 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.catacomb.graph.arbor.SegmentGraphPainter.sgp1 | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Unused field: org.catacomb.graph.arbor.SegmentGraphPainter.sgp2 | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.arbor.SegmentGraphPoint.getNeighbors() may expose internal representation by returning SegmentGraphPoint.p_nbrCache | MALICIOUS_CODE | EI_EXPOSE_REP | 145 | Medium |
org.catacomb.graph.arbor.SegmentGraphPoint.getProtoNeighbors() may expose internal representation by returning SegmentGraphPoint.p_protoNbrs | MALICIOUS_CODE | EI_EXPOSE_REP | 245 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.graph.arbor.SegmentGraphVE.pressX | PERFORMANCE | URF_UNREAD_FIELD | 233 | Medium |
Unused field: org.catacomb.graph.arbor.SegmentGraphVE.modifiable | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Unused field: org.catacomb.graph.arbor.SegmentGraphVE.selectable | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.graph.drawing.FixedDrawingComponent.fillColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 120 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.FixedDrawingComponent.lineColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 118 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.FixedDrawingComponent.lineWidth | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.graph.drawing.GenericShape.closure | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 68 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.GenericShape.symmetry | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 121 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.drawing.SegmentLine.getXPts() may expose internal representation by returning SegmentLine.p_x | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | Medium |
org.catacomb.graph.drawing.SegmentLine.getYPts() may expose internal representation by returning SegmentLine.p_y | MALICIOUS_CODE | EI_EXPOSE_REP | 59 | Medium |
new org.catacomb.graph.drawing.SegmentLine(double[], double[], Color) may expose internal representation by storing an externally mutable object into SegmentLine.p_x | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
new org.catacomb.graph.drawing.SegmentLine(double[], double[], Color) may expose internal representation by storing an externally mutable object into SegmentLine.p_y | MALICIOUS_CODE | EI_EXPOSE_REP2 | 45 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.SegmentLine.xpts | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 91 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.SegmentLine.xyxy | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 81 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.SegmentLine.ypts | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 93 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.drawing.Shape.getPoints() may expose internal representation by returning Shape.p_points | MALICIOUS_CODE | EI_EXPOSE_REP | 135 | Medium |
org.catacomb.graph.drawing.Shape.getProtoPoints() may expose internal representation by returning Shape.p_protos | MALICIOUS_CODE | EI_EXPOSE_REP | 143 | Medium |
org.catacomb.graph.drawing.Shape.getXPts() may expose internal representation by returning Shape.xpts | MALICIOUS_CODE | EI_EXPOSE_REP | 381 | Medium |
org.catacomb.graph.drawing.Shape.getYPts() may expose internal representation by returning Shape.ypts | MALICIOUS_CODE | EI_EXPOSE_REP | 389 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.Shape.fillColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 215 | Medium |
Unwritten public or protected field: org.catacomb.graph.drawing.Shape.lineColor | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 212 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
public static org.catacomb.graph.drawing.ShapeSymmetry.getSymmetryNames() may expose internal representation by returning ShapeSymmetry.symmetryNames | MALICIOUS_CODE | MS_EXPOSE_REP | 24 | Medium |
org.catacomb.graph.drawing.ShapeSymmetry.symmetryNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 18 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.graph.drawing.VectorIcon.ref | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 41 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.graph.gui.Builder.height | PERFORMANCE | URF_UNREAD_FIELD | 26 | Medium |
Unread field: org.catacomb.graph.gui.Builder.width | PERFORMANCE | URF_UNREAD_FIELD | 25 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten field: org.catacomb.graph.gui.CornerPanel.ibut | CORRECTNESS | UWF_UNWRITTEN_FIELD | 38 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.gui.DataView.getMultiIndexes() may expose internal representation by returning DataView.multiIndexes | MALICIOUS_CODE | EI_EXPOSE_REP | 170 | Medium |
org.catacomb.graph.gui.DataView.getOrdinates() may expose internal representation by returning DataView.ordinates | MALICIOUS_CODE | EI_EXPOSE_REP | 121 | Medium |
org.catacomb.graph.gui.DataView.setMultiIndexes(int[]) may expose internal representation by storing an externally mutable object into DataView.multiIndexes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 166 | Medium |
org.catacomb.graph.gui.DataView.setOrdinates(String[]) may expose internal representation by storing an externally mutable object into DataView.ordinates | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.graph.gui.DisplayStrokes(String[], double[]) may expose internal representation by storing an externally mutable object into DisplayStrokes.styleNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 20 | Medium |
new org.catacomb.graph.gui.DisplayStrokes(String[], double[]) may expose internal representation by storing an externally mutable object into DisplayStrokes.widths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 21 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.gui.DisplayStyleSet.assignIfUnset() uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 186 | Medium |
public static org.catacomb.graph.gui.DisplayStyleSet.getIndexedWidths() may expose internal representation by returning DisplayStyleSet.widths | MALICIOUS_CODE | MS_EXPOSE_REP | 119 | Medium |
public static org.catacomb.graph.gui.DisplayStyleSet.getStyleNames() may expose internal representation by returning DisplayStyleSet.styleNames | MALICIOUS_CODE | MS_EXPOSE_REP | 123 | Medium |
org.catacomb.graph.gui.DisplayStyleSet.styleNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 18 | Medium |
org.catacomb.graph.gui.DisplayStyleSet.widthNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 25 | Medium |
org.catacomb.graph.gui.DisplayStyleSet.widths should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 26 | Medium |
Write to static field org.catacomb.graph.gui.DisplayStyleSet.lineStyleCounter from instance method org.catacomb.graph.gui.DisplayStyleSet.assignIfUnset() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 179 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.catacomb.graph.gui.GraphContextMenu$GCMHandler be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 71-79 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.graph.gui.Iconizer.readStringFromFile(File): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 279 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.gui.Labellee.update(double[], double[], String, Color) may expose internal representation by storing an externally mutable object into Labellee.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 25 | Medium |
org.catacomb.graph.gui.Labellee.update(double[], double[], String, Color) may expose internal representation by storing an externally mutable object into Labellee.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 26 | Medium |
Unread field: org.catacomb.graph.gui.Labellee.xpts | PERFORMANCE | URF_UNREAD_FIELD | 25 | Medium |
Unread field: org.catacomb.graph.gui.Labellee.ypts | PERFORMANCE | URF_UNREAD_FIELD | 26 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.catacomb.graph.gui.MovieDisplay$MDThreadRunner be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 327-335 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.graph.gui.Painter.setColorTable(Color[]) may expose internal representation by storing an externally mutable object into Painter.colorTable | MALICIOUS_CODE | EI_EXPOSE_REP2 | 968 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.graph.gui.PickHandler.clickListener | PERFORMANCE | URF_UNREAD_FIELD | 244 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.catacomb.graph.gui.PickablePoint.p_style | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Unused field: org.catacomb.graph.gui.PickablePoint.p_tip | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of toString on axb in new org.catacomb.graph.gui.PickableRegion(double[], double[], Object) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 36 | High |
org.catacomb.graph.gui.PickableRegion.getXPts() may expose internal representation by returning PickableRegion.xb | MALICIOUS_CODE | EI_EXPOSE_REP | 58 | Medium |
org.catacomb.graph.gui.PickableRegion.getYPts() may expose internal representation by returning PickableRegion.yb | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | Medium |
new org.catacomb.graph.gui.PickableRegion(double[], double[], Object) may expose internal representation by storing an externally mutable object into PickableRegion.xb | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
new org.catacomb.graph.gui.PickableRegion(double[], double[], Object) may expose internal representation by storing an externally mutable object into PickableRegion.yb | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
org.catacomb.graph.gui.PickableRegion.setPoints(double[], double[]) may expose internal representation by storing an externally mutable object into PickableRegion.xb | MALICIOUS_CODE | EI_EXPOSE_REP2 | 88 | Medium |
org.catacomb.graph.gui.PickableRegion.setPoints(double[], double[]) may expose internal representation by storing an externally mutable object into PickableRegion.yb | MALICIOUS_CODE | EI_EXPOSE_REP2 | 89 | Medium |
Unused field: org.catacomb.graph.gui.PickableRegion.label | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.graph.gui.PointPainter.g | PERFORMANCE | URF_UNREAD_FIELD | 15 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.catacomb.graph.gui.RollHandler.aaCache | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.graph.gui.WorldTransform.DBIG; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.icon.splash.Splasher.readInputStream(InputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 116 | High |
Unwritten field: org.catacomb.icon.splash.Splasher.splasher | CORRECTNESS | UWF_UNWRITTEN_FIELD | 27 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.interlish.content.BasicTouchTime.globalCounter from instance method new org.catacomb.interlish.content.BasicTouchTime() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 18 | Medium |
Write to static field org.catacomb.interlish.content.BasicTouchTime.globalCounter from instance method org.catacomb.interlish.content.BasicTouchTime.now() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.content.ColorTable.getColors() may expose internal representation by returning ColorTable.colors | MALICIOUS_CODE | EI_EXPOSE_REP | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.interlish.content.KeyedMultiList.itemClass | PERFORMANCE | URF_UNREAD_FIELD | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.content.Polypoint.getXPts() may expose internal representation by returning Polypoint.xpts | MALICIOUS_CODE | EI_EXPOSE_REP | 80 | Medium |
org.catacomb.interlish.content.Polypoint.getYPts() may expose internal representation by returning Polypoint.ypts | MALICIOUS_CODE | EI_EXPOSE_REP | 84 | Medium |
new org.catacomb.interlish.content.Polypoint(double[], double[], int) may expose internal representation by storing an externally mutable object into Polypoint.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 32 | Medium |
new org.catacomb.interlish.content.Polypoint(double[], double[], int) may expose internal representation by storing an externally mutable object into Polypoint.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 33 | Medium |
org.catacomb.interlish.content.Polypoint.setXpts(double[]) may expose internal representation by storing an externally mutable object into Polypoint.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 71 | Medium |
org.catacomb.interlish.content.Polypoint.setYpts(double[]) may expose internal representation by storing an externally mutable object into Polypoint.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 76 | Medium |
org.catacomb.interlish.content.Polypoint.p_closureNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 18 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.content.QuantifiedListValue.getItems() may expose internal representation by returning QuantifiedListValue.items | MALICIOUS_CODE | EI_EXPOSE_REP | 124 | Medium |
org.catacomb.interlish.content.QuantifiedListValue.getNameValueItems() may expose internal representation by returning QuantifiedListValue.items | MALICIOUS_CODE | EI_EXPOSE_REP | 128 | Medium |
new org.catacomb.interlish.content.QuantifiedListValue(NVPair[]) may expose internal representation by storing an externally mutable object into QuantifiedListValue.items | MALICIOUS_CODE | EI_EXPOSE_REP2 | 25 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.content.RShape.getXPts() may expose internal representation by returning RShape.xpts | MALICIOUS_CODE | EI_EXPOSE_REP | 36 | Medium |
org.catacomb.interlish.content.RShape.getYPts() may expose internal representation by returning RShape.ypts | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
new org.catacomb.interlish.content.RShape(double[], double[], double, SColor, SColor, int) may expose internal representation by storing an externally mutable object into RShape.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 26 | Medium |
new org.catacomb.interlish.content.RShape(double[], double[], double, SColor, SColor, int) may expose internal representation by storing an externally mutable object into RShape.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 27 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.interact.CodgerTask.getExports() may expose internal representation by returning CodgerTask.exports | MALICIOUS_CODE | EI_EXPOSE_REP | 22 | Medium |
new org.catacomb.interlish.interact.CodgerTask(File, String[]) may expose internal representation by storing an externally mutable object into CodgerTask.exports | MALICIOUS_CODE | EI_EXPOSE_REP2 | 14 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of s1 in org.catacomb.interlish.lang.U.same(Object, Object) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 22 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.reflect.Narrower.narrow(String, Object) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 28 | Medium |
org.catacomb.interlish.reflect.Narrower.narrow(String, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 25 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.interlish.reflect.ObjectBuilder.workElt | PERFORMANCE | URF_UNREAD_FIELD | 49 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.reflect.ReflectionConstructor.setField(Object, String, Object) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 373 | Medium |
org.catacomb.interlish.reflect.ReflectionConstructor.setField(Object, String, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 376 | Medium |
Exception is caught when Exception is not thrown in org.catacomb.interlish.reflect.ReflectionConstructor.setArrayField(Object, Field, ArrayList) | STYLE | REC_CATCH_EXCEPTION | 516 | Medium |
Unread field: org.catacomb.interlish.reflect.ReflectionConstructor.search | PERFORMANCE | URF_UNREAD_FIELD | 27 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.report.Message.getBody() may expose internal representation by returning Message.body | MALICIOUS_CODE | EI_EXPOSE_REP | 48 | Medium |
new org.catacomb.interlish.report.Message(String, String[]) may expose internal representation by storing an externally mutable object into Message.body | MALICIOUS_CODE | EI_EXPOSE_REP2 | 23 | Medium |
Unread field: org.catacomb.interlish.report.Message.timestamp | PERFORMANCE | URF_UNREAD_FIELD | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.report.UserLog.log should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.catacomb.interlish.service.AppPersist.applicationName from instance method org.catacomb.interlish.service.AppPersist.setApplicationName(String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 82 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.service.Env.context should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 12 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.interlish.structure.InfoMessage.textLevels should be moved out of an interface and made package protected | MALICIOUS_CODE | MS_OOI_PKGPROTECT | 12 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to logger in org.catacomb.interlish.util.JUtil.copyBinaryResource(Logger, String, File) | STYLE | DLS_DEAD_LOCAL_STORE | 150 | High |
Found reliance on default encoding in org.catacomb.interlish.util.JUtil.readInputStream(Logger, InputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 125 | High |
org.catacomb.interlish.util.JUtil.copyBinaryResource(Logger, String, File) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 161 | Medium |
org.catacomb.interlish.util.JUtil.copyBinaryResource(Logger, String, File) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 163 | Medium |
org.catacomb.interlish.util.JUtil.unpackJar(File, File) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 269 | Medium |
org.catacomb.interlish.util.JUtil.extractJarResources(Object, String, File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 297 | Medium |
org.catacomb.interlish.util.JUtil.extractJarResources(Object, String, File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 320 | Medium |
org.catacomb.interlish.util.JUtil.unpackJar(File, File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 251 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.catacomb.interlish.util.JUtil.extractJarResources(Object, String, File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 304 | Medium |
exceptional return value of java.io.File.mkdir() ignored in org.catacomb.interlish.util.JUtil.extractResources(Logger, String, File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 204 | Medium |
exceptional return value of java.io.File.mkdirs() ignored in org.catacomb.interlish.util.JUtil.unpackJar(File, File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 258 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Vacuous ior operation on AnimatedGifEncoder.java:[line 388] in org.catacomb.movie.gif.AnimatedGifEncoder.writeGraphicCtrlExt() | STYLE | INT_VACUOUS_BIT_OPERATION | 388 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.movie.gif.ByteAccumulator.appendString(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 94 | High |
org.catacomb.movie.gif.ByteAccumulator.getData() may expose internal representation by returning ByteAccumulator.ba | MALICIOUS_CODE | EI_EXPOSE_REP | 58 | Medium |
new org.catacomb.movie.gif.ByteAccumulator(byte[]) may expose internal representation by storing an externally mutable object into ByteAccumulator.ba | MALICIOUS_CODE | EI_EXPOSE_REP2 | 26 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.movie.gif.NeuQuant.alterneigh(int, int, int, int, int) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 405 | Medium |
new org.catacomb.movie.gif.NeuQuant(byte[], int, int) may expose internal representation by storing an externally mutable object into NeuQuant.thepicture | MALICIOUS_CODE | EI_EXPOSE_REP2 | 116 | Medium |
Computation of average could overflow in org.catacomb.movie.gif.NeuQuant.inxbuild() | STYLE | IM_AVERAGE_COMPUTATION_COULD_OVERFLOW | 187 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.numeric.data.AnimSlice.times | PERFORMANCE | URF_UNREAD_FIELD | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.numeric.data.AsciiIO.readTable(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 23 | High |
Dereference of the result of readLine() without nullcheck in org.catacomb.numeric.data.AsciiIO.readTable(File) | STYLE | NP_DEREFERENCE_OF_READLINE_VALUE | 26 | Medium |
org.catacomb.numeric.data.AsciiIO.readTable(File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 23 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.DDSlice.getDData() may expose internal representation by returning DDSlice.data | MALICIOUS_CODE | EI_EXPOSE_REP | 74 | Medium |
org.catacomb.numeric.data.DDSlice.getNames() may expose internal representation by returning DDSlice.elementNames | MALICIOUS_CODE | EI_EXPOSE_REP | 36 | Medium |
new org.catacomb.numeric.data.DDSlice(BlockStack, String, Field, String, String, String[]) may expose internal representation by storing an externally mutable object into DDSlice.elementNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.DDSubSlice.getData() may expose internal representation by returning DDSubSlice.data | MALICIOUS_CODE | EI_EXPOSE_REP | 71 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.DSlice.getData() may expose internal representation by returning DSlice.data | MALICIOUS_CODE | EI_EXPOSE_REP | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.DVector.getData() may expose internal representation by returning DVector.dat | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.DataSetArray.getDataSets() may expose internal representation by returning DataSetArray.bufdsa | MALICIOUS_CODE | EI_EXPOSE_REP | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of org.catacomb.numeric.data.DataSlice.subslice which is known to be null in org.catacomb.numeric.data.DataSlice.getVector() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 258 | Medium |
org.catacomb.numeric.data.DataSlice.resolve(HashMap) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 94 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.DataTable.getColumns() may expose internal representation by returning DataTable.columns | MALICIOUS_CODE | EI_EXPOSE_REP | 106 | Medium |
org.catacomb.numeric.data.DataTable.getHeadings() may expose internal representation by returning DataTable.headings | MALICIOUS_CODE | EI_EXPOSE_REP | 50 | Medium |
org.catacomb.numeric.data.DataTable.setHeadings(String[]) may expose internal representation by storing an externally mutable object into DataTable.headings | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.DoubleArray.getData() may expose internal representation by returning DoubleArray.data | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
new org.catacomb.numeric.data.DoubleArray(double[]) may expose internal representation by storing an externally mutable object into DoubleArray.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 17 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.EventSequence.getChannels() may expose internal representation by returning EventSequence.channels | MALICIOUS_CODE | EI_EXPOSE_REP | 56 | Medium |
org.catacomb.numeric.data.EventSequence.getTimes() may expose internal representation by returning EventSequence.times | MALICIOUS_CODE | EI_EXPOSE_REP | 60 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.FloatRow.getValue() may expose internal representation by returning FloatRow.value | MALICIOUS_CODE | EI_EXPOSE_REP | 26 | Medium |
new org.catacomb.numeric.data.FloatRow(double[]) may expose internal representation by storing an externally mutable object into FloatRow.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 14 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.FloatVector.getValue() may expose internal representation by returning FloatVector.value | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
new org.catacomb.numeric.data.FloatVector(String, double[]) may expose internal representation by storing an externally mutable object into FloatVector.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 15 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.numeric.data.NumDataSetFactory.makes | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.numeric.data.NumDataStore.nrep | PERFORMANCE | URF_UNREAD_FIELD | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.numeric.data.SimpleSpriteBlock.position | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 27 | Medium |
Unread public/protected field: org.catacomb.numeric.data.SimpleSpriteBlock.time | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 26 | Medium |
Unread public/protected field: org.catacomb.numeric.data.SimpleSpriteBlock.wall | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 30 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.data.XYVectorScene.getXPts() may expose internal representation by returning XYVectorScene.xpts | MALICIOUS_CODE | EI_EXPOSE_REP | 22 | Medium |
org.catacomb.numeric.data.XYVectorScene.getYPts() may expose internal representation by returning XYVectorScene.ypts | MALICIOUS_CODE | EI_EXPOSE_REP | 26 | Medium |
new org.catacomb.numeric.data.XYVectorScene(double[], double[], int) may expose internal representation by storing an externally mutable object into XYVectorScene.xpts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 15 | Medium |
new org.catacomb.numeric.data.XYVectorScene(double[], double[], int) may expose internal representation by storing an externally mutable object into XYVectorScene.ypts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 16 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.numeric.difnet.CellPoint.umark | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 45 | Medium |
Unread public/protected field: org.catacomb.numeric.difnet.CellPoint.wmark | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 46 | Medium |
Unused public or protected field: org.catacomb.numeric.difnet.CellPoint.dgx | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.numeric.difnet.CellPoint.dgy | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.numeric.difnet.CellPoint.index | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.numeric.difnet.CellPoint.name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.numeric.difnet.CellPoint.parentIndex | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.catacomb.numeric.difnet.CellPoint.wcount | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.catacomb.numeric.difnet.calc.NetMapNode.capacitance | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The method name org.catacomb.numeric.difnet.calc.OrderedNetMap.Sp(String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 159-160 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.difnet.model.BasicNetRecorder.getRecorderLabels() may expose internal representation by returning BasicNetRecorder.recLabels | MALICIOUS_CODE | EI_EXPOSE_REP | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.difnet.model.BasicNetState.getLinks() may expose internal representation by returning BasicNetState.links | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
org.catacomb.numeric.difnet.model.BasicNetState.getNodes() may expose internal representation by returning BasicNetState.nodes | MALICIOUS_CODE | EI_EXPOSE_REP | 36 | Medium |
new org.catacomb.numeric.difnet.model.BasicNetState(BasicNetStructure, BasicStateNode[], BasicStateLink[]) may expose internal representation by storing an externally mutable object into BasicNetState.links | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
new org.catacomb.numeric.difnet.model.BasicNetState(BasicNetStructure, BasicStateNode[], BasicStateLink[]) may expose internal representation by storing an externally mutable object into BasicNetState.nodes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 29 | Medium |
org.catacomb.numeric.difnet.model.BasicNetState.setLinks(BasicStateLink[]) may expose internal representation by storing an externally mutable object into BasicNetState.links | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
org.catacomb.numeric.difnet.model.BasicNetState.setNodes(BasicStateNode[]) may expose internal representation by storing an externally mutable object into BasicNetState.nodes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
Write to static field org.catacomb.numeric.difnet.model.BasicNetState.istat from instance method org.catacomb.numeric.difnet.model.BasicNetState.setError() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 78 | Medium |
Write to static field org.catacomb.numeric.difnet.model.BasicNetState.istat from instance method org.catacomb.numeric.difnet.model.BasicNetState.setOK() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 82 | Medium |
Unread field: org.catacomb.numeric.difnet.model.BasicNetState.structure | PERFORMANCE | URF_UNREAD_FIELD | 28 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.difnet.model.BasicNetStructure.getLinks() may expose internal representation by returning BasicNetStructure.links | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
org.catacomb.numeric.difnet.model.BasicNetStructure.getNodes() may expose internal representation by returning BasicNetStructure.nodes | MALICIOUS_CODE | EI_EXPOSE_REP | 24 | Medium |
org.catacomb.numeric.difnet.model.BasicNetStructure.setLinks(BasicStructureLink[]) may expose internal representation by storing an externally mutable object into BasicNetStructure.links | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
org.catacomb.numeric.difnet.model.BasicNetStructure.setNodes(BasicStructureNode[]) may expose internal representation by storing an externally mutable object into BasicNetStructure.nodes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.numeric.difnet.model.BasicStateNode.current | PERFORMANCE | URF_UNREAD_FIELD | 54 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.numeric.difnet.model.BasicStructureLink.flip | PERFORMANCE | URF_UNREAD_FIELD | 36 | Medium |
Unused field: org.catacomb.numeric.difnet.model.BasicStructureLink.area | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The method name org.catacomb.numeric.math.DiagonalBlockMatrix.Sp(String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 23-24 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.catacomb.numeric.math.Matrix implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 12-647 | Medium |
new org.catacomb.numeric.math.Matrix(double[][]) may expose internal representation by storing an externally mutable object into Matrix.a | MALICIOUS_CODE | EI_EXPOSE_REP2 | 25 | Medium |
The method name org.catacomb.numeric.math.Matrix.Sp(String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 44-45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.mesh.DifMesh.getPoints() may expose internal representation by returning DifMesh.points | MALICIOUS_CODE | EI_EXPOSE_REP | 22 | Medium |
org.catacomb.numeric.mesh.DifMesh.getRemeshMap() may expose internal representation by returning DifMesh.indexTable | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
org.catacomb.numeric.mesh.DifMesh.setPoints(MeshPoint[]) may expose internal representation by storing an externally mutable object into DifMesh.points | MALICIOUS_CODE | EI_EXPOSE_REP2 | 17 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.catacomb.numeric.mesh.DifMeshBuilder.dmesh | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.numeric.mesh.DifMeshPoint.getNeighbors() may expose internal representation by returning DifMeshPoint.nbrs | MALICIOUS_CODE | EI_EXPOSE_REP | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The method name org.catacomb.numeric.mesh.Discretizer.Sp(String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 371-372 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.report.E.time0 should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 7 | Medium |
org.catacomb.report.E.getMediumSource() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 252 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.serial.jar.CustomJarWriter.write(File): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 90 | High |
org.catacomb.serial.jar.CustomJarWriter.write(File) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 69 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.serial.om.OmElement.toString() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 38 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.serial.quickxml.Element.getElements() may expose internal representation by returning Element.elements | MALICIOUS_CODE | EI_EXPOSE_REP | 216 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.mkdirs() ignored in new org.catacomb.serial.quickxml.XMLFileElement(File, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 21 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.serial.state.FieldState.name | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 13 | Medium |
Unread public/protected field: org.catacomb.serial.state.FieldState.value | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 14 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.serial.state.MainState.mainInstance | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 13 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.serial.state.MainType.mainInstance | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 12 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.catacomb.serial.state.ModelState.mainState | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 27 | Medium |
Unread public/protected field: org.catacomb.serial.state.ModelState.mainType | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 22 | Medium |
Unread public/protected field: org.catacomb.serial.state.ModelState.typeArchive | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 17 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.catacomb.serial.state.TypeClass.catalogID | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of child, which is known to be non-null in org.catacomb.serial.xml.XMLReader.readFieldIntoParent(XMLTokenizer, Object, XMLToken) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 254 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.serial.xml.XMLToken.setAttributes(String[]) may expose internal representation by storing an externally mutable object into XMLToken.attNV | MALICIOUS_CODE | EI_EXPOSE_REP2 | 123 | Medium |
org.catacomb.serial.xml.XMLToken.toString() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.catacomb.serial.xml.XMLTokenizer.nextToken() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 190 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Complicated, subtle or wrong increment in for-loop org.catacomb.util.ArrayUtil.avg(double[][]) | STYLE | QF_QUESTIONABLE_FOR_LOOP | 157 | Medium |
Complicated, subtle or wrong increment in for-loop org.catacomb.util.ArrayUtil.sd(double[][]) | STYLE | QF_QUESTIONABLE_FOR_LOOP | 177 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.util.Base64.decode(String): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 92 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.util.CRC.getCRCString(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 12 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.catacomb.util.ColorDef.value | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 28 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of obj in org.catacomb.util.ColorUtil.parseColor(String) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 116 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.catacomb.util.Diff$change doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 559-566 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.catacomb.util.Diff$file_data(Diff, Object[], Hashtable) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 798 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.util.DiffPrint.slurp(String): new java.io.FileReader(String) | I18N | DM_DEFAULT_ENCODING | 552 | High |
org.catacomb.util.DiffPrint.slurp(String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 552 | Medium |
Switch statement found in org.catacomb.util.DiffPrint.main(String[]) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 575-583 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.util.DiffPrint$Base.setupOutput(): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 79 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.util.DirRef.dirName | PERFORMANCE | URF_UNREAD_FIELD | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.util.FileAccumulator.saveJar(File): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 87 | High |
org.catacomb.util.FileAccumulator.saveJar(File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 88 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of toString on ba in org.catacomb.util.FileUtil.writeByteArrayToFile(byte[], File) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 134 | Medium |
Found reliance on default encoding in org.catacomb.util.FileUtil.readFirstLine(File): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 201 | High |
Found reliance on default encoding in org.catacomb.util.FileUtil.readStringFromFile(File): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 66 | High |
Found reliance on default encoding in org.catacomb.util.FileUtil.writeStringToFile(String, File): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 96 | High |
org.catacomb.util.FileUtil.copyFile(File, File) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 143 | Medium |
org.catacomb.util.FileUtil.copyFile(File, File) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 144 | Medium |
org.catacomb.util.FileUtil.readHeader(File, int) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 19 | Medium |
org.catacomb.util.FileUtil.readBytes(File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 38 | Medium |
org.catacomb.util.FileUtil.writeByteArrayToFile(byte[], File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 130 | Medium |
Nullcheck of f at line 89 of value previously dereferenced in org.catacomb.util.FileUtil.writeStringToFile(String, File) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 87 | Medium |
Exception is caught when Exception is not thrown in org.catacomb.util.FileUtil.copyFile(File, File) | STYLE | REC_CATCH_EXCEPTION | 154 | Medium |
exceptional return value of java.io.File.delete() ignored in org.catacomb.util.FileUtil.clearCache(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 301 | Medium |
exceptional return value of java.io.File.delete() ignored in org.catacomb.util.FileUtil.deleteDir(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 275 | Medium |
exceptional return value of java.io.File.mkdir() ignored in org.catacomb.util.FileUtil.getTempFolder() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 288 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.util.NetUtil.readStringFromURL(URL, ProgressReport): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 83 | High |
org.catacomb.util.NetUtil.readBytes(URL) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 39 | Medium |
org.catacomb.util.NetUtil.readStringFromURL(URL, ProgressReport) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 83 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.catacomb.util.StringTree.exclude | PERFORMANCE | URF_UNREAD_FIELD | 20 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.catacomb.util.StringUtil.regularize(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.report.Debug.dump(String, double[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 12 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of toString on labs in org.textensor.report.E.dump(String, String[]) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 227 | Medium |
org.textensor.report.E.time0 should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 7 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.textensor.stochdiff.ResultWriter.init(String, int): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 50 | High |
Found reliance on default encoding in org.textensor.stochdiff.ResultWriter.init(String, int): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 53 | High |
Found reliance on default encoding in org.textensor.stochdiff.ResultWriter.pruneFrom(String, int, double): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 196 | High |
Found reliance on default encoding in org.textensor.stochdiff.ResultWriter.pruneFrom(String, int, double): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 197 | High |
Found reliance on default encoding in org.textensor.stochdiff.ResultWriter.pruneFromCount(int, double): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 260 | High |
Found reliance on default encoding in org.textensor.stochdiff.ResultWriter.pruneFromCount(int, double): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 258 | High |
org.textensor.stochdiff.ResultWriter.pruneFromCount(int, double) invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 255 | Medium |
sl could be null and is guaranteed to be dereferenced in org.textensor.stochdiff.ResultWriter.pruneFrom(String, int, double) | CORRECTNESS | NP_GUARANTEED_DEREF | 218 | High |
exceptional return value of java.io.File.delete() ignored in org.textensor.stochdiff.ResultWriter.pruneFrom(String, int, double) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 225 | Medium |
exceptional return value of java.io.File.renameTo(File) ignored in org.textensor.stochdiff.ResultWriter.pruneFrom(String, int, double) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 194 | Medium |
exceptional return value of java.io.File.delete() ignored in org.textensor.stochdiff.ResultWriter.pruneFromCount(int, double) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 249 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.disc.CurvedVolumeSlice.getNazimuthals() may expose internal representation by returning CurvedVolumeSlice.nazim | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
org.textensor.stochdiff.disc.CurvedVolumeSlice.getRadii(int) may expose internal representation by returning CurvedVolumeSlice.bdsb | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
org.textensor.stochdiff.disc.CurvedVolumeSlice.getRadialSplit(double, int, double[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 417 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.disc.DiscBoxer(TreePoint[], double[]) may expose internal representation by storing an externally mutable object into DiscBoxer.srcPoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
new org.textensor.stochdiff.disc.DiscBoxer(TreePoint[], double[]) may expose internal representation by storing an externally mutable object into DiscBoxer.surfaceLayers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
Unread field: org.textensor.stochdiff.disc.DiscBoxer.surfaceLayers | PERFORMANCE | URF_UNREAD_FIELD | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.disc.DiscSplitter(TreePoint[], double, HashMap, double[], double) may expose internal representation by storing an externally mutable object into DiscSplitter.srcPoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
new org.textensor.stochdiff.disc.DiscSplitter(TreePoint[], double, HashMap, double[], double) may expose internal representation by storing an externally mutable object into DiscSplitter.surfaceLayers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.disc.DiscretizedSpine.getBoundaries() may expose internal representation by returning DiscretizedSpine.boundaries | MALICIOUS_CODE | EI_EXPOSE_REP | 19 | Medium |
org.textensor.stochdiff.disc.DiscretizedSpine.getLabels() may expose internal representation by returning DiscretizedSpine.labels | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
org.textensor.stochdiff.disc.DiscretizedSpine.getRegions() may expose internal representation by returning DiscretizedSpine.regions | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
org.textensor.stochdiff.disc.DiscretizedSpine.getWidths() may expose internal representation by returning DiscretizedSpine.widths | MALICIOUS_CODE | EI_EXPOSE_REP | 23 | Medium |
new org.textensor.stochdiff.disc.DiscretizedSpine(double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into DiscretizedSpine.boundaries | MALICIOUS_CODE | EI_EXPOSE_REP2 | 11 | Medium |
new org.textensor.stochdiff.disc.DiscretizedSpine(double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into DiscretizedSpine.labels | MALICIOUS_CODE | EI_EXPOSE_REP2 | 13 | Medium |
new org.textensor.stochdiff.disc.DiscretizedSpine(double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into DiscretizedSpine.regions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 14 | Medium |
new org.textensor.stochdiff.disc.DiscretizedSpine(double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into DiscretizedSpine.widths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 12 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.disc.LineBoxer(TreePoint[], double[], double) may expose internal representation by storing an externally mutable object into LineBoxer.srcPoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 49 | Medium |
new org.textensor.stochdiff.disc.LineBoxer(TreePoint[], double[], double) may expose internal representation by storing an externally mutable object into LineBoxer.surfaceLayers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 50 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of org.textensor.stochdiff.disc.Resolution.deltaHM, which is known to be non-null in org.textensor.stochdiff.disc.Resolution.getLocalDelta(TreePoint, TreePoint) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.disc.SegmentSlicer(TreePoint[]) may expose internal representation by storing an externally mutable object into SegmentSlicer.srcPoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.disc.TreeBoxDiscretizer(TreePoint[]) may expose internal representation by storing an externally mutable object into TreeBoxDiscretizer.srcPoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.disc.TreeCurvedElementDiscretizer(TreePoint[]) may expose internal representation by storing an externally mutable object into TreeCurvedElementDiscretizer.srcPoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.inter.SDState.getData() may expose internal representation by returning SDState.conc | MALICIOUS_CODE | EI_EXPOSE_REP | 14 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.textensor.stochdiff.model.ConcentrationSet.complete | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.textensor.stochdiff.model.ConcentrationSet.region | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 65 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.textensor.stochdiff.model.Discretization.surfaceLayers | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 90 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.textensor.stochdiff.model.MaxAspectRatio.value | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 13 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.textensor.stochdiff.model.MorphPoint.r_segment | PERFORMANCE | URF_UNREAD_FIELD | 58 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.textensor.stochdiff.model.OutputScheme.outputSetHM | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.textensor.stochdiff.model.OutputSet.dt | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 62 | Medium |
Unwritten public or protected field: org.textensor.stochdiff.model.OutputSet.filename | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 54 | Medium |
Unwritten public or protected field: org.textensor.stochdiff.model.OutputSet.region | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.textensor.stochdiff.model.Reaction.Q10 | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.model.Reaction.id | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.textensor.stochdiff.model.ReactionScheme.reactionHM | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.textensor.stochdiff.model.Specie.name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Field only ever set to null: org.textensor.stochdiff.model.Specie.kdiffunit | CORRECTNESS | UWF_NULL_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten public or protected field: org.textensor.stochdiff.model.SpecieRef.specieID | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 20 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.textensor.stochdiff.model.SurfaceDensitySet.complete | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.textensor.stochdiff.model.SurfaceDensitySet.region | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 65 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.model.SurfaceLayers.getValues() may expose internal representation by returning SurfaceLayers.values | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.textensor.stochdiff.neuroml.MetaItem.name | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 28 | Medium |
Unread public/protected field: org.textensor.stochdiff.neuroml.MetaItem.value | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 37 | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.MetaItem.meta_name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.MetaItem.meta_property | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.MetaItem.meta_tag | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.MetaItem.meta_value | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.textensor.stochdiff.neuroml.cable doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 5-42 | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.cable.fractAlongParent | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unwritten public or protected field: org.textensor.stochdiff.neuroml.cable.meta_group | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.textensor.stochdiff.neuroml.cell doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 13-90 | Medium |
Unused field: org.textensor.stochdiff.neuroml.cell.srcptHM | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.cell.name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.cell.notes | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.textensor.stochdiff.neuroml.meta doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 11-52 | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.meta.tag | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.meta.value | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.textensor.stochdiff.neuroml.morphml doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 12-78 | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.id | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.lengthUnits | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.length_units | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.xmlns | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.xmlns_cml | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.xmlns_meta | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.xmlns_mml | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.xmlns_xsi | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.morphml.xsi_schemaLocation | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.textensor.stochdiff.neuroml.segment doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 11-76 | Medium |
Unused public or protected field: org.textensor.stochdiff.neuroml.segment.properties | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.BaseCalc.getNanoMolarConcentrations() may expose internal representation by returning BaseCalc.baseConcentrations | MALICIOUS_CODE | EI_EXPOSE_REP | 354 | Medium |
org.textensor.stochdiff.numeric.BaseCalc.getRegionConcentrations() may expose internal representation by returning BaseCalc.regionConcentrations | MALICIOUS_CODE | EI_EXPOSE_REP | 361 | Medium |
org.textensor.stochdiff.numeric.BaseCalc.getRegionSurfaceDensities() may expose internal representation by returning BaseCalc.regionSurfaceDensities | MALICIOUS_CODE | EI_EXPOSE_REP | 365 | Medium |
org.textensor.stochdiff.numeric.BaseCalc.getRevisedRegionConcentrations() may expose internal representation by returning BaseCalc.regionConcentrations | MALICIOUS_CODE | EI_EXPOSE_REP | 374 | Medium |
org.textensor.stochdiff.numeric.BaseCalc.getRevisedRegionSurfaceDensities() may expose internal representation by returning BaseCalc.regionSurfaceDensities | MALICIOUS_CODE | EI_EXPOSE_REP | 380 | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.BaseCalc.dt_list | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.BaseCalc.filename_list | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.BaseCalc.n_list | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.BaseCalc.region_list | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.BaseCalc.specie_names_list | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.StaticCalc.getVolumes() may expose internal representation by returning StaticCalc.volumes | MALICIOUS_CODE | EI_EXPOSE_REP | 136 | Medium |
Field StaticCalc.sdRun masks field in superclass org.textensor.stochdiff.numeric.BaseCalc | CORRECTNESS | MF_CLASS_MASKS_FIELD | Not available | Medium |
Unread field: org.textensor.stochdiff.numeric.StaticCalc.regionLabels | PERFORMANCE | URF_UNREAD_FIELD | 64 | Medium |
Unread field: org.textensor.stochdiff.numeric.StaticCalc.submembranes | PERFORMANCE | URF_UNREAD_FIELD | 63 | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.StaticCalc.sdRun | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.chem.ReactionTable.getDiffusionConstants() may expose internal representation by returning ReactionTable.diffusionConstants | MALICIOUS_CODE | EI_EXPOSE_REP | 144 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.getProductIndices() may expose internal representation by returning ReactionTable.productIndices | MALICIOUS_CODE | EI_EXPOSE_REP | 324 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.getProductStochiometry() may expose internal representation by returning ReactionTable.productStochiometry | MALICIOUS_CODE | EI_EXPOSE_REP | 334 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.getRates() may expose internal representation by returning ReactionTable.rates | MALICIOUS_CODE | EI_EXPOSE_REP | 313 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.getReactantIndices() may expose internal representation by returning ReactionTable.reactantIndices | MALICIOUS_CODE | EI_EXPOSE_REP | 319 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.getReactantStochiometry() may expose internal representation by returning ReactionTable.reactantStochiometry | MALICIOUS_CODE | EI_EXPOSE_REP | 329 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.getSpecieIDs() may expose internal representation by returning ReactionTable.speciesIDs | MALICIOUS_CODE | EI_EXPOSE_REP | 50 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.getSpeciesIDs() may expose internal representation by returning ReactionTable.speciesIDs | MALICIOUS_CODE | EI_EXPOSE_REP | 129 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.setDiffusionConstants(double[]) may expose internal representation by storing an externally mutable object into ReactionTable.diffusionConstants | MALICIOUS_CODE | EI_EXPOSE_REP2 | 139 | Medium |
org.textensor.stochdiff.numeric.chem.ReactionTable.setSpeciesIDs(String[]) may expose internal representation by storing an externally mutable object into ReactionTable.speciesIDs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 124 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.grid.SteppedStochaticGridCalc.init() invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 363 | Medium |
org.textensor.stochdiff.numeric.grid.SteppedStochaticGridCalc.parallelAndSharedDiffusionStep(int, int) invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 851 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.math.Column.getData() may expose internal representation by returning Column.dat | MALICIOUS_CODE | EI_EXPOSE_REP | 65 | Medium |
new org.textensor.stochdiff.numeric.math.Column(double[]) may expose internal representation by storing an externally mutable object into Column.dat | MALICIOUS_CODE | EI_EXPOSE_REP2 | 17 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.textensor.stochdiff.numeric.math.Matrix implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 13-806 | Medium |
new org.textensor.stochdiff.numeric.math.Matrix(double[][]) may expose internal representation by storing an externally mutable object into Matrix.a | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
org.textensor.stochdiff.numeric.math.Matrix.COLUMN isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 17 | High |
org.textensor.stochdiff.numeric.math.Matrix.ROW isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 16 | High |
The method name org.textensor.stochdiff.numeric.math.Matrix.Sp(String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 91-92 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Vacuous iand operation on MersenneTwister.java:[line 73] in org.textensor.stochdiff.numeric.math.MersenneTwister.setSeed(long) | STYLE | INT_VACUOUS_BIT_OPERATION | 73 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to nv in org.textensor.stochdiff.numeric.morph.CurvedVolumeElement.getText3D() | STYLE | DLS_DEAD_LOCAL_STORE | 120 | Medium |
org.textensor.stochdiff.numeric.morph.CurvedVolumeElement.setTriangles(int[], float[][], float[][]) may expose internal representation by storing an externally mutable object into CurvedVolumeElement.norms | MALICIOUS_CODE | EI_EXPOSE_REP2 | 109 | Medium |
org.textensor.stochdiff.numeric.morph.CurvedVolumeElement.setTriangles(int[], float[][], float[][]) may expose internal representation by storing an externally mutable object into CurvedVolumeElement.stripLengths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 107 | Medium |
org.textensor.stochdiff.numeric.morph.CurvedVolumeElement.setTriangles(int[], float[][], float[][]) may expose internal representation by storing an externally mutable object into CurvedVolumeElement.verts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 108 | Medium |
Unread field: org.textensor.stochdiff.numeric.morph.CurvedVolumeElement.iazimuthal | PERFORMANCE | URF_UNREAD_FIELD | 102 | Medium |
Unread field: org.textensor.stochdiff.numeric.morph.CurvedVolumeElement.iradial | PERFORMANCE | URF_UNREAD_FIELD | 101 | Medium |
Format string should use %n rather than \n in org.textensor.stochdiff.numeric.morph.CurvedVolumeElement.getText3D() | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 124 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.morph.SpineDistribution.getPopulations() may expose internal representation by returning SpineDistribution.populations | MALICIOUS_CODE | EI_EXPOSE_REP | 15 | Medium |
new org.textensor.stochdiff.numeric.morph.SpineDistribution(SpinePopulation[]) may expose internal representation by storing an externally mutable object into SpineDistribution.populations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 10 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.morph.SpineProfile.getLabels() may expose internal representation by returning SpineProfile.labels | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.textensor.stochdiff.numeric.morph.SpineProfile.getRegions() may expose internal representation by returning SpineProfile.regions | MALICIOUS_CODE | EI_EXPOSE_REP | 43 | Medium |
org.textensor.stochdiff.numeric.morph.SpineProfile.getWidths() may expose internal representation by returning SpineProfile.widths | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
org.textensor.stochdiff.numeric.morph.SpineProfile.getXPts() may expose internal representation by returning SpineProfile.lpoints | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
new org.textensor.stochdiff.numeric.morph.SpineProfile(String, double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into SpineProfile.labels | MALICIOUS_CODE | EI_EXPOSE_REP2 | 20 | Medium |
new org.textensor.stochdiff.numeric.morph.SpineProfile(String, double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into SpineProfile.lpoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 17 | Medium |
new org.textensor.stochdiff.numeric.morph.SpineProfile(String, double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into SpineProfile.regions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 21 | Medium |
new org.textensor.stochdiff.numeric.morph.SpineProfile(String, double[], double[], String[], String[]) may expose internal representation by storing an externally mutable object into SpineProfile.widths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 18 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused public or protected field: org.textensor.stochdiff.numeric.morph.TreePoint.dgx | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.morph.TreePoint.dgy | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Unused public or protected field: org.textensor.stochdiff.numeric.morph.TreePoint.name | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.numeric.morph.TreeWriter(TreePoint[]) may expose internal representation by storing an externally mutable object into TreeWriter.points | MALICIOUS_CODE | EI_EXPOSE_REP2 | 14 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.morph.VolumeElement.getSurfaceBoundary() may expose internal representation by returning VolumeElement.surfaceBoundary | MALICIOUS_CODE | EI_EXPOSE_REP | 151 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeElement.setBoundary(Position[]) may expose internal representation by storing an externally mutable object into VolumeElement.boundary | MALICIOUS_CODE | EI_EXPOSE_REP2 | 143 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeElement.setSurfaceBoundary(Position[]) may expose internal representation by storing an externally mutable object into VolumeElement.surfaceBoundary | MALICIOUS_CODE | EI_EXPOSE_REP2 | 147 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.morph.VolumeGrid.makeAreaHM() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 419 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getElementVolumes() may expose internal representation by returning VolumeGrid.volumes | MALICIOUS_CODE | EI_EXPOSE_REP | 251 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getExposedAreas() may expose internal representation by returning VolumeGrid.exposedAreas | MALICIOUS_CODE | EI_EXPOSE_REP | 255 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getPerElementCouplingConstants() may expose internal representation by returning VolumeGrid.eltNbrG | MALICIOUS_CODE | EI_EXPOSE_REP | 271 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getPerElementNeighbors() may expose internal representation by returning VolumeGrid.eltNbrs | MALICIOUS_CODE | EI_EXPOSE_REP | 266 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getRegionIndexes() may expose internal representation by returning VolumeGrid.eltRegions | MALICIOUS_CODE | EI_EXPOSE_REP | 239 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getRegionLabels() may expose internal representation by returning VolumeGrid.regionLabels | MALICIOUS_CODE | EI_EXPOSE_REP | 281 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getSubmembranes() may expose internal representation by returning VolumeGrid.submembranes | MALICIOUS_CODE | EI_EXPOSE_REP | 261 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.getMatches(HashMap, String) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 387 | Medium |
org.textensor.stochdiff.numeric.morph.VolumeGrid.makeAreaHM() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 434 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.textensor.stochdiff.numeric.morph.VolumeLine(int, int, double[], double, double) may expose internal representation by storing an externally mutable object into VolumeLine.slw | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
Computation of average could overflow in org.textensor.stochdiff.numeric.morph.VolumeLine.lineFill(Position, Position, String, String) | STYLE | IM_AVERAGE_COMPUTATION_COULD_OVERFLOW | 133 | Medium |
Private method org.textensor.stochdiff.numeric.morph.VolumeLine.makeRanges(double, int) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 314-321 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.stochastic.DiscretePStepGenerator.getGenerator(double) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Computation of average could overflow in org.textensor.stochdiff.numeric.stochastic.NGoTable.nGoBS(double) | STYLE | IM_AVERAGE_COMPUTATION_COULD_OVERFLOW | 168 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.numeric.tmp.Tmp1A.init() invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 319 | Medium |
org.textensor.stochdiff.numeric.tmp.Tmp1A.parallelAndSharedDiffusionStep(int, int) invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 771 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.stochdiff.reduce.Reducer.printconc(double[][]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 246 | Medium |
org.textensor.stochdiff.reduce.Reducer.reduce() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 149 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Computation of average could overflow in org.textensor.util.ArrayUtil.findBracket(double[], double) | STYLE | IM_AVERAGE_COMPUTATION_COULD_OVERFLOW | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of toString on ba in org.textensor.util.FileUtil.writeByteArrayToFile(byte[], File) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 136 | Medium |
Found reliance on default encoding in org.textensor.util.FileUtil.readFirstLine(File): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 203 | High |
Found reliance on default encoding in org.textensor.util.FileUtil.readStringFromFile(File): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 67 | High |
Found reliance on default encoding in org.textensor.util.FileUtil.writeStringToFile(String, File): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 98 | High |
org.textensor.util.FileUtil.copyFile(File, File) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 145 | Medium |
org.textensor.util.FileUtil.copyFile(File, File) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 146 | Medium |
org.textensor.util.FileUtil.readHeader(File, int) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 20 | Medium |
org.textensor.util.FileUtil.readBytes(File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 39 | Medium |
org.textensor.util.FileUtil.writeByteArrayToFile(byte[], File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 132 | Medium |
Nullcheck of f at line 91 of value previously dereferenced in org.textensor.util.FileUtil.writeStringToFile(String, File) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 89 | Medium |
Exception is caught when Exception is not thrown in org.textensor.util.FileUtil.copyFile(File, File) | STYLE | REC_CATCH_EXCEPTION | 156 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to itok in org.textensor.vis.ElementReader.nextFloat(StreamTokenizer) | STYLE | DLS_DEAD_LOCAL_STORE | 79 | Medium |
Dead store to itok in org.textensor.vis.ElementReader.nextInt(StreamTokenizer) | STYLE | DLS_DEAD_LOCAL_STORE | 66 | Medium |
Found reliance on default encoding in org.textensor.vis.ElementReader.read(): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 26 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.vis.Icing3DViewer.reallyBuildVewable(Object) may expose internal representation by storing an externally mutable object into Icing3DViewer.cachedPoints | MALICIOUS_CODE | EI_EXPOSE_REP2 | 100 | Medium |
Redundant nullcheck of obj, which is known to be non-null in org.textensor.vis.Icing3DViewer.makeColor(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 157 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.textensor.vis.IcingPoint.partof | PERFORMANCE | URF_UNREAD_FIELD | 27 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.vis.SceneGraphViewer.hideShape(Shape3D) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 613 | Medium |
org.textensor.vis.SceneGraphViewer.showAll() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 473 | Medium |
org.textensor.vis.SceneGraphViewer.showFraction(double) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 445 | Medium |
org.textensor.vis.SceneGraphViewer.showShape(Shape3D) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 629 | Medium |
org.textensor.vis.SceneGraphViewer.toggleHideShape(Shape3D) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 599 | Medium |
SceneItem is incompatible with expected argument type String in org.textensor.vis.SceneGraphViewer.removeUnlistedDecoration(HashSet) | CORRECTNESS | GC_UNRELATED_TYPES | 886 | High |
SceneItem is incompatible with expected argument type String in org.textensor.vis.SceneGraphViewer.setDecoration(String, BranchGroup, boolean) | CORRECTNESS | GC_UNRELATED_TYPES | 872 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.vis.VolElt.getLens() may expose internal representation by returning VolElt.lens | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
org.textensor.vis.VolElt.getNorms() may expose internal representation by returning VolElt.norms | MALICIOUS_CODE | EI_EXPOSE_REP | 36 | Medium |
org.textensor.vis.VolElt.getVerts() may expose internal representation by returning VolElt.verts | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
new org.textensor.vis.VolElt(int[], float[], float[]) may expose internal representation by storing an externally mutable object into VolElt.lens | MALICIOUS_CODE | EI_EXPOSE_REP2 | 17 | Medium |
new org.textensor.vis.VolElt(int[], float[], float[]) may expose internal representation by storing an externally mutable object into VolElt.norms | MALICIOUS_CODE | EI_EXPOSE_REP2 | 19 | Medium |
new org.textensor.vis.VolElt(int[], float[], float[]) may expose internal representation by storing an externally mutable object into VolElt.verts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 18 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.xml.Narrower.narrow(String, Object) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 26 | Medium |
org.textensor.xml.Narrower.narrow(String, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 23 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.textensor.xml.ReflectionInstantiator.search | PERFORMANCE | URF_UNREAD_FIELD | 17 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of child, which is known to be non-null in org.textensor.xml.XMLReader.readFieldIntoParent(XMLTokenizer, Object, XMLToken) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 243 | Medium |
Unread field: org.textensor.xml.XMLReader.progressFraction | PERFORMANCE | URF_UNREAD_FIELD | 50 | Medium |
Unread field: org.textensor.xml.XMLReader.sourceLength | PERFORMANCE | URF_UNREAD_FIELD | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.textensor.xml.XMLReader$XMLHolder be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 81-92 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.textensor.xml.XMLToken.setAttributes(String[]) may expose internal representation by storing an externally mutable object into XMLToken.attNV | MALICIOUS_CODE | EI_EXPOSE_REP2 | 120 | Medium |
org.textensor.xml.XMLToken.toString() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 94 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of sval in org.textensor.xml.XMLTokenizer.nextToken() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 203 | Medium |
org.textensor.xml.XMLTokenizer.nextToken() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 191 | Medium |
Unused field: org.textensor.xml.XMLTokenizer.count | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |