FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Low

Effort is Max

Summary

Classes Bugs Errors Missing Classes
791 9 0 0

org.apache.velocity.app.event.implement.IncludeNotFound

Bug Category Details Line
IncludeNotFound.context not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available

org.apache.velocity.runtime.RuntimeInstance

Bug Category Details Line
Redundant nullcheck of nodeTree, which is known to be non-null in org.apache.velocity.runtime.RuntimeInstance.evaluate(Context, Writer, String, Reader) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1308
Exception is caught when Exception is not thrown in org.apache.velocity.runtime.RuntimeInstance.loadDirective(String) STYLE REC_CATCH_EXCEPTION 1041

org.apache.velocity.runtime.directive.Block$Reference

Bug Category Details Line
org.apache.velocity.runtime.directive.Block$Reference.toString() may return null BAD_PRACTICE NP_TOSTRING_COULD_RETURN_NULL 174

org.apache.velocity.runtime.parser.node.ASTIndex

Bug Category Details Line
Unread field: org.apache.velocity.runtime.parser.node.ASTIndex.methodName; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 39

org.apache.velocity.runtime.parser.node.ASTStringLiteral

Bug Category Details Line
Dead store to prev in org.apache.velocity.runtime.parser.node.ASTStringLiteral.replaceQuotes(String, char) STYLE DLS_DEAD_LOCAL_STORE 237

org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory

Bug Category Details Line
Exception is caught when Exception is not thrown in org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(RuntimeServices, String) STYLE REC_CATCH_EXCEPTION 54

org.apache.velocity.util.StringUtils

Bug Category Details Line
Exception is caught when Exception is not thrown in org.apache.velocity.util.StringUtils.fileContentsToString(String) STYLE REC_CATCH_EXCEPTION 387
org.apache.velocity.util.StringUtils.fileContentsToString(String) ignores result of java.io.FileReader.read(char[]) BAD_PRACTICE RR_NOT_CHECKED 371