FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
362900

org.apache.maven.plugins.shade.DefaultShader

BugCategoryDetailsLinePriority
org.apache.maven.plugins.shade.DefaultShader.shade(Set, File, List, List, List) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE79Medium

org.apache.maven.plugins.shade.DefaultShader$RelocatorRemapper

BugCategoryDetailsLinePriority
Should org.apache.maven.plugins.shade.DefaultShader$RelocatorRemapper be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC345-425Medium

org.apache.maven.plugins.shade.filter.MinijarFilter

BugCategoryDetailsLinePriority
Method new org.apache.maven.plugins.shade.filter.MinijarFilter(MavenProject, Log) may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION63Medium

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

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.mojo.ArchiveFilter.artifactCORRECTNESSUWF_UNWRITTEN_FIELD37Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.ArchiveFilter.excludesCORRECTNESSUWF_UNWRITTEN_FIELD47Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.ArchiveFilter.includesCORRECTNESSUWF_UNWRITTEN_FIELD42Medium

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

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.mojo.ArtifactSet.excludesCORRECTNESSUWF_UNWRITTEN_FIELD38Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.ArtifactSet.includesCORRECTNESSUWF_UNWRITTEN_FIELD33Medium

org.apache.maven.plugins.shade.mojo.HelpMojo

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.mojo.HelpMojo.goalCORRECTNESSUWF_UNWRITTEN_FIELD76Medium

org.apache.maven.plugins.shade.mojo.PackageRelocation

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.mojo.PackageRelocation.excludesCORRECTNESSUWF_UNWRITTEN_FIELD55Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.PackageRelocation.includesCORRECTNESSUWF_UNWRITTEN_FIELD50Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.PackageRelocation.patternCORRECTNESSUWF_UNWRITTEN_FIELD40Medium
Unwritten field: org.apache.maven.plugins.shade.mojo.PackageRelocation.shadedPatternCORRECTNESSUWF_UNWRITTEN_FIELD45Medium

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

BugCategoryDetailsLinePriority
org.apache.maven.plugins.shade.mojo.ShadeMojo.replaceFile(File, File) forces garbage collection; extremely dubious except in benchmarking codePERFORMANCEDM_GC515High
Method org.apache.maven.plugins.shade.mojo.ShadeMojo.replaceFile(File, File) may fail to clean up java.io.OutputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION553Medium
Exception is caught when Exception is not thrown in org.apache.maven.plugins.shade.mojo.ShadeMojo.execute()STYLEREC_CATCH_EXCEPTION501Medium
org.apache.maven.plugins.shade.mojo.ShadeMojo.createDependencyReducedPom(Set) ignores exceptional return value of java.io.File.delete()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE828Medium

org.apache.maven.plugins.shade.pom.MavenJDOMWriter

BugCategoryDetailsLinePriority
Method org.apache.maven.plugins.shade.pom.MavenJDOMWriter.insertAtPreferredLocation(Element, Element, MavenJDOMWriter$Counter) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION298Medium
Method org.apache.maven.plugins.shade.pom.MavenJDOMWriter.findAndReplaceProperties(MavenJDOMWriter$Counter, Element, String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR143Medium

org.apache.maven.plugins.shade.pom.MavenJDOMWriter$Counter

BugCategoryDetailsLinePriority
Should org.apache.maven.plugins.shade.pom.MavenJDOMWriter$Counter be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC2197-2239Medium

org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer

BugCategoryDetailsLinePriority
Unread field: org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer.entriesPERFORMANCEURF_UNREAD_FIELD40Medium

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

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer.encodingCORRECTNESSUWF_UNWRITTEN_FIELD118Medium

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

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.resource.AppendingTransformer.resourceCORRECTNESSUWF_UNWRITTEN_FIELD44Medium

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

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer.resourceCORRECTNESSUWF_UNWRITTEN_FIELD39Medium

org.apache.maven.plugins.shade.resource.IncludeResourceTransformer

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.resource.IncludeResourceTransformer.fileCORRECTNESSUWF_UNWRITTEN_FIELD55Medium
Unwritten field: org.apache.maven.plugins.shade.resource.IncludeResourceTransformer.resourceCORRECTNESSUWF_UNWRITTEN_FIELD61Medium

org.apache.maven.plugins.shade.resource.ManifestResourceTransformer

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.resource.ManifestResourceTransformer.mainClassCORRECTNESSUWF_UNWRITTEN_FIELD95Medium
Unwritten field: org.apache.maven.plugins.shade.resource.ManifestResourceTransformer.manifestEntriesCORRECTNESSUWF_UNWRITTEN_FIELD100Medium

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

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.plugins.shade.resource.XmlAppendingTransformer.resourceCORRECTNESSUWF_UNWRITTEN_FIELD58Medium