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 |
55 |
17 |
0 |
0 |
org.apache.maven.plugins.dependency.AbstractDependencyMojo
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.dependency.AbstractDependencyMojo.unpack(Artifact, String, File, String, String, String) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
222 |
Medium |
org.apache.maven.plugins.dependency.GetMojo
Bug |
Category |
Details |
Line |
Priority |
Unread field: org.apache.maven.plugins.dependency.GetMojo.packaging |
PERFORMANCE |
URF_UNREAD_FIELD |
119 |
Medium |
org.apache.maven.plugins.dependency.PurgeLocalRepositoryMojo$SnapshotsFilter
Bug |
Category |
Details |
Line |
Priority |
Should org.apache.maven.plugins.dependency.PurgeLocalRepositoryMojo$SnapshotsFilter be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
299-311 |
Medium |
org.apache.maven.plugins.dependency.fromConfiguration.AbstractFromConfigurationMojo
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(ProcessArtifactItemsRequest) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
160 |
Medium |
org.apache.maven.plugins.dependency.fromConfiguration.CopyMojo
Bug |
Category |
Details |
Line |
Priority |
Unread public/protected field: org.apache.maven.plugins.dependency.fromConfiguration.CopyMojo.useJvmChmod |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
84 |
Medium |
org.apache.maven.plugins.dependency.fromDependencies.BuildClasspathMojo
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.dependency.fromDependencies.BuildClasspathMojo.readClasspathFile(): new java.io.FileReader(File) |
I18N |
DM_DEFAULT_ENCODING |
377 |
High |
Found reliance on default encoding in org.apache.maven.plugins.dependency.fromDependencies.BuildClasspathMojo.storeClasspathFile(String, File): new java.io.FileWriter(File) |
I18N |
DM_DEFAULT_ENCODING |
335 |
High |
Null passed for non-null parameter of new java.util.ArrayList(Collection) in org.apache.maven.plugins.dependency.fromDependencies.BuildClasspathMojo.doExecute() |
CORRECTNESS |
NP_NULL_PARAM_DEREF |
194 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.dependency.fromDependencies.BuildClasspathMojo.storeClasspathFile(String, File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
330 |
Medium |
org.apache.maven.plugins.dependency.fromDependencies.CopyDependenciesMojo
Bug |
Category |
Details |
Line |
Priority |
Unread public/protected field: org.apache.maven.plugins.dependency.fromDependencies.CopyDependenciesMojo.useJvmChmod |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
98 |
Medium |
org.apache.maven.plugins.dependency.resolvers.AbstractResolveMojo
Bug |
Category |
Details |
Line |
Priority |
Unread public/protected field: org.apache.maven.plugins.dependency.resolvers.AbstractResolveMojo.useJvmChmod |
STYLE |
URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD |
86 |
Medium |
org.apache.maven.plugins.dependency.resolvers.ResolveDependenciesMojo$ModuleDescriptor
Bug |
Category |
Details |
Line |
Priority |
Should org.apache.maven.plugins.dependency.resolvers.ResolveDependenciesMojo$ModuleDescriptor be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
358-362 |
Medium |
org.apache.maven.plugins.dependency.resolvers.ResolvePluginsMojo
Bug |
Category |
Details |
Line |
Priority |
Useless object stored in variable resolvedArtifacts of method org.apache.maven.plugins.dependency.resolvers.ResolvePluginsMojo.resolvePluginArtifacts() |
STYLE |
UC_USELESS_OBJECT |
185 |
Medium |
org.apache.maven.plugins.dependency.tree.TreeMojo
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference of recommendedVersion in org.apache.maven.plugins.dependency.tree.TreeMojo.containsVersion(VersionRange, ArtifactVersion) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
475 |
Medium |
org.apache.maven.plugins.dependency.utils.DependencyUtil
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.dependency.utils.DependencyUtil.write(String, File, boolean, Log): new java.io.FileWriter(File, boolean) |
I18N |
DM_DEFAULT_ENCODING |
235 |
High |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.dependency.utils.DependencyUtil.write(String, File, boolean, Log) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
229 |
Medium |
org.apache.maven.plugins.dependency.utils.markers.SourcesFileMarkerHandler
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.createNewFile() ignored in org.apache.maven.plugins.dependency.utils.markers.SourcesFileMarkerHandler.setMarker() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
146 |
Medium |