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
768 8 0 0

org.apache.velocity.context.ProxyVMContext

Bug Category Details Line
Dead store to arg in org.apache.velocity.context.ProxyVMContext.remove(Object) STYLE DLS_DEAD_LOCAL_STORE 304

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 1210
Exception is caught when Exception is not thrown in org.apache.velocity.runtime.RuntimeInstance.loadDirective(String) STYLE REC_CATCH_EXCEPTION 953

org.apache.velocity.runtime.parser.Parser

Bug Category Details Line
Unused field: org.apache.velocity.runtime.parser.Parser.jj_semLA PERFORMANCE UUF_UNUSED_FIELD Not available

org.apache.velocity.runtime.parser.ParserTokenManager

Bug Category Details Line
Private method org.apache.velocity.runtime.parser.ParserTokenManager.jjCheckNAddStates(int) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 397-399

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 57

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 374
org.apache.velocity.util.StringUtils.fileContentsToString(String) ignores result of java.io.Reader.read(char[]) BAD_PRACTICE RR_NOT_CHECKED 371