FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
402700

org.deegree.console.Config

BugCategoryDetailsLinePriority
org.deegree.console.Config defines compareTo(Config) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS312Medium
org.deegree.console.Config.save() may fail to clean up java.io.OutputStream on checked exceptionEXPERIMENTALOBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE269Medium

org.deegree.console.ConfigManager

BugCategoryDetailsLinePriority
Class org.deegree.console.ConfigManager defines non-transient non-serializable instance field currentResourceManagerBAD_PRACTICESE_BAD_FIELDHigh
Class org.deegree.console.ConfigManager defines non-transient non-serializable instance field proxyConfigBAD_PRACTICESE_BAD_FIELDHigh

org.deegree.console.ResourceManagerMetadata2

BugCategoryDetailsLinePriority
org.deegree.console.ResourceManagerMetadata2 defines compareTo(ResourceManagerMetadata2) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS174Medium

org.deegree.console.WorkspaceBean

BugCategoryDetailsLinePriority
public static org.deegree.console.WorkspaceBean.getWsDownloadUrls() may expose internal representation by returning WorkspaceBean.WS_DOWNLOAD_URLSMALICIOUS_CODEMS_EXPOSE_REP175Medium

org.deegree.console.featurestore.FeatureStoreLoader

BugCategoryDetailsLinePriority
Class org.deegree.console.featurestore.FeatureStoreLoader defines non-transient non-serializable instance field fsBAD_PRACTICESE_BAD_FIELDMedium

org.deegree.console.featurestore.MappingWizardSQL

BugCategoryDetailsLinePriority
org.deegree.console.featurestore.MappingWizardSQL.getSelectedAppSchemaFiles() may expose internal representation by returning MappingWizardSQL.selectedAppSchemaFilesMALICIOUS_CODEEI_EXPOSE_REP197Medium
org.deegree.console.featurestore.MappingWizardSQL.setSelectedAppSchemaFiles(String[]) may expose internal representation by storing an externally mutable object into MappingWizardSQL.selectedAppSchemaFilesMALICIOUS_CODEEI_EXPOSE_REP2201Medium
org.deegree.console.featurestore.MappingWizardSQL.generateConfig() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION312Medium

org.deegree.console.featurestore.NamespaceBinding

BugCategoryDetailsLinePriority
org.deegree.console.featurestore.NamespaceBinding defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE72High
org.deegree.console.featurestore.NamespaceBinding.equals(Object) does not check for null argumentBAD_PRACTICENP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT72Medium

org.deegree.console.metadatastore.MetadataImporter

BugCategoryDetailsLinePriority
Class org.deegree.console.metadatastore.MetadataImporter defines non-transient non-serializable instance field msBAD_PRACTICESE_BAD_FIELDMedium
Class org.deegree.console.metadatastore.MetadataImporter defines non-transient non-serializable instance field taBAD_PRACTICESE_BAD_FIELDMedium

org.deegree.console.security.LogBean

BugCategoryDetailsLinePriority
Class org.deegree.console.security.LogBean defines non-transient non-serializable instance field passwordFileBAD_PRACTICESE_BAD_FIELDHigh

org.deegree.console.security.PasswordFile

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.console.security.PasswordFile.getCurrentContent(): new java.io.InputStreamReader(InputStream)I18NDM_DEFAULT_ENCODING68High
exceptional return value of java.io.File.mkdirs() ignored in org.deegree.console.security.PasswordFile.update(SaltedPassword)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE123Medium

org.deegree.console.security.SaltedPassword

BugCategoryDetailsLinePriority
org.deegree.console.security.SaltedPassword.getSalt() may expose internal representation by returning SaltedPassword.saltMALICIOUS_CODEEI_EXPOSE_REP93Medium
org.deegree.console.security.SaltedPassword.getSaltedAndHashedPassword() may expose internal representation by returning SaltedPassword.saltedAndHashedPasswordMALICIOUS_CODEEI_EXPOSE_REP89Medium
new org.deegree.console.security.SaltedPassword(String, byte[]) may expose internal representation by storing an externally mutable object into SaltedPassword.saltMALICIOUS_CODEEI_EXPOSE_REP272Medium
new org.deegree.console.security.SaltedPassword(byte[], byte[]) may expose internal representation by storing an externally mutable object into SaltedPassword.saltMALICIOUS_CODEEI_EXPOSE_REP264Medium
new org.deegree.console.security.SaltedPassword(byte[], byte[]) may expose internal representation by storing an externally mutable object into SaltedPassword.saltedAndHashedPasswordMALICIOUS_CODEEI_EXPOSE_REP263Medium
org.deegree.console.security.SaltedPassword defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE98High

org.deegree.console.util.EditBean

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.console.util.EditBean.saveXMLAndCloseGUI(): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING132High
Class org.deegree.console.util.EditBean defines non-transient non-serializable instance field mapBAD_PRACTICESE_BAD_FIELDHigh

org.deegree.console.util.RequestBean

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.delete() ignored in org.deegree.console.util.RequestBean.deleteRequest()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE351Medium
org.deegree.console.util.RequestBean.setRequests() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR551Medium