The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.pge.PGETaskInstance.dumpMetadataIfRequested() may fail to clean up java.io.OutputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 273 | Medium |
org.apache.oodt.cas.pge.PGETaskInstance.writeFromMetadata(Metadata, String) may fail to clean up java.io.OutputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 489 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.pge.config.DynamicConfigFile.getArgs() may expose internal representation by returning DynamicConfigFile.args | MALICIOUS_CODE | EI_EXPOSE_REP | 63 | Medium |
new org.apache.oodt.cas.pge.config.DynamicConfigFile(String, String, Object[]) may expose internal representation by storing an externally mutable object into DynamicConfigFile.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
org.apache.oodt.cas.pge.config.DynamicConfigFile.setArgs(Object[]) may expose internal representation by storing an externally mutable object into DynamicConfigFile.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.pge.config.PgeConfig.setPropertyAdderCustomArgs(Object[]) may expose internal representation by storing an externally mutable object into PgeConfig.propertyAdderCustomArgs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 91 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.pge.config.RegExprOutputFiles.getArgs() may expose internal representation by returning RegExprOutputFiles.args | MALICIOUS_CODE | EI_EXPOSE_REP | 64 | Medium |
new org.apache.oodt.cas.pge.config.RegExprOutputFiles(String, String, PathUtilsNamingConvention, Object[]) may expose internal representation by storing an externally mutable object into RegExprOutputFiles.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.oodt.cas.pge.staging.FileStager.stageFiles(FileStagingInfo, PgeMetadata, Logger) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 59 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.pge.writers.CsvConfigFileWriter.writeCsvFile(String, List, List, String) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 131 | High |
Found reliance on default encoding in org.apache.oodt.cas.pge.writers.CsvConfigFileWriter.writeCsvFile(String, List, List, String): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 119 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.pge.writers.TextConfigFileWriter.writeTextFile(String, String) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 80 | High |
Found reliance on default encoding in org.apache.oodt.cas.pge.writers.TextConfigFileWriter.writeTextFile(String, String): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 71 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.pge.writers.VelocityMetadata doesn't override org.apache.oodt.cas.metadata.Metadata.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |