FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
18 15 0 0

org.apache.maven.jxr.DirectoryIndexer

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.jxr.DirectoryIndexer.doVelocity(String, String, VelocityContext, VelocityEngine) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 284 Medium

org.apache.maven.jxr.JXR

Bug Category Details Line Priority
org.apache.maven.jxr.JXR.setExcludes(String[]) may expose internal representation by storing an externally mutable object into JXR.excludes MALICIOUS_CODE EI_EXPOSE_REP2 280 Medium
org.apache.maven.jxr.JXR.setIncludes(String[]) may expose internal representation by storing an externally mutable object into JXR.includes MALICIOUS_CODE EI_EXPOSE_REP2 293 Medium
Possible null pointer dereference in org.apache.maven.jxr.JXR.transform(Path, Path, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 255 Medium

org.apache.maven.jxr.JavaCodeTransform

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.jxr.JavaCodeTransform.getReader(Path, String): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 486 High
Found reliance on default encoding in org.apache.maven.jxr.JavaCodeTransform.getWriter(Path, String): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 471 High
Possible null pointer dereference in org.apache.maven.jxr.JavaCodeTransform.transform(Path, Path, Locale, String, String, Path, String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 448 Medium
The method readObject(ObjectInputStream) must be private to be invoked in serialization/deserialization of org.apache.maven.jxr.JavaCodeTransform CORRECTNESS SE_METHOD_MUST_BE_PRIVATE 970-971 High
The method writeObject(ObjectOutputStream) must be private to be invoked in serialization/deserialization of org.apache.maven.jxr.JavaCodeTransform CORRECTNESS SE_METHOD_MUST_BE_PRIVATE 957-958 High

org.apache.maven.jxr.ant.DirectoryScanner

Bug Category Details Line Priority
The class name org.apache.maven.jxr.ant.DirectoryScanner shadows the simple name of the superclass org.codehaus.plexus.util.DirectoryScanner BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 29-46 High

org.apache.maven.jxr.pacman.JavaFileImpl

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.jxr.pacman.JavaFileImpl.getReader(): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 197 High
Possible null pointer dereference in org.apache.maven.jxr.pacman.JavaFileImpl.getFilenameWithoutPathOrExtension(Path) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 155 Medium

org.apache.maven.jxr.pacman.PackageManager

Bug Category Details Line Priority
org.apache.maven.jxr.pacman.PackageManager.setExcludes(String[]) may expose internal representation by storing an externally mutable object into PackageManager.excludes MALICIOUS_CODE EI_EXPOSE_REP2 190 Medium
org.apache.maven.jxr.pacman.PackageManager.setIncludes(String[]) may expose internal representation by storing an externally mutable object into PackageManager.includes MALICIOUS_CODE EI_EXPOSE_REP2 196 Medium

org.apache.maven.jxr.util.SimpleWordTokenizer

Bug Category Details Line Priority
Nullcheck of line at line 57 of value previously dereferenced in org.apache.maven.jxr.util.SimpleWordTokenizer.tokenize(String) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 53 Medium