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
7 13 0 0

org.universAAL.ri.servicegateway.GatewayPort

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.ri.servicegateway.GatewayPort.getUserAndPass(String): new String(byte[]) I18N DM_DEFAULT_ENCODING 109 High
org.universAAL.ontology.profile.User is incompatible with expected argument type String in org.universAAL.ri.servicegateway.GatewayPort.logout(User) CORRECTNESS GC_UNRELATED_TYPES 171 High

org.universAAL.ri.servicegateway.impl.Base64

Bug Category Details Line Priority
Dead store to dontBreakLines in org.universAAL.ri.servicegateway.impl.Base64.encodeObject(Serializable, int) STYLE DLS_DEAD_LOCAL_STORE 595 Medium
Found reliance on default encoding in org.universAAL.ri.servicegateway.impl.Base64.decode(String, int): String.getBytes() I18N DM_DEFAULT_ENCODING 1004 High
Found reliance on default encoding in org.universAAL.ri.servicegateway.impl.Base64.encodeBytes(byte[], int, int, int): new String(byte[]) I18N DM_DEFAULT_ENCODING 776 High
Found reliance on default encoding in org.universAAL.ri.servicegateway.impl.Base64.encodeBytes(byte[], int, int, int): new String(byte[], int, int) I18N DM_DEFAULT_ENCODING 815 High
Found reliance on default encoding in org.universAAL.ri.servicegateway.impl.Base64.encodeObject(Serializable, int): new String(byte[]) I18N DM_DEFAULT_ENCODING 640 High

org.universAAL.ri.servicegateway.impl.Base64$InputStream

Bug Category Details Line Priority
Unread field: org.universAAL.ri.servicegateway.impl.Base64$InputStream.alphabet PERFORMANCE URF_UNREAD_FIELD 1421 Medium

org.universAAL.ri.servicegateway.impl.Base64$OutputStream

Bug Category Details Line Priority
Unread field: org.universAAL.ri.servicegateway.impl.Base64$OutputStream.alphabet PERFORMANCE URF_UNREAD_FIELD 1637 Medium

org.universAAL.ri.servicegateway.osgi.Activator

Bug Category Details Line Priority
org.universAAL.ri.servicegateway.osgi.Activator.mcontext should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
Write to static field org.universAAL.ri.servicegateway.osgi.Activator.context from instance method org.universAAL.ri.servicegateway.osgi.Activator.start(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 52 Medium

org.universAAL.ri.servicegateway.osgi.GatewayPortTracker

Bug Category Details Line Priority
Inconsistent synchronization of org.universAAL.ri.servicegateway.osgi.GatewayPortTracker.httpService; locked 80% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 176 Medium

org.universAAL.ri.servicegateway.osgi.GatewayPortTracker$GatewayHttpContext

Bug Category Details Line Priority
Should org.universAAL.ri.servicegateway.osgi.GatewayPortTracker$GatewayHttpContext be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 60 Medium