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.metadata.Metadata$Group defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 583-588 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.SerializableMetadata doesn't override Metadata.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.extractors.DataSourceMetExtractor.getMetadata(DataSource, String, String) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 99 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.extractors.ExternMetExtractor.extrMetadata(File) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.extractors.ExternalMetExtractorConfig.getArgList() may expose internal representation by returning ExternalMetExtractorConfig.argList | MALICIOUS_CODE | EI_EXPOSE_REP | 60 | Medium |
new org.apache.oodt.cas.metadata.extractors.ExternalMetExtractorConfig(String, String, String[]) may expose internal representation by storing an externally mutable object into ExternalMetExtractorConfig.argList | MALICIOUS_CODE | EI_EXPOSE_REP2 | 52 | Medium |
org.apache.oodt.cas.metadata.extractors.ExternalMetExtractorConfig.setArgList(String[]) may expose internal representation by storing an externally mutable object into ExternalMetExtractorConfig.argList | MALICIOUS_CODE | EI_EXPOSE_REP2 | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Boxing/unboxing to parse a primitive org.apache.oodt.cas.metadata.extractors.FilenameTokenConfig.getSubstringOffsetMet(File) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 95 | High |
org.apache.oodt.cas.metadata.extractors.FilenameTokenConfig.setConfig(String) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.extractors.FilenameTokenConfigReader.parseConfigFile(File) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 56 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.extractors.MetReaderConfigReader.parseConfigFile(File) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 50 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.extractors.MetReaderExtractor.reader isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 50 | High |
org.apache.oodt.cas.metadata.extractors.MetReaderExtractor.extrMetadata(File) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.extractors.TikaCmdLineMetExtractor.reader isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 59 | High |
org.apache.oodt.cas.metadata.extractors.TikaCmdLineMetExtractor.extrMetadata(File) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 80 | Medium |
Exception is caught when Exception is not thrown in org.apache.oodt.cas.metadata.extractors.TikaCmdLineMetExtractor.extrMetadata(File) | STYLE | REC_CATCH_EXCEPTION | 118 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.apache.oodt.cas.metadata.preconditions.PreConditionComparator.passes(File) | STYLE | REC_CATCH_EXCEPTION | 71 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.oodt.cas.metadata.util.PathUtils.DELIMITER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 52 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.oodt.cas.metadata.util.PathUtils$VarData be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 366-401 | Medium |