This project has retired. For details please refer to its Attic page.
jUDDI Client side Code – 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
108 22 0 0

Files

Class Bugs
org.apache.juddi.v3.client.config.UDDIClerk 5
org.apache.juddi.v3.client.cryptor.CryptorFactory 1
org.apache.juddi.v3.client.cryptor.DefaultCryptor 1
org.apache.juddi.v3.client.cryptor.DigSigUtil 4
org.apache.juddi.v3.client.cryptor.TransportSecurityHelper 3
org.apache.juddi.v3.client.mapping.AsyncRegistration 1
org.apache.juddi.v3.client.mapping.MapUDDIv3Tov2 1
org.apache.juddi.v3.client.mapping.wsdl.WSDL2UDDI 1
org.apache.juddi.v3.client.transport.wrapper.RequestHandler 1
org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService 2
org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService 1
org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService 1

org.apache.juddi.v3.client.config.UDDIClerk

Bug Category Details Line Priority
org.apache.juddi.v3.client.config.UDDIClerk.getClassWithAnnotations() may expose internal representation by returning UDDIClerk.classWithAnnotations MALICIOUS_CODE EI_EXPOSE_REP 173 Medium
org.apache.juddi.v3.client.config.UDDIClerk.getWsdls() may expose internal representation by returning UDDIClerk.wsdls MALICIOUS_CODE EI_EXPOSE_REP 1438 Medium
org.apache.juddi.v3.client.config.UDDIClerk.setClassWithAnnotations(String[]) may expose internal representation by storing an externally mutable object into UDDIClerk.classWithAnnotations MALICIOUS_CODE EI_EXPOSE_REP2 205 Medium
org.apache.juddi.v3.client.config.UDDIClerk.setWsdls(UDDIClerk$WSDL[]) may expose internal representation by storing an externally mutable object into UDDIClerk.wsdls MALICIOUS_CODE EI_EXPOSE_REP2 1449 Medium
Class org.apache.juddi.v3.client.config.UDDIClerk defines non-transient non-serializable instance field wsdls BAD_PRACTICE SE_BAD_FIELD Not available High

org.apache.juddi.v3.client.cryptor.CryptorFactory

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.juddi.v3.client.cryptor.CryptorFactory.loadKeyFromFile(String): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 141 High

org.apache.juddi.v3.client.cryptor.DefaultCryptor

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.juddi.v3.client.cryptor.DefaultCryptor.encrypt(String): String.getBytes() I18N DM_DEFAULT_ENCODING 101 High

org.apache.juddi.v3.client.cryptor.DigSigUtil

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.juddi.v3.client.cryptor.DigSigUtil.getSigningCertificatePublicKey(Element): String.getBytes() I18N DM_DEFAULT_ENCODING 465 High
Redundant nullcheck of ks, which is known to be non-null in org.apache.juddi.v3.client.cryptor.DigSigUtil.FindCertByDN(X500Principal) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1025 Medium
Redundant nullcheck of ks, which is known to be non-null in org.apache.juddi.v3.client.cryptor.DigSigUtil.FindCertByIssuer(String, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1060 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.v3.client.cryptor.DigSigUtil.signUddiEntity(Object) STYLE REC_CATCH_EXCEPTION 351 Medium

org.apache.juddi.v3.client.cryptor.TransportSecurityHelper

Bug Category Details Line Priority
Possible null pointer dereference of tmFact in org.apache.juddi.v3.client.cryptor.TransportSecurityHelper.applyTransportSecurity(BindingProvider) on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION 119 Medium
org.apache.juddi.v3.client.cryptor.TransportSecurityHelper.applyTransportSecurity(BindingProvider) may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 107 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.v3.client.cryptor.TransportSecurityHelper.applyTransportSecurity(BindingProvider) STYLE REC_CATCH_EXCEPTION 132 Medium

org.apache.juddi.v3.client.mapping.AsyncRegistration

Bug Category Details Line Priority
Return value of ServiceRegistrationResponse.getBusinessService() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 65 Medium

org.apache.juddi.v3.client.mapping.MapUDDIv3Tov2

Bug Category Details Line Priority
Switch statement found in org.apache.juddi.v3.client.mapping.MapUDDIv3Tov2.MapResults(List) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 766-777 Medium

org.apache.juddi.v3.client.mapping.wsdl.WSDL2UDDI

Bug Category Details Line Priority
org.apache.juddi.v3.client.mapping.wsdl.WSDL2UDDI.createWSDLBindingTModels(String, Map) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 468 Medium

org.apache.juddi.v3.client.transport.wrapper.RequestHandler

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.v3.client.transport.wrapper.RequestHandler.invoke(Element) STYLE REC_CATCH_EXCEPTION 197 Medium

org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService

Bug Category Details Line Priority
Dead store to version in org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService.inquire(Element, String, String) STYLE DLS_DEAD_LOCAL_STORE 113 Medium
Found reliance on default encoding in org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService.inquire(UDDIInquiryPortType, String): String.getBytes() I18N DM_DEFAULT_ENCODING 119 High

org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService

Bug Category Details Line Priority
Dead store to version in org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService.publish(Element, String, String) STYLE DLS_DEAD_LOCAL_STORE 111 Medium

org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService

Bug Category Details Line Priority
Dead store to version in org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService.secure(Element, String, String) STYLE DLS_DEAD_LOCAL_STORE 89 Medium