This project has retired. For details please refer to its Attic page.
cas-crawler – FindBugs Bug Detector Report

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
48 13 0 0

org.apache.oodt.cas.crawl.ProductCrawler

Bug Category Details Line Priority
org.apache.oodt.cas.crawl.ProductCrawler.DIR_FILTER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 56 High
org.apache.oodt.cas.crawl.ProductCrawler.FILE_FILTER isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 63 High
org.apache.oodt.cas.crawl.ProductCrawler.LOG isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 52 High

org.apache.oodt.cas.crawl.action.CrawlerAction

Bug Category Details Line Priority
org.apache.oodt.cas.crawl.action.CrawlerAction.LOG isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 45 High

org.apache.oodt.cas.crawl.action.EmailNotification

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.oodt.cas.crawl.action.EmailNotification.performAction(File, Metadata): new String(byte[]) I18N DM_DEFAULT_ENCODING 79 High
Found reliance on default encoding in org.apache.oodt.cas.crawl.action.EmailNotification.performAction(File, Metadata): String.getBytes() I18N DM_DEFAULT_ENCODING 79 High
Exception is caught when Exception is not thrown in org.apache.oodt.cas.crawl.action.EmailNotification.performAction(File, Metadata) STYLE REC_CATCH_EXCEPTION 99 Medium

org.apache.oodt.cas.crawl.action.MoveFile

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.oodt.cas.crawl.action.MoveFile.performAction(File, Metadata) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 66 Medium

org.apache.oodt.cas.crawl.action.TernaryAction

Bug Category Details Line Priority
Nullcheck of TernaryAction.failureAction at line 58 of value previously dereferenced in org.apache.oodt.cas.crawl.action.TernaryAction.performAction(File, Metadata) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 56 Medium
Nullcheck of TernaryAction.successAction at line 53 of value previously dereferenced in org.apache.oodt.cas.crawl.action.TernaryAction.performAction(File, Metadata) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 51 Medium

org.apache.oodt.cas.crawl.action.ToggleAction$Toggle

Bug Category Details Line Priority
Should org.apache.oodt.cas.crawl.action.ToggleAction$Toggle be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 76-85 Medium

org.apache.oodt.cas.crawl.cli.option.handler.CrawlerActionInfoHandler

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.oodt.cas.crawl.cli.option.handler.CrawlerActionInfoHandler.handleOption(CmdLineAction, CmdLineOptionInstance): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 44 High

org.apache.oodt.cas.crawl.cli.option.handler.PreconditionInfoHandler

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.oodt.cas.crawl.cli.option.handler.PreconditionInfoHandler.handleOption(CmdLineAction, CmdLineOptionInstance): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 44 High