The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
125 41 0 0

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.DemoViewerColorInterpolation

Bug Category Details Line Priority
org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.DemoViewerColorInterpolation.styleSheet isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 128 High
Unread public/protected field: org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.DemoViewerColorInterpolation.loop STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 51 Medium

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.DemoViewerJComponents

Bug Category Details Line Priority
new org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.DemoViewerJComponents() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 147 Medium
org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.DemoViewerJComponents.styleSheet isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 150 High

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.MessageConsole

Bug Category Details Line Priority
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.MessageConsole.redirectErr(Color, PrintStream): new java.io.PrintStream(OutputStream, boolean) I18N DM_DEFAULT_ENCODING 85 High
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.MessageConsole.redirectOut(Color, PrintStream): new java.io.PrintStream(OutputStream, boolean) I18N DM_DEFAULT_ENCODING 64 High

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.MessageConsole$ConsoleOutputStream

Bug Category Details Line Priority
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.MessageConsole$ConsoleOutputStream.flush(): org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.MessageConsole$ConsoleOutputStream.toString() I18N DM_DEFAULT_ENCODING 147 High

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SXMGraphs

Bug Category Details Line Priority
org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SXMGraphs.sleep() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 198 High
Dead store to urlFile in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SXMGraphs.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 50 Medium

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.StateInputConnection

Bug Category Details Line Priority
Dead store to x in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.StateInputConnection.paintComponent(Graphics) STYLE DLS_DEAD_LOCAL_STORE 145 Medium

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.StateOutputConnection

Bug Category Details Line Priority
Integral division result cast to double or float in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.StateOutputConnection.paintComponent(Graphics) STYLE ICAST_IDIV_CAST_TO_DOUBLE 59 Medium

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.StateShapeEllipse

Bug Category Details Line Priority
Dead store to redtowhite in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.StateShapeEllipse.paintComponent(Graphics) STYLE DLS_DEAD_LOCAL_STORE 147 Medium
Dead store to x in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.StateShapeEllipse.paintComponent(Graphics) STYLE DLS_DEAD_LOCAL_STORE 153 Medium

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical

Bug Category Details Line Priority
org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.sleep() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 1270 High
Dead store to logo in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.saveGraphGraphActionPerformed(ActionEvent, Graph, SxmGuiAnimator) STYLE DLS_DEAD_LOCAL_STORE 472 High
Dead store to urlFile in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 1277 Medium
Dead store to prefix in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.saveGraphGraphActionPerformed(ActionEvent, Graph, SxmGuiAnimator) STYLE DLS_DEAD_LOCAL_STORE 461 Medium
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.resetAutomatoActionPerformed(ActionEvent, SxmGuiAnimator, Graph): String.getBytes() I18N DM_DEFAULT_ENCODING 536 High
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.saveAutomatoActionPerformed(ActionEvent, SxmGuiAnimator): String.getBytes() I18N DM_DEFAULT_ENCODING 504 High
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.verboseModeActionPermormed(ActionEvent, SxmGuiAnimator): String.getBytes() I18N DM_DEFAULT_ENCODING 524 High
Exceptional return value of java.io.File.delete() ignored in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical.saveGraphGraphActionPerformed(ActionEvent, Graph, SxmGuiAnimator) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 455 Medium

org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical$6

Bug Category Details Line Priority
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical$6.actionPerformed(ActionEvent): String.getBytes() I18N DM_DEFAULT_ENCODING 622 High
Possible null pointer dereference of a in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical$6.actionPerformed(ActionEvent) CORRECTNESS NP_NULL_ON_SOME_PATH 693 Medium
Possible null pointer dereference of a in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical$6.actionPerformed(ActionEvent) CORRECTNESS NP_NULL_ON_SOME_PATH 803 Medium
Possible null pointer dereference of b in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical$6.actionPerformed(ActionEvent) CORRECTNESS NP_NULL_ON_SOME_PATH 693 Medium
Possible null pointer dereference of b in org.jsxm.maven.plugin.jsxmtool.animation.userinterface.gui.SxmGraphical$6.actionPerformed(ActionEvent) CORRECTNESS NP_NULL_ON_SOME_PATH 803 Medium

org.jsxm.maven.plugin.jsxmtool.compilation.sxm.SxmCompiler

Bug Category Details Line Priority
Possible null pointer dereference in org.jsxm.maven.plugin.jsxmtool.compilation.sxm.SxmCompiler.preCompile(boolean, String, String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 232 Medium

org.jsxm.maven.plugin.jsxmtool.creation.javapackagecreation.SxmExternalPackageCreator

Bug Category Details Line Priority
org.jsxm.maven.plugin.jsxmtool.creation.javapackagecreation.SxmExternalPackageCreator.getClassesFromExternalJavaPackage(String, List) is or uses a map or set of URLs, which can be a performance hog PERFORMANCE DMI_COLLECTION_OF_URLS 132 High

org.jsxm.maven.plugin.jsxmtool.utilities.SxmCompilationUtils

Bug Category Details Line Priority
Possible null pointer dereference in org.jsxm.maven.plugin.jsxmtool.utilities.SxmCompilationUtils.compileDirectory(String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 147 Medium
Possible null pointer dereference in org.jsxm.maven.plugin.jsxmtool.utilities.SxmCompilationUtils.generatJavaFromXSD(String, String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 186 Medium

org.jsxm.maven.plugin.jsxmtool.utilities.SxmFileUtils

Bug Category Details Line Priority
Possible null pointer dereference in org.jsxm.maven.plugin.jsxmtool.utilities.SxmFileUtils.traverseDirectory(File, List, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 119 Medium
Possible null pointer dereference in org.jsxm.maven.plugin.jsxmtool.utilities.SxmFileUtils.traverseDirectoryWithExclusion(File, List, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 144 Medium

org.jsxm.maven.plugin.jsxmtool.utilities.SysStreamsLogger$LoggingOutputStream

Bug Category Details Line Priority
Found reliance on default encoding in org.jsxm.maven.plugin.jsxmtool.utilities.SysStreamsLogger$LoggingOutputStream.flush(): new String(byte[]) I18N DM_DEFAULT_ENCODING 207 High

org.jsxm.maven.plugin.mojo.ClassPathEntryAdditionMojo

Bug Category Details Line Priority
Unwritten field: org.jsxm.maven.plugin.mojo.ClassPathEntryAdditionMojo.baseDir CORRECTNESS UWF_UNWRITTEN_FIELD 82 Medium
Unwritten field: org.jsxm.maven.plugin.mojo.ClassPathEntryAdditionMojo.jsxmSpecRootDir CORRECTNESS UWF_UNWRITTEN_FIELD 82 Medium

org.jsxm.maven.plugin.mojo.GenerationMojo

Bug Category Details Line Priority
Unused field: org.jsxm.maven.plugin.mojo.GenerationMojo.generateReport PERFORMANCE UUF_UNUSED_FIELD Medium

org.jsxm.maven.plugin.mojo.HelpMojo

Bug Category Details Line Priority
Unwritten field: org.jsxm.maven.plugin.mojo.HelpMojo.goal CORRECTNESS UWF_UNWRITTEN_FIELD 140 Medium

org.jsxm.maven.plugin.mojo.InternalPackageCreationMojo

Bug Category Details Line Priority
Unwritten field: org.jsxm.maven.plugin.mojo.InternalPackageCreationMojo.baseDir CORRECTNESS UWF_UNWRITTEN_FIELD 93 Medium
Unwritten field: org.jsxm.maven.plugin.mojo.InternalPackageCreationMojo.javaDirectory CORRECTNESS UWF_UNWRITTEN_FIELD 93 Medium

org.jsxm.maven.plugin.mojo.ProfileMojo

Bug Category Details Line Priority
Unused field: org.jsxm.maven.plugin.mojo.ProfileMojo.pdfReportFlag PERFORMANCE UUF_UNUSED_FIELD Medium
Unused field: org.jsxm.maven.plugin.mojo.ProfileMojo.projectName PERFORMANCE UUF_UNUSED_FIELD Medium

Back to top

Version: 1.4.11-RC5. Last Published: 2017-11-30.