FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
37 |
19 |
0 |
0 |
org.codehaus.classworlds.BytesURLConnection
Bug |
Category |
Details |
Line |
Priority |
new org.codehaus.classworlds.BytesURLConnection(URL, byte[]) may expose internal representation by storing an externally mutable object into BytesURLConnection.content |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
42 |
Medium |
org.codehaus.classworlds.BytesURLStreamHandler
Bug |
Category |
Details |
Line |
Priority |
new org.codehaus.classworlds.BytesURLStreamHandler(byte[]) may expose internal representation by storing an externally mutable object into BytesURLStreamHandler.content |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
39 |
Medium |
org.codehaus.classworlds.ClassRealmAdapter
Bug |
Category |
Details |
Line |
Priority |
org.codehaus.classworlds.ClassRealmAdapter defines equals and uses Object.hashCode() |
BAD_PRACTICE |
HE_EQUALS_USE_HASHCODE |
161-164 |
High |
org.codehaus.classworlds.ClassRealmReverseAdapter
org.codehaus.classworlds.DefaultClassRealm
Bug |
Category |
Details |
Line |
Priority |
org.codehaus.classworlds.Launcher
Bug |
Category |
Details |
Line |
Priority |
org.codehaus.plexus.classworlds.ClassWorld
Bug |
Category |
Details |
Line |
Priority |
instanceof will always return true in org.codehaus.plexus.classworlds.ClassWorld.closeIfJava7(ClassRealm), since all org.codehaus.plexus.classworlds.realm.ClassRealm are instances of java.io.Closeable |
STYLE |
BC_VACUOUS_INSTANCEOF |
110 |
Medium |
org.codehaus.plexus.classworlds.UrlUtils
Bug |
Category |
Details |
Line |
Priority |
org.codehaus.plexus.classworlds.UrlUtils.getURLs(URLClassLoader) is or uses a map or set of URLs, which can be a performance hog |
PERFORMANCE |
DMI_COLLECTION_OF_URLS |
59-66 |
High |
org.codehaus.plexus.classworlds.UrlUtils.getURLs(URLClassLoader) is or uses a map or set of URLs, which can be a performance hog |
PERFORMANCE |
DMI_COLLECTION_OF_URLS |
63 |
High |
org.codehaus.plexus.classworlds.launcher.ConfigurationParser
Bug |
Category |
Details |
Line |
Priority |
org.codehaus.plexus.classworlds.launcher.ConfigurationParser.parse(InputStream) may fail to close stream |
BAD_PRACTICE |
OS_OPEN_STREAM |
178 |
Medium |
Method org.codehaus.plexus.classworlds.launcher.ConfigurationParser.filter(String) concatenates strings using + in a loop |
PERFORMANCE |
SBSC_USE_STRINGBUFFER_CONCATENATION |
427 |
Medium |
org.codehaus.plexus.classworlds.launcher.Launcher
Bug |
Category |
Details |
Line |
Priority |
Null pointer dereference of System.out in org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(String[]) |
CORRECTNESS |
NP_ALWAYS_NULL |
423 |
Medium |
org.codehaus.plexus.classworlds.realm.ClassRealm
Bug |
Category |
Details |
Line |
Priority |
Method call in org.codehaus.plexus.classworlds.realm.ClassRealm.display() passes null for nonnull parameter of display(PrintStream) |
CORRECTNESS |
NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS |
304 |
Medium |
org.codehaus.plexus.classworlds.realm.Entry