This project has retired. For details please refer to its Attic page.
jUDDI GUI WAR – FindBugs Bug Detector Report Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
17 30 0 0

Files

Class Bugs
org.apache.juddi.webconsole.AES 5
org.apache.juddi.webconsole.hub.PagableContainer 4
org.apache.juddi.webconsole.hub.UddiHub 16
org.apache.juddi.webconsole.hub.builders.Builders 2
org.apache.juddi.webconsole.hub.builders.SubscriptionHelper 1
org.apache.juddi.webconsole.resources.ResourceLoader 2

org.apache.juddi.webconsole.AES

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.juddi.webconsole.AES.DE(String, String): new String(byte[]) I18N DM_DEFAULT_ENCODING 88 High
Found reliance on default encoding in org.apache.juddi.webconsole.AES.EN(String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 77 High
The method name org.apache.juddi.webconsole.AES.Decrypt(String, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 149-160 Medium
The method name org.apache.juddi.webconsole.AES.Encrypt(String, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 123-133 Medium
The method name org.apache.juddi.webconsole.AES.ValidateKey(String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 99-110 Medium

org.apache.juddi.webconsole.hub.PagableContainer

Bug Category Details Line Priority
Unread public/protected field: org.apache.juddi.webconsole.hub.PagableContainer.displaycount STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 29 Medium
Unread public/protected field: org.apache.juddi.webconsole.hub.PagableContainer.offset STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 27 Medium
Unread public/protected field: org.apache.juddi.webconsole.hub.PagableContainer.renderedHtml STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 30 Medium
Unread public/protected field: org.apache.juddi.webconsole.hub.PagableContainer.totalrecords STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 28 Medium

org.apache.juddi.webconsole.hub.UddiHub

Bug Category Details Line Priority
org.apache.juddi.webconsole.hub.UddiHub.SignatureToReadable(SignatureType) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 2334 Medium
Dead store to subscriptions in org.apache.juddi.webconsole.hub.UddiHub.GetNewsFeed(XMLGregorianCalendar) STYLE DLS_DEAD_LOCAL_STORE 2830 Medium
Possible null pointer dereference of UddiHub.security in org.apache.juddi.webconsole.hub.UddiHub.GetToken() CORRECTNESS NP_NULL_ON_SOME_PATH 588 Medium
Possible null pointer dereference of UddiHub.security in org.apache.juddi.webconsole.hub.UddiHub.verifyLogin() CORRECTNESS NP_NULL_ON_SOME_PATH 255 Medium
Redundant nullcheck of fq, which is known to be non-null in org.apache.juddi.webconsole.hub.UddiHub.FindBusiness(UddiHub$CriteriaType, String, String, String[]) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1761 Medium
Redundant nullcheck of fq, which is known to be non-null in org.apache.juddi.webconsole.hub.UddiHub.FindService(UddiHub$CriteriaType, String, String, String[]) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1907 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.webconsole.hub.UddiHub.AddTmodelKenGenerator(String, String, String) STYLE REC_CATCH_EXCEPTION 1349 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.webconsole.hub.UddiHub.EnsureConfig() STYLE REC_CATCH_EXCEPTION 383 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.webconsole.hub.UddiHub.SignatureToReadable(SignatureType) STYLE REC_CATCH_EXCEPTION 2334 Medium
org.apache.juddi.webconsole.hub.UddiHub.HandleException(Exception) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1385 Medium
The field org.apache.juddi.webconsole.hub.UddiHub.properties is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium
Switch statement found in org.apache.juddi.webconsole.hub.UddiHub.FindBindingTemplateToHtml(UddiHub$CriteriaType, String, String, String[]) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1676-1696 Medium
Switch statement found in org.apache.juddi.webconsole.hub.UddiHub.FindBusiness(UddiHub$CriteriaType, String, String, String[]) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1768-1795 Medium
Switch statement found in org.apache.juddi.webconsole.hub.UddiHub.FindService(UddiHub$CriteriaType, String, String, String[]) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1912-1942 Medium
Switch statement found in org.apache.juddi.webconsole.hub.UddiHub.FindtModels(UddiHub$CriteriaType, String, String, String[]) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2001-2033 Medium
Unread field: org.apache.juddi.webconsole.hub.UddiHub.clientName; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 99 Medium

org.apache.juddi.webconsole.hub.builders.Builders

Bug Category Details Line Priority
Result of integer multiplication cast to long in org.apache.juddi.webconsole.hub.builders.Builders.BuildSubscriptionOptions(Map, Subscription) STYLE ICAST_INTEGER_MULTIPLY_CAST_TO_LONG 969 Medium
org.apache.juddi.webconsole.hub.builders.Builders.MapFilter(Map, String) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 68 Medium

org.apache.juddi.webconsole.hub.builders.SubscriptionHelper

Bug Category Details Line Priority
The method name org.apache.juddi.webconsole.hub.builders.SubscriptionHelper.ToHtmlOption(List) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 139-155 Medium

org.apache.juddi.webconsole.resources.ResourceLoader

Bug Category Details Line Priority
The method name org.apache.juddi.webconsole.resources.ResourceLoader.GetResource(String, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 71-83 Medium
The method name org.apache.juddi.webconsole.resources.ResourceLoader.GetResource(HttpSession, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 47-56 Medium