The following document contains the results of FindBugs
FindBugs Version is 2.0.3
Threshold is medium
Effort is min
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 |
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 | 406 | 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 | 419 | Medium |
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 | 432 | 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 | 440 | High |
org.apache.maven.jxr.JavaCodeTransform.VALID_URI_CHARS should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 155 | Medium |
org.apache.maven.jxr.JavaCodeTransform.VALID_URI_SCHEMES should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 149 | 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 | 420 | 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 | 1082-1083 | 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 | 1069-1070 | High |
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 |
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 |
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 | 218 | 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 | 224 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.jxr.util.SimpleWordTokenizer.BREAKERS should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 36 | Medium |
Nullcheck of line at line 52 of value previously dereferenced in org.apache.maven.jxr.util.SimpleWordTokenizer.tokenize(String) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.jxr.util.StringEntry defines compareTo(StringEntry) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 70-80 | Medium |