The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.console.Config defines compareTo(Config) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 312 | Medium |
org.deegree.console.Config.save() may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 269 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.deegree.console.ConfigManager defines non-transient non-serializable instance field currentResourceManager | BAD_PRACTICE | SE_BAD_FIELD | High | |
Class org.deegree.console.ConfigManager defines non-transient non-serializable instance field proxyConfig | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.console.ResourceManagerMetadata2 defines compareTo(ResourceManagerMetadata2) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 174 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
public static org.deegree.console.WorkspaceBean.getWsDownloadUrls() may expose internal representation by returning WorkspaceBean.WS_DOWNLOAD_URLS | MALICIOUS_CODE | MS_EXPOSE_REP | 175 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.deegree.console.featurestore.FeatureStoreLoader defines non-transient non-serializable instance field fs | BAD_PRACTICE | SE_BAD_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.console.featurestore.MappingWizardSQL.getSelectedAppSchemaFiles() may expose internal representation by returning MappingWizardSQL.selectedAppSchemaFiles | MALICIOUS_CODE | EI_EXPOSE_REP | 197 | Medium |
org.deegree.console.featurestore.MappingWizardSQL.setSelectedAppSchemaFiles(String[]) may expose internal representation by storing an externally mutable object into MappingWizardSQL.selectedAppSchemaFiles | MALICIOUS_CODE | EI_EXPOSE_REP2 | 201 | Medium |
org.deegree.console.featurestore.MappingWizardSQL.generateConfig() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 312 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.console.featurestore.NamespaceBinding defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 72 | High |
org.deegree.console.featurestore.NamespaceBinding.equals(Object) does not check for null argument | BAD_PRACTICE | NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.deegree.console.metadatastore.MetadataImporter defines non-transient non-serializable instance field ms | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.deegree.console.metadatastore.MetadataImporter defines non-transient non-serializable instance field ta | BAD_PRACTICE | SE_BAD_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.deegree.console.security.LogBean defines non-transient non-serializable instance field passwordFile | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.console.security.PasswordFile.getCurrentContent(): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 68 | High |
exceptional return value of java.io.File.mkdirs() ignored in org.deegree.console.security.PasswordFile.update(SaltedPassword) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 123 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.console.security.SaltedPassword.getSalt() may expose internal representation by returning SaltedPassword.salt | MALICIOUS_CODE | EI_EXPOSE_REP | 93 | Medium |
org.deegree.console.security.SaltedPassword.getSaltedAndHashedPassword() may expose internal representation by returning SaltedPassword.saltedAndHashedPassword | MALICIOUS_CODE | EI_EXPOSE_REP | 89 | Medium |
new org.deegree.console.security.SaltedPassword(String, byte[]) may expose internal representation by storing an externally mutable object into SaltedPassword.salt | MALICIOUS_CODE | EI_EXPOSE_REP2 | 72 | Medium |
new org.deegree.console.security.SaltedPassword(byte[], byte[]) may expose internal representation by storing an externally mutable object into SaltedPassword.salt | MALICIOUS_CODE | EI_EXPOSE_REP2 | 64 | Medium |
new org.deegree.console.security.SaltedPassword(byte[], byte[]) may expose internal representation by storing an externally mutable object into SaltedPassword.saltedAndHashedPassword | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
org.deegree.console.security.SaltedPassword defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 98 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.console.util.EditBean.saveXMLAndCloseGUI(): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 132 | High |
Class org.deegree.console.util.EditBean defines non-transient non-serializable instance field map | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
exceptional return value of java.io.File.delete() ignored in org.deegree.console.util.RequestBean.deleteRequest() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 351 | Medium |
org.deegree.console.util.RequestBean.setRequests() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 551 | Medium |