FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
22 11 0 0

org.apache.maven.shared.filtering.AbstractFilterReaderLineEnding

Bug Category Details Line Priority
Redundant nullcheck of escapeString, which is known to be non-null in org.apache.maven.shared.filtering.AbstractFilterReaderLineEnding.setEscapeString(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 76 Medium

org.apache.maven.shared.filtering.BaseFilter

Bug Category Details Line Priority
Nullcheck of req at line 83 of value previously dereferenced in org.apache.maven.shared.filtering.BaseFilter.getDefaultFilterWrappers(AbstractMavenFilteringRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 80 High
Nullcheck of request at line 152 of value previously dereferenced in org.apache.maven.shared.filtering.BaseFilter.getDefaultFilterWrappers(AbstractMavenFilteringRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 80 High

org.apache.maven.shared.filtering.DefaultMavenFileFilter

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.shared.filtering.DefaultMavenFileFilter.getFileReader(String, File): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 185 High
Found reliance on default encoding in org.apache.maven.shared.filtering.DefaultMavenFileFilter.getFileWriter(String, File): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 169 High

org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.copyDirectoryLayout(File, File, Scanner) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 358 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources(MavenResourcesExecution) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 258 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.getDestinationFile(File, String, String, MavenResourcesExecution) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 291 Medium

org.apache.maven.shared.filtering.InterpolatorFilterReaderLineEnding

Bug Category Details Line Priority
Nullcheck of InterpolatorFilterReaderLineEnding.beginToken at line 264 of value previously dereferenced in org.apache.maven.shared.filtering.InterpolatorFilterReaderLineEnding.read() CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 237 Medium
org.apache.maven.shared.filtering.InterpolatorFilterReaderLineEnding.read() ignores result of java.io.Reader.skip(long) BAD_PRACTICE SR_NOT_CHECKED 257 Medium

org.apache.maven.shared.filtering.MultiDelimiterInterpolatorFilterReaderLineEnding

Bug Category Details Line Priority
org.apache.maven.shared.filtering.MultiDelimiterInterpolatorFilterReaderLineEnding.read() ignores result of org.apache.maven.shared.filtering.BoundedReader.skip(long) BAD_PRACTICE SR_NOT_CHECKED 297 Medium