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
60 15 0 79

org.apache.maven.plugins.shade.DefaultShader

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.shade.DefaultShader.shade(ShadeRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 117 Medium

org.apache.maven.plugins.shade.mojo.ArchiveFilter

Bug Category Details Line Priority
Unwritten field: org.apache.maven.plugins.shade.mojo.ArchiveFilter.artifact CORRECTNESS UWF_UNWRITTEN_FIELD 39 Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.ArchiveFilter.excludes CORRECTNESS UWF_UNWRITTEN_FIELD 49 Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.ArchiveFilter.includes CORRECTNESS UWF_UNWRITTEN_FIELD 44 Medium

org.apache.maven.plugins.shade.mojo.ArtifactSet

Bug Category Details Line Priority
Unwritten field: org.apache.maven.plugins.shade.mojo.ArtifactSet.excludes CORRECTNESS UWF_UNWRITTEN_FIELD 40 Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.ArtifactSet.includes CORRECTNESS UWF_UNWRITTEN_FIELD 35 Medium

org.apache.maven.plugins.shade.mojo.ShadeMojo

Bug Category Details Line Priority
org.apache.maven.plugins.shade.mojo.ShadeMojo.replaceFile(File, File) forces garbage collection; extremely dubious except in benchmarking code PERFORMANCE DM_GC 808 High
Exception is caught when Exception is not thrown in org.apache.maven.plugins.shade.mojo.ShadeMojo.execute() STYLE REC_CATCH_EXCEPTION 638 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.shade.mojo.ShadeMojo.rewriteDependencyReducedPomIfWeHaveReduction(List, boolean, List, Model) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1172 Medium

org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer.modifyOutputStream(JarOutputStream): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 224 High
Found reliance on default encoding in org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer.processResource(String, InputStream, List, long): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 126 High
Unwritten field: org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer.encoding CORRECTNESS UWF_UNWRITTEN_FIELD 120 Medium

org.apache.maven.plugins.shade.resource.AppendingTransformer

Bug Category Details Line Priority
Unwritten field: org.apache.maven.plugins.shade.resource.AppendingTransformer.resource CORRECTNESS UWF_UNWRITTEN_FIELD 46 Medium

org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer

Bug Category Details Line Priority
Unwritten field: org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer.resources CORRECTNESS UWF_UNWRITTEN_FIELD 48 Medium

org.apache.maven.plugins.shade.resource.XmlAppendingTransformer

Bug Category Details Line Priority
Unwritten field: org.apache.maven.plugins.shade.resource.XmlAppendingTransformer.resource CORRECTNESS UWF_UNWRITTEN_FIELD 61 Medium