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
26 35 0 0

org.apache.juddi.v2.tck.TckBusinessService

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.v2.tck.TckBusinessService.saveServices(String, int, String, String, int, String) STYLE REC_CATCH_EXCEPTION 127 Medium

org.apache.juddi.v2.tck.TckValidator

Bug Category Details Line Priority
Dead store to elem1 in org.apache.juddi.v2.tck.TckValidator.checkInstanceDetails(InstanceDetails, InstanceDetails) STYLE DLS_DEAD_LOCAL_STORE 188 Medium
Possible null pointer dereference of doc1 on branch that might be infeasible in org.apache.juddi.v2.tck.TckValidator.compareOverviewDocs(OverviewDoc, OverviewDoc) STYLE NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE 226 Medium
Possible null pointer dereference of doc2 on branch that might be infeasible in org.apache.juddi.v2.tck.TckValidator.compareOverviewDocs(OverviewDoc, OverviewDoc) STYLE NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE 227 Medium

org.apache.juddi.v3.tck.Property

Bug Category Details Line Priority
org.apache.juddi.v3.tck.Property.JOE_PASSWORD isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 26 High
org.apache.juddi.v3.tck.Property.JOE_PUBLISHER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 25 High
org.apache.juddi.v3.tck.Property.MARY_PASSWORD isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 30 High
org.apache.juddi.v3.tck.Property.MARY_PUBLISHER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 29 High
org.apache.juddi.v3.tck.Property.RIFTSAW_PASSWORD isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 32 High
org.apache.juddi.v3.tck.Property.RIFTSAW_PUBLISHER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 31 High
org.apache.juddi.v3.tck.Property.ROOT_PASSWORD isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 22 High
org.apache.juddi.v3.tck.Property.ROOT_PUBLISHER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 21 High
org.apache.juddi.v3.tck.Property.SAM_PASSWORD isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 28 High
org.apache.juddi.v3.tck.Property.SAM_PUBLISHER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 27 High
org.apache.juddi.v3.tck.Property.TMODEL_PASSWORD isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 34 High
org.apache.juddi.v3.tck.Property.TMODEL_PUBLISHER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 33 High
org.apache.juddi.v3.tck.Property.UDDI_PASSWORD isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 24 High
org.apache.juddi.v3.tck.Property.UDDI_PUBLISHER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 23 High

org.apache.juddi.v3.tck.TckBusiness

Bug Category Details Line Priority
Dead store to validatingKey in org.apache.juddi.v3.tck.TckBusiness.signJAXBObject(Object) STYLE DLS_DEAD_LOCAL_STORE 261 Medium
Dead store to privateKey in org.apache.juddi.v3.tck.TckBusiness.verifySignedJAXBObject(Object) STYLE DLS_DEAD_LOCAL_STORE 283 Medium

org.apache.juddi.v3.tck.TckBusinessService

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.v3.tck.TckBusinessService.saveServices(String, int, String, String, int, String) STYLE REC_CATCH_EXCEPTION 142 Medium

org.apache.juddi.v3.tck.TckSigningUtil

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.juddi.v3.tck.TckSigningUtil.verifySignature(Element, PublicKey): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 112 High
org.apache.juddi.v3.tck.TckSigningUtil.verifySignature(Element, PublicKey) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 113 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.v3.tck.TckSigningUtil.verifySignature(Element, PublicKey) STYLE REC_CATCH_EXCEPTION 125 Medium

org.apache.juddi.v3.tck.TckSubscription

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.v3.tck.TckSubscription.getSamSyndicatorSubscriptionResultsWithChunkingOnFind(String) STYLE REC_CATCH_EXCEPTION 250 Medium
Write to static field org.apache.juddi.v3.tck.TckSubscription.FINDQUALIFIER_TMODEL_TOTAL from instance method org.apache.juddi.v3.tck.TckSubscription.getSamSyndicatorSubscriptionResultsWithChunkingOnFind(String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 206 Medium
Write to static field org.apache.juddi.v3.tck.TckSubscription.FINDQUALIFIER_TMODEL_TOTAL from instance method org.apache.juddi.v3.tck.TckSubscription.getSamSyndicatorSubscriptionResultsWithChunkingOnGet(String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 264 Medium
Unread field: org.apache.juddi.v3.tck.TckSubscription.security PERFORMANCE URF_UNREAD_FIELD 73 Medium

org.apache.juddi.v3.tck.TckSubscriptionListener

Bug Category Details Line Priority
Dead store to value in org.apache.juddi.v3.tck.TckSubscriptionListener.saveNotifierBinding(String, String, String, Integer) STYLE DLS_DEAD_LOCAL_STORE 99 Medium
Exception is caught when Exception is not thrown in org.apache.juddi.v3.tck.TckSubscriptionListener.saveService(String, String, Integer, String) STYLE REC_CATCH_EXCEPTION 166 Medium

org.apache.juddi.v3.tck.TckSubscriptionListenerRMI

Bug Category Details Line Priority
Unread field: org.apache.juddi.v3.tck.TckSubscriptionListenerRMI.LISTENER_SERVICE_KEY_RMI; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 28 Medium
Unread field: org.apache.juddi.v3.tck.TckSubscriptionListenerRMI.LISTENER_SERVICE_XML_RMI; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 27 Medium

org.apache.juddi.v3.tck.UDDISubscriptionListenerImpl

Bug Category Details Line Priority
org.apache.juddi.v3.tck.UDDISubscriptionListenerImpl.notificationCount should be package protected MALICIOUS_CODE MS_PKGPROTECT 53 Medium
org.apache.juddi.v3.tck.UDDISubscriptionListenerImpl.notifcationMap isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 54 High
Write to static field org.apache.juddi.v3.tck.UDDISubscriptionListenerImpl.notificationCount from instance method org.apache.juddi.v3.tck.UDDISubscriptionListenerImpl.notifySubscriptionListener(NotifySubscriptionListener) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 79 Medium