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
157 73 0 0

org.apache.ws.scout.registry.AuthTokenSingleton

Bug Category Details Line Priority
Incorrect lazy initialization of static field org.apache.ws.scout.registry.AuthTokenSingleton.instance in org.apache.ws.scout.registry.AuthTokenSingleton.getToken(String) MT_CORRECTNESS LI_LAZY_INIT_STATIC 14-15 Medium

org.apache.ws.scout.registry.AuthTokenV3Singleton

Bug Category Details Line Priority
Incorrect lazy initialization of static field org.apache.ws.scout.registry.AuthTokenV3Singleton.instance in org.apache.ws.scout.registry.AuthTokenV3Singleton.getToken(String) MT_CORRECTNESS LI_LAZY_INIT_STATIC 14-15 Medium

org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl

Bug Category Details Line Priority
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 118 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 121 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 124 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 127 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 130 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 133 High
Possible null pointer dereference of token in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.clearPublisherAssertions(String, IRegistry) on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION 773 Medium
Redundant nullcheck of org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.objectFactory, which is known to be non-null in new org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl(RegistryService) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 102 Medium
Redundant nullcheck of keyResultArr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.deleteOperation(Collection, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 806 Medium
Redundant nullcheck of entityarr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.saveClassificationSchemes(Collection) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 336 Medium
Redundant nullcheck of entityarr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.saveConcepts(Collection) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 385 Medium
Redundant nullcheck of entityarr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.saveOrganizations(Collection) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 436 Medium
Class org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl defines non-transient non-serializable instance field log BAD_PRACTICE SE_BAD_FIELD Not available Medium
org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl is Serializable but its superclass doesn't define an accessible void constructor BAD_PRACTICE SE_NO_SUITABLE_CONSTRUCTOR 95-963 High

org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl

Bug Category Details Line Priority
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 117 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 120 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 123 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 126 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 129 High
Comparison of String parameter using == or != in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteObjects(Collection, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 132 High
Redundant nullcheck of org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.objectFactory, which is known to be non-null in new org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl(RegistryService) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 101 Medium
Redundant nullcheck of assertionStatusItemArr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.clearPublisherAssertions(String, IRegistryV3) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 736 Medium
Redundant nullcheck of keyResultArr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.deleteOperation(Collection, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 832 Medium
Redundant nullcheck of entityarr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.saveClassificationSchemes(Collection) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 335 Medium
Redundant nullcheck of entityarr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.saveConcepts(Collection) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 384 Medium
Redundant nullcheck of entityarr, which is known to be non-null in org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.saveOrganizations(Collection) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 434 Medium
Class org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl defines non-transient non-serializable instance field log BAD_PRACTICE SE_BAD_FIELD Not available Medium
org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl is Serializable but its superclass doesn't define an accessible void constructor BAD_PRACTICE SE_NO_SUITABLE_CONSTRUCTOR 95-992 High

org.apache.ws.scout.registry.BusinessQueryManagerImpl

Bug Category Details Line Priority
Load of known null value in org.apache.ws.scout.registry.BusinessQueryManagerImpl.mapFindQualifiers(Collection) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 997 Medium
Possible null pointer dereference of iter in org.apache.ws.scout.registry.BusinessQueryManagerImpl.findConcepts(Collection, Collection, Collection, Collection, Collection) CORRECTNESS NP_NULL_ON_SOME_PATH 544 Medium

org.apache.ws.scout.registry.BusinessQueryManagerV3Impl

Bug Category Details Line Priority
Possible null pointer dereference of iter in org.apache.ws.scout.registry.BusinessQueryManagerV3Impl.findConcepts(Collection, Collection, Collection, Collection, Collection) CORRECTNESS NP_NULL_ON_SOME_PATH 516 Medium

org.apache.ws.scout.registry.ConnectionImpl

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive new org.apache.ws.scout.registry.ConnectionImpl(Properties) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 61 High
Class org.apache.ws.scout.registry.ConnectionImpl defines non-transient non-serializable instance field manager BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.apache.ws.scout.registry.ConnectionImpl defines non-transient non-serializable instance field registry BAD_PRACTICE SE_BAD_FIELD Not available Medium
org.apache.ws.scout.registry.RegistryImpl stored into non-transient field ConnectionImpl.registry BAD_PRACTICE SE_BAD_FIELD_STORE 96 High
org.apache.ws.scout.registry.RegistryV3Impl stored into non-transient field ConnectionImpl.registry BAD_PRACTICE SE_BAD_FIELD_STORE 94 High

org.apache.ws.scout.registry.RegistryServiceImpl

Bug Category Details Line Priority
Comparison of String parameter using == or != in org.apache.ws.scout.registry.RegistryServiceImpl.getBulkResponse(String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 112 High

org.apache.ws.scout.registry.RegistryV3Exception

Bug Category Details Line Priority
Nullcheck of ei at line 162 of value previously dereferenced in new org.apache.ws.scout.registry.RegistryV3Exception(String, int, String) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 162 Medium

org.apache.ws.scout.registry.RegistryV3Impl

Bug Category Details Line Priority
Dead store to asr in org.apache.ws.scout.registry.RegistryV3Impl.getAssertionStatusReport(String, String) STYLE DLS_DEAD_LOCAL_STORE 821 Medium

org.apache.ws.scout.registry.infomodel.AssociationImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.AssociationImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Comparison of String objects using == or != in org.apache.ws.scout.registry.infomodel.AssociationImpl.getKey() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 117 Medium

org.apache.ws.scout.registry.infomodel.ClassificationImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.ClassificationImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.ClassificationSchemeImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.ClassificationSchemeImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.ConceptImpl

Bug Category Details Line Priority
new org.apache.ws.scout.registry.infomodel.ConceptImpl(LifeCycleManager) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 37 Medium
org.apache.ws.scout.registry.infomodel.ConceptImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.ExternalIdentifierImpl

Bug Category Details Line Priority
new org.apache.ws.scout.registry.infomodel.ExternalIdentifierImpl(LifeCycleManager) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 36 Medium
new org.apache.ws.scout.registry.infomodel.ExternalIdentifierImpl(LifeCycleManager, ClassificationScheme, InternationalString, String) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 36 Medium
org.apache.ws.scout.registry.infomodel.ExternalIdentifierImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.ExternalLinkImpl

Bug Category Details Line Priority
new org.apache.ws.scout.registry.infomodel.ExternalLinkImpl(LifeCycleManager) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 35 Medium
org.apache.ws.scout.registry.infomodel.ExternalLinkImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.OrganizationImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.OrganizationImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.RegistryObjectImpl

Bug Category Details Line Priority
Unwritten field: org.apache.ws.scout.registry.infomodel.RegistryObjectImpl.submittingOrganization CORRECTNESS UWF_UNWRITTEN_FIELD 287 Medium

org.apache.ws.scout.registry.infomodel.ServiceBindingImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.ServiceBindingImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.ServiceImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.ServiceImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.SpecificationLinkImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.SpecificationLinkImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.registry.infomodel.UserImpl

Bug Category Details Line Priority
org.apache.ws.scout.registry.infomodel.UserImpl doesn't override RegistryObjectImpl.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.ws.scout.transport.RMITransport

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.ws.scout.transport.RMITransport.send(Element, URI) STYLE REC_CATCH_EXCEPTION 91 Medium

org.apache.ws.scout.util.ScoutJaxrUddiHelper

Bug Category Details Line Priority
Dead store to barr in org.apache.ws.scout.util.ScoutJaxrUddiHelper.getBusinessEntityFromJAXROrg(Organization) STYLE DLS_DEAD_LOCAL_STORE 517 Medium
Dead store to carr in org.apache.ws.scout.util.ScoutJaxrUddiHelper.getBusinessEntityFromJAXROrg(Organization) STYLE DLS_DEAD_LOCAL_STORE 568 Medium
Dead store to addarr in org.apache.ws.scout.util.ScoutJaxrUddiHelper.getContactFromJAXRUser(User) STYLE DLS_DEAD_LOCAL_STORE 668 Medium
Dead store to emailarr in org.apache.ws.scout.util.ScoutJaxrUddiHelper.getContactFromJAXRUser(User) STYLE DLS_DEAD_LOCAL_STORE 670 Medium
Dead store to phonearr in org.apache.ws.scout.util.ScoutJaxrUddiHelper.getContactFromJAXRUser(User) STYLE DLS_DEAD_LOCAL_STORE 669 Medium
Possible null pointer dereference of iname in org.apache.ws.scout.util.ScoutJaxrUddiHelper.getCategoryBagFromClassifications(Collection) CORRECTNESS NP_NULL_ON_SOME_PATH 831 Medium

org.apache.ws.scout.util.ScoutJaxrUddiV3Helper

Bug Category Details Line Priority
Dead store to barr in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getBusinessEntityFromJAXROrg(Organization) STYLE DLS_DEAD_LOCAL_STORE 534 Medium
Dead store to carr in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getBusinessEntityFromJAXROrg(Organization) STYLE DLS_DEAD_LOCAL_STORE 585 Medium
Dead store to addarr in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getContactFromJAXRUser(User) STYLE DLS_DEAD_LOCAL_STORE 685 Medium
Dead store to emailarr in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getContactFromJAXRUser(User) STYLE DLS_DEAD_LOCAL_STORE 687 Medium
Dead store to phonearr in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getContactFromJAXRUser(User) STYLE DLS_DEAD_LOCAL_STORE 686 Medium
Dead store to s in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getTModelFromJAXRClassificationScheme(ClassificationScheme) STYLE DLS_DEAD_LOCAL_STORE 418 Medium
Dead store to sl1 in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getTModelFromJAXRConcept(Concept) STYLE DLS_DEAD_LOCAL_STORE 459 Medium
Possible null pointer dereference of iname in org.apache.ws.scout.util.ScoutJaxrUddiV3Helper.getCategoryBagFromClassifications(Collection) CORRECTNESS NP_NULL_ON_SOME_PATH 851 Medium