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 |
29 |
9 |
0 |
0 |
org.apache.maven.plugins.checkstyle.AbstractCheckstyleReport
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.checkstyle.AbstractCheckstyleReport.getOutputStream(File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
586 |
Medium |
org.apache.maven.plugins.checkstyle.CheckstyleReportGenerator$ConfReference
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.plugins.checkstyle.CheckstyleReportGenerator$ConfReference defines compareTo(CheckstyleReportGenerator$ConfReference) and uses Object.equals() |
BAD_PRACTICE |
EQ_COMPARETO_USE_OBJECT_EQUALS |
853-858 |
Medium |
org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.getOutputStream(File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
750 |
Medium |
org.apache.maven.plugins.checkstyle.exec.DefaultCheckstyleExecutor
Bug |
Category |
Details |
Line |
Priority |
instanceof will always return true for all non-null values in org.apache.maven.plugins.checkstyle.exec.DefaultCheckstyleExecutor.executeCheckstyle(CheckstyleExecutorRequest), since all java.net.URLClassLoader are instances of java.io.Closeable |
STYLE |
BC_VACUOUS_INSTANCEOF |
252 |
Medium |
Found reliance on default encoding in org.apache.maven.plugins.checkstyle.exec.DefaultCheckstyleExecutor.executeCheckstyle(CheckstyleExecutorRequest): java.io.ByteArrayOutputStream.toString() |
I18N |
DM_DEFAULT_ENCODING |
267 |
High |
Found reliance on default encoding in org.apache.maven.plugins.checkstyle.exec.DefaultCheckstyleExecutor.getOverridingProperties(CheckstyleExecutorRequest): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
544 |
High |
org.apache.maven.plugins.checkstyle.rss.VelocityTemplate
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.checkstyle.rss.VelocityTemplate.generate(String, String, Context): new java.io.FileWriter(File) |
I18N |
DM_DEFAULT_ENCODING |
100 |
High |
org.apache.maven.plugins.checkstyle.rss.VelocityTemplate.generate(String, String, Context) may fail to clean up java.io.Writer on checked exception |
EXPERIMENTAL |
OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE |
100 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.checkstyle.rss.VelocityTemplate.generate(String, String, Context) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
97 |
Medium |