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
29 76 0 0

org.universAAL.ri.internetgateway.Activator

Bug Category Details Line Priority
Write to static field org.universAAL.ri.internetgateway.Activator.context from instance method org.universAAL.ri.internetgateway.Activator.start(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 43 Medium

org.universAAL.ri.internetgateway.InternetGateway

Bug Category Details Line Priority
Dead store to definition in org.universAAL.ri.internetgateway.InternetGateway.registerWebService(String) STYLE DLS_DEAD_LOCAL_STORE 39 Medium
Exception is caught when Exception is not thrown in org.universAAL.ri.internetgateway.InternetGateway.ping(String, int) STYLE REC_CATCH_EXCEPTION 74 Medium

org.universAAL.ri.restToolkit.ClientHttpRequest

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.ri.restToolkit.ClientHttpRequest.write(String): String.getBytes() I18N DM_DEFAULT_ENCODING 62 High
org.universAAL.ri.restToolkit.ClientHttpRequest.setParameter(String, File) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 261 Medium

org.universAAL.ri.restToolkit.RestClient

Bug Category Details Line Priority
Dead store to data in org.universAAL.ri.restToolkit.RestClient.getRequest(String, HashMap) STYLE DLS_DEAD_LOCAL_STORE 40 Medium
Found reliance on default encoding in org.universAAL.ri.restToolkit.RestClient.getRequest(String, HashMap): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 63 High
Exception is caught when Exception is not thrown in org.universAAL.ri.restToolkit.RestClient.getRequest(String, HashMap) STYLE REC_CATCH_EXCEPTION 70 Medium
org.universAAL.ri.restToolkit.RestClient.getRequest(String, HashMap) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 66 Medium
org.universAAL.ri.restToolkit.RestClient.postRequest(String, HashMap) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 89 Medium

org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser

Bug Category Details Line Priority
org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseXmlSchemaGroup_NEW(AxisService, XmlSchemaGroup, ParsedWSDLDefinition) uses the same code for two branches STYLE DB_DUPLICATE_BRANCHES 70 Medium
Possible null pointer dereference of containedCO in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseArrayType(AxisService, ComplexObject, QName, ParsedWSDLDefinition, XmlSchemaType, boolean) CORRECTNESS NP_NULL_ON_SOME_PATH 2594 Medium
Possible null pointer dereference of newObj2 in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseXMLSchemaChoiceElement(AxisService, XmlSchemaChoice, ComplexObject, ParsedWSDLDefinition, boolean) CORRECTNESS NP_NULL_ON_SOME_PATH 1329 Medium
Redundant nullcheck of abstractElem, which is known to be non-null in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseArrayType(AxisService, ComplexObject, QName, ParsedWSDLDefinition, XmlSchemaType, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2096 Medium
Redundant nullcheck of co1, which is known to be non-null in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseArrayType(AxisService, ComplexObject, QName, ParsedWSDLDefinition, XmlSchemaType, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2555 Medium
Redundant nullcheck of newObj2, which is known to be non-null in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseXMLSchemaChoiceElement(AxisService, XmlSchemaChoice, ComplexObject, ParsedWSDLDefinition, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1243 Medium
Redundant nullcheck of newObj21, which is known to be non-null in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseXMLSchemaChoiceElement(AxisService, XmlSchemaChoice, ComplexObject, ParsedWSDLDefinition, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1467 Medium
Redundant nullcheck of co1, which is known to be non-null in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseXmlSchemaAttributeGroup_NEW(AxisService, XmlSchemaAttributeGroup, ParsedWSDLDefinition) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 96 Medium
Nullcheck of newSimpleOrComplexObjectElement at line 696 of value previously dereferenced in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseXmlSchemaAllType(AxisService, XmlSchemaAll, ComplexObject, ParsedWSDLDefinition) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 696 Medium
Nullcheck of newObj1 at line 373 of value previously dereferenced in org.universAAL.ri.wsdlToolkit.axis2Parser.AdditionalTypesParser.parseXmlSchemaElement(AxisService, Object, ComplexObject, ParsedWSDLDefinition) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 163 Medium

org.universAAL.ri.wsdlToolkit.axis2Parser.ComplexTypesParser

Bug Category Details Line Priority
org.universAAL.ri.wsdlToolkit.axis2Parser.ComplexTypesParser.parsedComplexObjectsHashmap should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium

org.universAAL.ri.wsdlToolkit.axis2Parser.SimpleTypesParser

Bug Category Details Line Priority
Unchecked/unconfirmed cast from org.apache.ws.commons.schema.XmlSchemaType to org.apache.ws.commons.schema.XmlSchemaSimpleType in org.universAAL.ri.wsdlToolkit.axis2Parser.SimpleTypesParser.parseSimpleType(XmlSchemaElement, XmlSchemaType, NativeObject, ParsedWSDLDefinition, AxisService) STYLE BC_UNCONFIRMED_CAST 271 Medium
Redundant nullcheck of co1, which is known to be non-null in org.universAAL.ri.wsdlToolkit.axis2Parser.SimpleTypesParser.parseSimpleContent(AxisService, XmlSchemaSimpleContent, ComplexObject, ParsedWSDLDefinition) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 567 Medium
Nullcheck of simpleContent at line 425 of value previously dereferenced in org.universAAL.ri.wsdlToolkit.axis2Parser.SimpleTypesParser.parseSimpleContent(AxisService, XmlSchemaSimpleContent, ComplexObject, ParsedWSDLDefinition) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 424 High

org.universAAL.ri.wsdlToolkit.invocation.Axis1WebServiceInvoker

Bug Category Details Line Priority
Dead store to inputsAsObjectArray in org.universAAL.ri.wsdlToolkit.invocation.Axis1WebServiceInvoker.invokeWebService(URL, QName, WSOperationInput, WSOperation, ParsedWSDLDefinition) STYLE DLS_DEAD_LOCAL_STORE 53 Medium

org.universAAL.ri.wsdlToolkit.invocation.Axis2InvocationResultHandler_RPC

Bug Category Details Line Priority
Dead store to vec in org.universAAL.ri.wsdlToolkit.invocation.Axis2InvocationResultHandler_RPC.findTheArrayObjectNodesInTheResponseBody(MessageContext, NativeObject, ComplexObject) STYLE DLS_DEAD_LOCAL_STORE 452 High

org.universAAL.ri.wsdlToolkit.invocation.Axis2InvocationResultHandler_RpcEncoded

Bug Category Details Line Priority
org.universAAL.ri.wsdlToolkit.invocation.Axis2InvocationResultHandler_RpcEncoded.setArrayObjectValues(SOAPBody, ComplexObject, OMElementImpl) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 346 Medium
Redundant nullcheck of iter1, which is known to be non-null in org.universAAL.ri.wsdlToolkit.invocation.Axis2InvocationResultHandler_RpcEncoded.setArrayObjectValues(SOAPBody, ComplexObject, OMElementImpl) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 367 Medium

org.universAAL.ri.wsdlToolkit.invocation.Axis2WebServiceInvoker

Bug Category Details Line Priority
Dead store to valueForCO2 in org.universAAL.ri.wsdlToolkit.invocation.Axis2WebServiceInvoker.createOMElementForComplexObjectInput(SOAPFactory, ComplexObject, OMNamespace) STYLE DLS_DEAD_LOCAL_STORE 282 Medium
Possible null pointer dereference of theServiceClient in org.universAAL.ri.wsdlToolkit.invocation.Axis2WebServiceInvoker.invokeWebService(WSOperation, ParsedWSDLDefinition) on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION 113 Medium

org.universAAL.ri.wsdlToolkit.ioApi.NativeObject

Bug Category Details Line Priority
org.universAAL.ri.wsdlToolkit.ioApi.NativeObject defines equals(NativeObject) method and uses Object.equals(Object) CORRECTNESS EQ_SELF_USE_OBJECT 141 Medium
org.universAAL.ri.wsdlToolkit.ioApi.NativeObject defines equals and uses Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 141 Medium
Possible null pointer dereference of NativeObject.objectName in org.universAAL.ri.wsdlToolkit.ioApi.NativeObject.cloneTheNO() CORRECTNESS NP_NULL_ON_SOME_PATH 54 High
org.universAAL.ri.wsdlToolkit.ioApi.NativeObject.toString() concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 189 Medium

org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser

Bug Category Details Line Priority
Dead store to co in org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseTypeFromElementNodeOfXSD(Schema, Node, ComplexObject) STYLE DLS_DEAD_LOCAL_STORE 623 High
Call to javax.xml.namespace.QName.equals(String) in org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseSequenceOrChoiceNode(Schema, Node, int, ComplexObject) CORRECTNESS EC_UNRELATED_TYPES 269 High
org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.getExtendedTypeAsAComplexObject(Node, Schema) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 95 Medium
org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseDocumentType_Deprecated(Definition, QName, WSOperationInput, WSOperationOutput) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1436 Medium
org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseImportedXSDforLiteral(SchemaImpl, QName, WSOperationInput, WSOperationOutput, String) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1737 Medium
org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseIncludedXSDforLiteral(SchemaImpl, QName, WSOperationInput, WSOperationOutput) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1999 Medium
org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseSequenceOrChoiceNode(Schema, Node, int, ComplexObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 323 Medium
org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseTypeFromElementNodeOfXSD(Schema, Node, ComplexObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 640 Medium
org.universAAL.ri.wsdlToolkit.parser.DocumentStyleWSDLParser.parseTypeIterativeForXSDImport(Schema, String, int, boolean, ComplexObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 2297 Medium

org.universAAL.ri.wsdlToolkit.parser.LoggingOutputStream

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.ri.wsdlToolkit.parser.LoggingOutputStream.flush(): org.universAAL.ri.wsdlToolkit.parser.LoggingOutputStream.toString() I18N DM_DEFAULT_ENCODING 62 High

org.universAAL.ri.wsdlToolkit.parser.MitsosParser

Bug Category Details Line Priority
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.namespaces should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.namespacesOfXSDsAlreadyParsedForImports should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.nativeTypePrefix should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.parsedObjectsHashmap should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.targetNamespacePrefix should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.theWSDLDefinition should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
Exception is caught when Exception is not thrown in org.universAAL.ri.wsdlToolkit.parser.MitsosParser.parseOperation(WSOperation, Definition, Operation, String, String) STYLE REC_CATCH_EXCEPTION 1235 Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.parseExtElements(Definition, QName, NativeObject, ComplexObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 2109 Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.parseExtendedType(SchemaImpl, Node, int, ComplexObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 2573 Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.parseImportedXSD(SchemaImpl, QName, WSOperationInput, WSOperationOutput, NativeObject, ComplexObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 649 Medium
org.universAAL.ri.wsdlToolkit.parser.MitsosParser.parseTypeIterative(SchemaImpl, String, int, boolean, ComplexObject) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 2724 Medium

org.universAAL.ri.wsdlToolkit.parser.StdOutErrLevel

Bug Category Details Line Priority
org.universAAL.ri.wsdlToolkit.parser.StdOutErrLevel.STDOUT isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 39 High

org.universAAL.ri.wsdlToolkit.parser.WSDLParser

Bug Category Details Line Priority
Dead store to data in org.universAAL.ri.wsdlToolkit.parser.WSDLParser.pingURL(String) STYLE DLS_DEAD_LOCAL_STORE 742 Medium
Found reliance on default encoding in org.universAAL.ri.wsdlToolkit.parser.WSDLParser.pingURL(String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 747 High
org.universAAL.ri.wsdlToolkit.parser.WSDLParser.getDocumentation(String) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 322 Medium
Possible null pointer dereference of parsedDef in org.universAAL.ri.wsdlToolkit.parser.WSDLParser.parseWSDLwithAxis(String, boolean, boolean) CORRECTNESS NP_NULL_ON_SOME_PATH 144 Medium
Possible null pointer dereference of parsedDef in org.universAAL.ri.wsdlToolkit.parser.WSDLParser.parseWSDLwithAxis(String, boolean, boolean) CORRECTNESS NP_NULL_ON_SOME_PATH 170 Medium
Exception is caught when Exception is not thrown in org.universAAL.ri.wsdlToolkit.parser.WSDLParser.pingURL(String) STYLE REC_CATCH_EXCEPTION 750 Medium
Useless object stored in variable qNarray of method org.universAAL.ri.wsdlToolkit.parser.WSDLParser.fixComplexObjectPathIterative(ComplexObject, Vector, int) STYLE UC_USELESS_OBJECT 636 Medium
Useless object stored in variable qNarray of method org.universAAL.ri.wsdlToolkit.parser.WSDLParser.fixComplexObjectPathIterative(ComplexObject, Vector, int) STYLE UC_USELESS_OBJECT 687 Medium
Useless object stored in variable operQNarray of method org.universAAL.ri.wsdlToolkit.parser.WSDLParser.fixTheParserPaths(ParsedWSDLDefinition) STYLE UC_USELESS_OBJECT 484 Medium
Useless object stored in variable qNarray of method org.universAAL.ri.wsdlToolkit.parser.WSDLParser.fixTheParserPaths(ParsedWSDLDefinition) STYLE UC_USELESS_OBJECT 500 Medium
Useless object stored in variable qNarray of method org.universAAL.ri.wsdlToolkit.parser.WSDLParser.fixTheParserPaths(ParsedWSDLDefinition) STYLE UC_USELESS_OBJECT 530 Medium
Useless object stored in variable qNarray of method org.universAAL.ri.wsdlToolkit.parser.WSDLParser.fixTheParserPaths(ParsedWSDLDefinition) STYLE UC_USELESS_OBJECT 566 Medium
Useless object stored in variable qNarray of method org.universAAL.ri.wsdlToolkit.parser.WSDLParser.fixTheParserPaths(ParsedWSDLDefinition) STYLE UC_USELESS_OBJECT 598 Medium

org.universAAL.ri.wsdlToolkit.parser.WSDL_XSD_SchemaToolkit

Bug Category Details Line Priority
Dead store to theNodeNamespaceKey in org.universAAL.ri.wsdlToolkit.parser.WSDL_XSD_SchemaToolkit.getNodeOfType_ITERATIVE(String, Schema, String, Schema) STYLE DLS_DEAD_LOCAL_STORE 76 Medium
Possible null pointer dereference of nsSchema in org.universAAL.ri.wsdlToolkit.parser.WSDL_XSD_SchemaToolkit.getNodeOfType(String, Schema, String) CORRECTNESS NP_NULL_ON_SOME_PATH 346 Medium
Redundant nullcheck of importedOrIncludedSchema, which is known to be non-null in org.universAAL.ri.wsdlToolkit.parser.WSDL_XSD_SchemaToolkit.getNodeOfType_ITERATIVE(String, Schema, String, Schema) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 84 Medium
Redundant nullcheck of schemaImport which is known to be null in org.universAAL.ri.wsdlToolkit.parser.WSDL_XSD_SchemaToolkit.getTheImportedOrIncludedSchemaWithTheSpecificNS(Schema, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 658 Medium
Nullcheck of nameOfNode at line 317 of value previously dereferenced in org.universAAL.ri.wsdlToolkit.parser.WSDL_XSD_SchemaToolkit.getNodeOfType(String, Schema, String) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 309 Medium
Nullcheck of nsSchema at line 347 of value previously dereferenced in org.universAAL.ri.wsdlToolkit.parser.WSDL_XSD_SchemaToolkit.getNodeOfType(String, Schema, String) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 346 Medium
Useless condition: it's known that currentSchemaIsTheRightOne == false at this point STYLE UC_USELESS_CONDITION 639 High