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
6 9 0 0

org.universAAL.middleware.brokers.control.ControlBroker

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in org.universAAL.middleware.brokers.control.ControlBroker.requestToInstallPart(byte[], PeerCard, UAPPCard) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 581 Medium
org.universAAL.middleware.brokers.control.ControlBroker.prepareMatchingResponse(String, Map) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 751 Medium

org.universAAL.middleware.brokers.control.ControlBroker$Response

Bug Category Details Line Priority
Should org.universAAL.middleware.brokers.control.ControlBroker$Response be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 101 Medium

org.universAAL.middleware.brokers.control.ExceptionUtils

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.middleware.brokers.control.ExceptionUtils.stackTraceAsString(Exception): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 42 High
Found reliance on default encoding in org.universAAL.middleware.brokers.control.ExceptionUtils.stackTraceAsString(Exception): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 38 High

org.universAAL.middleware.brokers.control.FileUtils

Bug Category Details Line Priority
org.universAAL.middleware.brokers.control.FileUtils.createFileFromByte(ModuleContext, byte[], String, boolean) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 94 Medium
Exception is caught when Exception is not thrown in org.universAAL.middleware.brokers.control.FileUtils.createFileFromByte(ModuleContext, byte[], String, boolean) STYLE REC_CATCH_EXCEPTION 98 Medium
Exceptional return value of java.io.File.createNewFile() ignored in org.universAAL.middleware.brokers.control.FileUtils.createFileFromByte(ModuleContext, byte[], String, boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 92 Medium

org.universAAL.middleware.brokers.control.WaitForResponse

Bug Category Details Line Priority
Unread field: org.universAAL.middleware.brokers.control.WaitForResponse.timeout PERFORMANCE URF_UNREAD_FIELD 41 Medium