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
91 30 0 0

org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver

Bug Category Details Line Priority
Possible null pointer dereference in org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.addArchivedFileSet(ArchivedFileSet) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 804 Medium
Possible null pointer dereference in org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.doAddFileSet(FileSet) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 876 Medium
Possible null pointer dereference in org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.doAddFileSet(FileSet) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 890 Medium
Suspicious comparison of Boolean references in org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.acceptFile(File) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 931 Medium

org.apache.maven.plugin.assembly.archive.archiver.PrefixedArchivedFileSet

Bug Category Details Line Priority
Possible null pointer dereference in org.apache.maven.plugin.assembly.archive.archiver.PrefixedArchivedFileSet.getPrefix() due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 91 Medium

org.apache.maven.plugin.assembly.archive.phase.RepositoryAssemblyPhase

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.assembly.archive.phase.RepositoryAssemblyPhase.execute(ResolvedAssembly, Archiver, AssemblerConfigurationSource) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 89 Medium

org.apache.maven.plugin.assembly.archive.task.AddArtifactTask

Bug Category Details Line Priority
org.apache.maven.plugin.assembly.archive.task.AddArtifactTask.DEFAULT_INCLUDES_ARRAY should be package protected MALICIOUS_CODE MS_PKGPROTECT 45 Medium

org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTask

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTask.addFilteredUnpackedArtifact(DependencySet, Artifact, MavenProject, Archiver, AssemblerConfigurationSource) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 236 Medium

org.apache.maven.plugin.assembly.filter.SimpleAggregatingDescriptorHandler

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugin.assembly.filter.SimpleAggregatingDescriptorHandler.readProperties(FileInfo): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 197 High
Found reliance on default encoding in org.apache.maven.plugin.assembly.filter.SimpleAggregatingDescriptorHandler.writePropertiesFile(): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 116 High
Unread field: org.apache.maven.plugin.assembly.filter.SimpleAggregatingDescriptorHandler.commentChars; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 62 Medium

org.apache.maven.plugin.assembly.format.ReaderFormatter$1

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugin.assembly.format.ReaderFormatter$1.transform(PlexusIoResource, InputStream): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 108 High

org.apache.maven.plugin.assembly.format.ReflectionProperties

Bug Category Details Line Priority
org.apache.maven.plugin.assembly.format.ReflectionProperties doesn't override java.util.Hashtable.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 725-754 Medium
Class org.apache.maven.plugin.assembly.format.ReflectionProperties defines non-transient non-serializable instance field project BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.maven.plugin.assembly.interpolation.AssemblyInterpolationException

Bug Category Details Line Priority
Unwritten field: org.apache.maven.plugin.assembly.interpolation.AssemblyInterpolationException.expression CORRECTNESS UWF_UNWRITTEN_FIELD 41 Medium

org.apache.maven.plugin.assembly.io.DefaultAssemblyReader

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.mergeComponentsWithMainAssembly(Assembly, File, AssemblerConfigurationSource): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 497 High

org.apache.maven.plugin.assembly.model.io.xpp3.AssemblyXpp3Reader

Bug Category Details Line Priority
Private method org.apache.maven.plugin.assembly.model.io.xpp3.AssemblyXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 159 Medium
Private method org.apache.maven.plugin.assembly.model.io.xpp3.AssemblyXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 247 Medium

org.apache.maven.plugin.assembly.model.io.xpp3.ComponentXpp3Reader

Bug Category Details Line Priority
Private method org.apache.maven.plugin.assembly.model.io.xpp3.ComponentXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 159 Medium
Private method org.apache.maven.plugin.assembly.model.io.xpp3.ComponentXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 247 Medium

org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo

Bug Category Details Line Priority
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.getDescriptorReferences() may expose internal representation by returning AbstractAssemblyMojo.descriptorRefs MALICIOUS_CODE EI_EXPOSE_REP 607 Medium
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.getDescriptors() may expose internal representation by returning AbstractAssemblyMojo.descriptors MALICIOUS_CODE EI_EXPOSE_REP 617 Medium
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.setDescriptorRefs(String[]) may expose internal representation by storing an externally mutable object into AbstractAssemblyMojo.descriptorRefs MALICIOUS_CODE EI_EXPOSE_REP2 756 Medium
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.setDescriptors(String[]) may expose internal representation by storing an externally mutable object into AbstractAssemblyMojo.descriptors MALICIOUS_CODE EI_EXPOSE_REP2 761 Medium
Unread field: org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.classifier PERFORMANCE URF_UNREAD_FIELD 729 Medium

org.apache.maven.plugin.assembly.mojos.HelpMojo

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

org.apache.maven.plugin.assembly.mojos.UnpackMojo

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.assembly.mojos.UnpackMojo.execute() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 98 Medium

org.apache.maven.plugin.assembly.utils.AssemblyFileUtils

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.assembly.utils.AssemblyFileUtils.verifyTempDirectoryAvailability(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 90 Medium

org.apache.maven.plugin.assembly.utils.LineEndingsUtils

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugin.assembly.utils.LineEndingsUtils.convertLineEndings(File, File, LineEndings, Boolean, String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 114 High
Found reliance on default encoding in org.apache.maven.plugin.assembly.utils.LineEndingsUtils.convertLineEndings(File, File, LineEndings, Boolean, String): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 115 High