FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
145 14 0 0

eu.openanalytics.rsb.Util

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive eu.openanalytics.rsb.Util.getUriBuilder(UriInfo, HttpHeaders) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 257 High

eu.openanalytics.rsb.component.AdminResource

Bug Category Details Line Priority
Found reliance on default encoding in eu.openanalytics.rsb.component.AdminResource.putSystemConfiguration(InputStream): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 141 High

eu.openanalytics.rsb.component.DataDirectoriesResource

Bug Category Details Line Priority
Found reliance on default encoding in eu.openanalytics.rsb.component.DataDirectoriesResource.browsePath(String, String, HttpHeaders, UriInfo): new String(byte[]) I18N DM_DEFAULT_ENCODING 127 High
Found reliance on default encoding in eu.openanalytics.rsb.component.DataDirectoriesResource.browsePath(String, String, HttpHeaders, UriInfo): String.getBytes() I18N DM_DEFAULT_ENCODING 170 High
Found reliance on default encoding in eu.openanalytics.rsb.component.DataDirectoriesResource.setupRootMap(): String.getBytes() I18N DM_DEFAULT_ENCODING 81 High

eu.openanalytics.rsb.component.DirectoryDepositHandler

Bug Category Details Line Priority
eu.openanalytics.rsb.component.DirectoryDepositHandler.handleJob(Message) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 199 Medium

eu.openanalytics.rsb.component.EmailDepositHandler

Bug Category Details Line Priority
eu.openanalytics.rsb.component.EmailDepositHandler.addEmailAttachmentsToJob(Configuration$DepositEmailConfiguration, MimeMessage, MultiFilesJob) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 274 Medium

eu.openanalytics.rsb.component.JobProcessor

Bug Category Details Line Priority
eu.openanalytics.rsb.component.JobProcessor.uploadFileToR(RServi, File, Set) may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 344 Medium

eu.openanalytics.rsb.component.JobProcessor$3

Bug Category Details Line Priority
eu.openanalytics.rsb.component.JobProcessor$3.runOn(RServi) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 178 Medium

eu.openanalytics.rsb.component.RestResultProcessor

Bug Category Details Line Priority
Found reliance on default encoding in eu.openanalytics.rsb.component.RestResultProcessor.process(AbstractFunctionCallResult): String.getBytes() I18N DM_DEFAULT_ENCODING 62 High
eu.openanalytics.rsb.component.RestResultProcessor.process(MultiFilesResult) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 68 Medium

eu.openanalytics.rsb.component.ResultResource

Bug Category Details Line Priority
Found reliance on default encoding in eu.openanalytics.rsb.component.ResultResource.getEtag(PersistedResult): String.getBytes() I18N DM_DEFAULT_ENCODING 158 High

eu.openanalytics.rsb.data.FileCatalogManager

Bug Category Details Line Priority
Found reliance on default encoding in eu.openanalytics.rsb.data.FileCatalogManager.putCatalogFile(Configuration$CatalogSection, String, String, InputStream): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 154 High

eu.openanalytics.rsb.message.MultiFilesJob

Bug Category Details Line Priority
Found reliance on default encoding in eu.openanalytics.rsb.message.MultiFilesJob.buildErrorResult(Throwable, MessageSource): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 155 High