FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.2

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
28 10 0 0

org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport.getOutputStream(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 596 Medium

org.apache.maven.plugin.checkstyle.CheckstyleReportGenerator$ConfReference

Bug Category Details Line Priority
org.apache.maven.plugin.checkstyle.CheckstyleReportGenerator$ConfReference defines compareTo(CheckstyleReportGenerator$ConfReference) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 846-851 Medium

org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.getOutputStream(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 734 Medium

org.apache.maven.plugin.checkstyle.HelpMojo

Bug Category Details Line Priority
org.apache.maven.plugin.checkstyle.HelpMojo.build() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 68 Medium

org.apache.maven.plugin.checkstyle.exec.DefaultCheckstyleExecutor

Bug Category Details Line Priority
instanceof renverra toujours vrai dans org.apache.maven.plugin.checkstyle.exec.DefaultCheckstyleExecutor.executeCheckstyle(CheckstyleExecutorRequest), puisque chaque java.io.Closeable est une instance de DefaultCheckstyleExecutor.java:[line 259] STYLE BC_VACUOUS_INSTANCEOF 259 Medium
Found reliance on default encoding in org.apache.maven.plugin.checkstyle.exec.DefaultCheckstyleExecutor.executeCheckstyle(CheckstyleExecutorRequest): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 274 High
Found reliance on default encoding in org.apache.maven.plugin.checkstyle.exec.DefaultCheckstyleExecutor.getOverridingProperties(CheckstyleExecutorRequest): String.getBytes() I18N DM_DEFAULT_ENCODING 496 High

org.apache.maven.plugin.checkstyle.rss.VelocityTemplate

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugin.checkstyle.rss.VelocityTemplate.generate(String, String, Context): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 103 High
org.apache.maven.plugin.checkstyle.rss.VelocityTemplate.generate(String, String, Context) may fail to clean up java.io.Writer on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 103 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.checkstyle.rss.VelocityTemplate.generate(String, String, Context) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 100 Medium