This project has retired. For details please refer to its Attic page.
jUDDI Services 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
11 17 0 0

Files

Class Bugs
org.apache.juddi.adminconsole.AES 7
org.apache.juddi.adminconsole.hub.JUDDIRequestsAsXML 1
org.apache.juddi.adminconsole.hub.UddiAdminHub 7
org.apache.juddi.adminconsole.resources.ResourceLoader 2

org.apache.juddi.adminconsole.AES

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.juddi.adminconsole.AES.DE(String, String): new String(byte[]) I18N DM_DEFAULT_ENCODING 89 High
Found reliance on default encoding in org.apache.juddi.adminconsole.AES.EN(String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 78 High
The method name org.apache.juddi.adminconsole.AES.Decrypt(String, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 150-161 Medium
The method name org.apache.juddi.adminconsole.AES.Encrypt(String, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 124-134 Medium
The method name org.apache.juddi.adminconsole.AES.ValidateKey(String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 100-111 Medium
Null passed for non-null parameter of DE(String, String) in org.apache.juddi.adminconsole.AES.Decrypt(String, String) CORRECTNESS NP_NULL_PARAM_DEREF 157 Medium
Null passed for non-null parameter of EN(String, String) in org.apache.juddi.adminconsole.AES.Encrypt(String, String) CORRECTNESS NP_NULL_PARAM_DEREF 131 Medium

org.apache.juddi.adminconsole.hub.JUDDIRequestsAsXML

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.adminconsole.hub.JUDDIRequestsAsXML.PrettyPrintXML(String) STYLE REC_CATCH_EXCEPTION 87 Medium

org.apache.juddi.adminconsole.hub.UddiAdminHub

Bug Category Details Line Priority
Dead store to d in org.apache.juddi.adminconsole.hub.UddiAdminHub.save_publisher(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 1421 Medium
The method name org.apache.juddi.adminconsole.hub.UddiAdminHub.GetJuddiClientConfig() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 351-352 Medium
The method name org.apache.juddi.adminconsole.hub.UddiAdminHub.SendAdvanced(Object, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 1566-1711 Medium
Possible null pointer dereference of UddiAdminHub.security in org.apache.juddi.adminconsole.hub.UddiAdminHub.verifyLogin() CORRECTNESS NP_NULL_ON_SOME_PATH 1554 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.adminconsole.hub.UddiAdminHub.PrettyPrintXML(String) STYLE REC_CATCH_EXCEPTION 1249 Medium
Unread field: org.apache.juddi.adminconsole.hub.UddiAdminHub.clientName; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 215 Medium
Unread field: org.apache.juddi.adminconsole.hub.UddiAdminHub.locale PERFORMANCE URF_UNREAD_FIELD 238 Medium

org.apache.juddi.adminconsole.resources.ResourceLoader

Bug Category Details Line Priority
The method name org.apache.juddi.adminconsole.resources.ResourceLoader.GetResource(String, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 67-79 Medium
The method name org.apache.juddi.adminconsole.resources.ResourceLoader.GetResource(HttpSession, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 48-52 Medium