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
100 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.doAddFileSet(FileSet) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 820 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 834 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 101 Medium

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

Bug Category Details Line Priority
org.apache.maven.plugin.assembly.archive.phase.AssemblyArchiverPhaseComparator.compare(AssemblyArchiverPhase, AssemblyArchiverPhase) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 42 Medium
org.apache.maven.plugin.assembly.archive.phase.AssemblyArchiverPhaseComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 23-42 Medium

org.apache.maven.plugin.assembly.archive.phase.FileItemAssemblyPhase$Deferred$1

Bug Category Details Line Priority
new org.apache.maven.plugin.assembly.archive.phase.FileItemAssemblyPhase$Deferred$1(FileItemAssemblyPhase$Deferred, File) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 196 Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.assembly.archive.phase.FileItemAssemblyPhase$Deferred$1.close() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 200 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(Assembly, Archiver, AssemblerConfigurationSource) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 91 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 51 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 115 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 113 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.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 441 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
Dead store to rootInterpolator rather than field with same name in org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute() STYLE DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD 461 High
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.getDescriptorReferences() may expose internal representation by returning AbstractAssemblyMojo.descriptorRefs MALICIOUS_CODE EI_EXPOSE_REP 672 Medium
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.getDescriptors() may expose internal representation by returning AbstractAssemblyMojo.descriptors MALICIOUS_CODE EI_EXPOSE_REP 682 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 821 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 826 Medium
Unread field: org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.classifier PERFORMANCE URF_UNREAD_FIELD 794 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 89 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 115 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 116 High