FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
17 17 0 0

org.apache.maven.jxr.DirectoryIndexer

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.jxr.DirectoryIndexer.doVelocity(String, String, VelocityContext, VelocityEngine): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 295 High
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 290 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 408 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 421 Medium

org.apache.maven.jxr.JavaCodeTransform

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.jxr.JavaCodeTransform.transform(String, String, Locale, String, String, String, String, String): new java.io.FileReader(String) I18N DM_DEFAULT_ENCODING 433 High
Found reliance on default encoding in org.apache.maven.jxr.JavaCodeTransform.transform(String, String, Locale, String, String, String, String, String): new java.io.FileWriter(String) I18N DM_DEFAULT_ENCODING 441 High
org.apache.maven.jxr.JavaCodeTransform.VALID_URI_CHARS should be package protected MALICIOUS_CODE MS_PKGPROTECT 156 Medium
org.apache.maven.jxr.JavaCodeTransform.VALID_URI_SCHEMES should be package protected MALICIOUS_CODE MS_PKGPROTECT 150 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.jxr.JavaCodeTransform.transform(String, String, Locale, String, String, String, String, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 421 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 1096-1097 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 1083-1084 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-45 High

org.apache.maven.jxr.pacman.JavaFileImpl

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.jxr.pacman.JavaFileImpl.getTokenizer(): new java.io.FileReader(String) I18N DM_DEFAULT_ENCODING 186 High

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 221 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 227 Medium

org.apache.maven.jxr.util.SimpleWordTokenizer

Bug Category Details Line Priority
org.apache.maven.jxr.util.SimpleWordTokenizer.BREAKERS should be package protected MALICIOUS_CODE MS_PKGPROTECT 37 Medium

org.apache.maven.jxr.util.StringEntry

Bug Category Details Line Priority
org.apache.maven.jxr.util.StringEntry defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 70-88 Medium