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 |
48 |
9 |
0 |
0 |
net.kozelka.contentcheck.expect.impl.ContentChecker
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in net.kozelka.contentcheck.expect.impl.ContentChecker.readApprovedContent(File): new java.io.FileReader(File) |
I18N |
DM_DEFAULT_ENCODING |
102 |
High |
net.kozelka.contentcheck.expect.impl.VendorFilter
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.delete() ignored in net.kozelka.contentcheck.expect.impl.VendorFilter.accept(String, InputStream) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
60 |
Medium |
net.kozelka.contentcheck.expect.util.ExpectUtils
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in net.kozelka.contentcheck.expect.util.ExpectUtils.generateListing(Collection, File): new java.io.FileWriter(File) |
I18N |
DM_DEFAULT_ENCODING |
24 |
High |
Exceptional return value of java.io.File.mkdirs() ignored in net.kozelka.contentcheck.expect.util.ExpectUtils.generateListing(Collection, File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
23 |
Medium |
net.kozelka.contentcheck.introspection.ZipArchiveIntrospectorStrategy
Bug |
Category |
Details |
Line |
Priority |
net.kozelka.contentcheck.introspection.ZipArchiveIntrospectorStrategy.getInputStream(File, String) may fail to close stream |
BAD_PRACTICE |
OS_OPEN_STREAM |
39 |
Medium |
net.kozelka.contentcheck.mojo.InitMojo
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in net.kozelka.contentcheck.mojo.InitMojo.execute() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
82 |
Medium |
net.kozelka.contentcheck.mojo.LicenseShow$CsvOutput
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in net.kozelka.contentcheck.mojo.LicenseShow$CsvOutput.output(Map): new java.io.FileWriter(File) |
I18N |
DM_DEFAULT_ENCODING |
52 |
High |
net.kozelka.contentcheck.mojo.LicenseShow$CsvOutput.output(Map) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
55 |
Medium |
net.kozelka.contentcheck.mojo.LicenseShowMojo$MavenLogOutput
Bug |
Category |
Details |
Line |
Priority |
net.kozelka.contentcheck.mojo.LicenseShowMojo$MavenLogOutput.output(Map) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
329 |
Medium |