The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Max
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
154 | 19 | 0 | 0 |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to $L1 in org.sf.jlaunchpad.util.Checksum.execute() | STYLE | DLS_DEAD_LOCAL_STORE | 229 |
Dead store to $L11 in org.sf.jlaunchpad.util.Checksum.generateChecksums() | STYLE | DLS_DEAD_LOCAL_STORE | 406 |
org.sf.jlaunchpad.util.Checksum.generateChecksums() may fail to close stream on exception | BAD_PRACTICE | OS_OPEN_STREAM_EXCEPTION_PATH | 390 |
Exception is caught when Exception is not thrown in org.sf.jlaunchpad.util.Checksum.generateChecksums() | STYLE | REC_CATCH_EXCEPTION | 465 |
Useless control flow in org.sf.jlaunchpad.util.Checksum.generateChecksums() | STYLE | UCF_USELESS_CONTROL_FLOW | 386 |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to $L6 in org.sf.jlaunchpad.util.ClassPathHacker.addResource(String, String) | STYLE | DLS_DEAD_LOCAL_STORE | 67 |
org.sf.jlaunchpad.util.ClassPathHacker.addResource(String, String) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block | BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 62 |
org.sf.jlaunchpad.util.ClassPathHacker.addURL(URL) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 32 |
Exception is caught when Exception is not thrown in org.sf.jlaunchpad.util.ClassPathHacker.addURL(URL) | STYLE | REC_CATCH_EXCEPTION | 36 |
Bug | Category | Details | Line |
---|---|---|---|
The class org.sf.jlaunchpad.util.ExitProtector$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 9-15 |
Bug | Category | Details | Line |
---|---|---|---|
Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 283 |
Bug | Category | Details | Line |
---|---|---|---|
org.sf.jlaunchpad.util.ReflectionUtil.getPrivateField(Object, Class, String) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 154 |
org.sf.jlaunchpad.util.ReflectionUtil.getPrivateField(Object, Class, String) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 158 |
org.sf.jlaunchpad.util.ReflectionUtil.invokePrivateMethod(Object, Object[], Class, String, Class[]) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 208 |
org.sf.jlaunchpad.util.ReflectionUtil.invokePrivateMethod(Object, Object[], Class, String, Class[]) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 212 |
org.sf.jlaunchpad.util.ReflectionUtil.setPrivateField(Object, Class, String, Object) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 180 |
org.sf.jlaunchpad.util.ReflectionUtil.setPrivateField(Object, Class, String, Object) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 184 |
Bug | Category | Details | Line |
---|---|---|---|
Hard coded reference to an absolute pathname in org.sf.jlaunchpad.util.SerializableUtil.serialize(Object) | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 41 |
Bug | Category | Details | Line |
---|---|---|---|
org.sf.jlaunchpad.util.TestUtils.addURL(Class) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 40 |