The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Max
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 808 | 19 | 0 | 0 |
| Bug | Category | Details | Line |
|---|---|---|---|
| De.bug.IN_WHEN should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 7 |
| De.bug.ON should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 6 |
| De.bug.TAB should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 9 |
| De.bug.DEFAULT_TAB isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 8 |
| De.bug.INSTANCE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 5 |
| The class name De.bug doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 5-146 |
| Method De.bug.toString(Object) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 32 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class name De.bug$bugException doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 149 |
| Bug | Category | Details | Line |
|---|---|---|---|
| IncludeNotFound.context not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| 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 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.velocity.runtime.directive.Block$Reference.toString() may return null | BAD_PRACTICE | NP_TOSTRING_COULD_RETURN_NULL | 174 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Read of unwritten field scope in org.apache.velocity.runtime.directive.Scope$Info.getDepth() | CORRECTNESS | NP_UNWRITTEN_FIELD | 183 |
| Unwritten field: org.apache.velocity.runtime.directive.Scope$Info.scope | CORRECTNESS | UWF_UNWRITTEN_FIELD | 183 |
| 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 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to prev in org.apache.velocity.runtime.parser.node.ASTStringLiteral.replaceQuotes(String) | STYLE | DLS_DEAD_LOCAL_STORE | 231 |
| 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 |
| 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 |