FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
37 18 0 0

org.codehaus.classworlds.BytesURLConnection

Bug Category Details Line Priority
La méthode new org.codehaus.classworlds.BytesURLConnection(URL, byte[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.codehaus.classworlds.BytesURLConnection.content MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium

org.codehaus.classworlds.BytesURLStreamHandler

Bug Category Details Line Priority
La méthode new org.codehaus.classworlds.BytesURLStreamHandler(byte[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.codehaus.classworlds.BytesURLStreamHandler.content MALICIOUS_CODE EI_EXPOSE_REP2 39 Medium

org.codehaus.classworlds.ClassRealmAdapter

Bug Category Details Line Priority
org.codehaus.classworlds.ClassRealmAdapter définit equals() et utilise Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 161-164 High

org.codehaus.classworlds.ClassRealmReverseAdapter

Bug Category Details Line Priority
org.codehaus.classworlds.ClassRealmReverseAdapter.getInstance(ClassRealm) créé un chargeur de classes org.codehaus.classworlds.ClassRealmReverseAdapter en dehors d'un block doPrivileged MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 36 Medium
org.codehaus.classworlds.ClassRealmReverseAdapter.equals(Object) checks for operand being a ClassRealm BAD_PRACTICE EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS 147 Medium
org.codehaus.classworlds.ClassRealmReverseAdapter définit equals() et utilise Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 147-150 High

org.codehaus.classworlds.DefaultClassRealm

Bug Category Details Line Priority
new org.codehaus.classworlds.DefaultClassRealm(ClassWorld, String, ClassLoader) créé un chargeur de classes org.codehaus.plexus.classworlds.realm.ClassRealm en dehors d'un block doPrivileged MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 46 Medium

org.codehaus.classworlds.Launcher

Bug Category Details Line Priority
The class name org.codehaus.classworlds.Launcher shadows the simple name of the superclass org.codehaus.plexus.classworlds.launcher.Launcher BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 30-60 High

org.codehaus.plexus.classworlds.ClassWorld

Bug Category Details Line Priority
instanceof renverra toujours vrai dans org.codehaus.plexus.classworlds.ClassWorld.closeIfJava7(ClassRealm), puisque chaque java.io.Closeable est une instance de ClassWorld.java:[line 110] STYLE BC_VACUOUS_INSTANCEOF 110 Medium
org.codehaus.plexus.classworlds.ClassWorld.newRealm(String, ClassLoader) créé un chargeur de classes org.codehaus.plexus.classworlds.realm.ClassRealm en dehors d'un block doPrivileged MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 78 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
La méthode org.codehaus.plexus.classworlds.launcher.ConfigurationParser.parse(InputStream) peut ne pas fermer un flux BAD_PRACTICE OS_OPEN_STREAM 178 Medium
La méthode org.codehaus.plexus.classworlds.launcher.ConfigurationParser.filter(String) concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 427 Medium

org.codehaus.plexus.classworlds.launcher.Launcher

Bug Category Details Line Priority
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(String[]) may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 390 Medium

org.codehaus.plexus.classworlds.realm.Entry

Bug Category Details Line Priority
Equals method for org.codehaus.plexus.classworlds.realm.Entry assumes the argument is of type Entry BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 208 Medium
org.codehaus.plexus.classworlds.realm.Entry.equals(Object) ne vérifie pas la nullité d'un paramètre BAD_PRACTICE NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT 208-210 Medium
org.codehaus.plexus.classworlds.realm.Entry.compareTo(Entry) negates the return value of String.compareTo(String) BAD_PRACTICE RV_NEGATING_RESULT_OF_COMPARETO 187 Medium